plc:motion_commands_from_plc
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revision | Next revisionBoth 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:< | Examples:< |
plc/motion_commands_from_plc.txt · Last modified: 2024/02/21 13:58 by ivan