ABOUT ME

-

Today
-
Yesterday
-
Total
-
  • Mach3 Serial Protocol
    카테고리 없음 2020. 2. 19. 16:24

    DescriptionI am looking to get cncjs to control a pokeys CNC control board. They have alot of documentation on how to interface their board with many softwares and wanted to see if cncjs could adapt to use this board. It is an incredible board that has a massivly versitle set of use cases.Here is a link to the control board, they have alot of information on their site. Thanks everyone!Versions.

    CNCjs: 1.9.x. Node.js: 6.x.

    Mach3 Serial Protocol Manual

    NPM: 5.xHow Do You Install CNCjs?. NPM. Download the CNCjs Desktop ApplicationCNC Controller. Grbl.

    Smoothieware. TinyG/g2coreHardware. Raspberry Pi.

    Desktop or Laptop. Mobile DeviceOperating System.

    Mach3 Cnc

    Not Applicable. Windows. Mac.

    Linux. I read the PoKeys protocol docs. I am very impressed.

    Mach3 Serial Protocol

    They have done a very professional job of implementing a highly-featured Ethernet and/or USB connected control engine. It is a big improvement over the Arduino-derived serial controllers (GRBL, etc) that CNCjs supports. But, having seen it, my estimate of the difficulty of adding CNCjs support for it has increased.

    Mach3 Serial Protocol Free

    CNCjs is essentially a 'GCode sender' program, delegating the job of GCode interpretation and things like corner planning to the controller. The PoKeys device splits the software responsibility differently, essentially at the Mach 3 'pulsing engine' interface point. So a fair amount of code would have to be added to CNCjs to implement a controller with a different kind of interface.

    It would be do-able, but a lot of work and testing. Thanks so much for the comments. Ever since coming across the Pokeys boards I have been blown away by their functionality, and am trying to find a way to design a control software for the boards that bypasses the restrictions of mach 3 and fully integrates the tools that pokeys can offer. I believe that I will begin more research on what exactly would need to be done to make such a software as that would really further the cnc space. I have designed a PCB that directly integrates with the pokeys board and allows control of a CNC Plasma machine. Currently it is controlled by a skinned version of mach 3, but I very much so want to make a modular software that integrates this boards abilities. Thanks for the comments and if you have any ideas let me know!

    How would the arduino communicate with the pokeys board? It seems that the pokeys boards speak via ethernet or USB, and arduinos typically have neither an Ethernet nor a host mode USB.Maybe LinuxCNC could be modified to talk to PoKeys.Is there any documentation for how to run other software on the PoKeys boards, or to write new plugins?

    I couldn't find any info on their website. It might be possible to inject the GCode interpreter from Marlin 2.0 into the PoKeys software. If I had enough time I'm sure I could crack that nut, but the difficulty could range from easy to really really hard depending on whether they support user-written plugins.Do you have a budget for this? Pokeys has an interface that they call poblocks. It is basically a visual based coding platform where you can drag and drop functions, as well as make any function you like. Through this interface you can write programs that can fully control all of the movement functions of the board. With the arduino communicating via i2c with poblocks you can use an arduino to directly control any movement of the board.

    This can be implemented easily to move to any position at a set speed and acceleration, all through poblocks. Any integer, or rather any register on the poblocks board is available to read and write from with an arduino, functions, or anything you really could think of through the poblocks interface. I think that this method would be a high speed viable solution. If the arduino could interpret the gcode coming from cncjs, then it could send the direct movement commands to pokeys very easily through this mechanism.

    I have tested this with code that is currently running my machines Z axis depending on some sensor values that are read and interpreted by an Arduino. The arduino can send the movement info over i2c, and the pokeys board listens and maps the incoming value to its motion control system.

    It has proven to be a very low latency solution. From my understanding mach 3 is doing something very similar, it is sending a constantly changing target position to pokeys and the pokeys motion controller interprets that target and moves the motors accordingly.

    I would be tempted to use Marlin 2.0 running on a Teensy or ESP32 or some other 32-bit chip, since AVRs are pretty much out of memory if you look at them sideways. As to whether the values are 'easily available', it depends on how good a programmer you are.

    All of these controller firmwares are intended to control steppers so they are optimized around the difficult problem of mapping GCode into stepping via kinematics. The relevant positions and speeds are present at some level, but teasing it out of the overall framework can be gnarly.

    Popular serial cnc of Good Quality and at Affordable Prices You can Buy on AliExpress.We believe in helping you find the product that is right for you. AliExpress carries wide variety of products, so you can find just what you’re looking for – and maybe something you never even imagined along the way.If you are interested in serial cnc, AliExpress has found 267 related results, so you can compare and shop! Try finding the one that is right for you by choosing the price range, brand, or specifications that meet your needs.

Designed by Tistory.