plc:plc
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
plc:plc [2019/10/18 11:50] – ivan | plc:plc [2020/05/19 10:06] – ivan | ||
---|---|---|---|
Line 84: | Line 84: | ||
^ Address ^ Description ^ | ^ Address ^ Description ^ | ||
| 20000...20100 | Print variable value in myCNC control message widget for debugging purpose. Values written to this registers will be printed in myCNC control software in Message widget {{mycnc: | | 20000...20100 | Print variable value in myCNC control message widget for debugging purpose. Values written to this registers will be printed in myCNC control software in Message widget {{mycnc: | ||
+ | |||
+ | It is possible to access the state of the output via gvarget commands from within the PLC process: | ||
+ | |||
+ | < | ||
+ | b=gvarget(0x407); | ||
+ | |||
+ | Starting from 0x400 to represent OUT0, this is a hexadecimal system that is simple to convert to dotted decimals (through the likes of a simple reference site [[https:// | ||
+ | |||
=== The hardware access registers === | === The hardware access registers === |
plc/plc.txt · Last modified: 2022/11/07 16:03 by ivan