User Tools

Site Tools


plc:motion_commands_from_plc

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Next revisionBoth sides next revision
plc:motion_commands_from_plc [2019/12/03 15:16] ivanplc:motion_commands_from_plc [2020/12/15 09:11] ivan
Line 18: Line 18:
     * bit 5 - C axis     * bit 5 - C axis
   * **distance** - distance to go - integer value in 0.01 units (mm or inch depends on CNC setup)   * **distance** - distance to go - integer value in 0.01 units (mm or inch depends on CNC setup)
 +
 +NOTE: Use the bit conversion:
 +
 +^ bit ^ converted value ^
 +| bit 0 | 0x01 |
 +| bit 1 | 0x02 |
 +| bit 2 | 0x04 |
 +| bit 3 | 0x08 |
 +| bit 4 | 0x10 |
 +| bit 5 | 0x20 |
  
 Examples:<code c>g0moveA(0,1,1000);// Move axis X to 10mm from current position (incremental) Examples:<code c>g0moveA(0,1,1000);// Move axis X to 10mm from current position (incremental)
plc/motion_commands_from_plc.txt · Last modified: 2024/02/21 13:58 by ivan

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki