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 revision Previous revision
Last revision Both sides next revision
plc:motion_commands_from_plc [2019/12/03 15:16]
ivan
plc:motion_commands_from_plc [2020/12/15 08:52]
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 |
 +| bit 6 | 0x40 |
  
 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: 2020/12/15 09:11 by ivan