plc:plc_modbus_api
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_modbus_api [2019/07/29 11:42] – ivan | plc:plc_modbus_api [2019/07/29 12:28] – ivan | ||
---|---|---|---|
Line 90: | Line 90: | ||
};</ | };</ | ||
+ | |||
+ | Note that the commands to read multiple coils (the //in// variable) will not work for a Modbus device that can only write (outputs only). Similarly, the write commands will not work on a Modbus device with inputs only, such as the WP8026ADAM. Below is a list of available Modbus devices and their capabilities: | ||
+ | |||
+ | ^ Device ^ Description ^ | ||
+ | | WP8028ADAM| 8 digital inputs, 8 digital outputs | | ||
+ | | WP8027ADAM | 16 digital outputs, 0 inputs | | ||
+ | | WP8026ADAM | 16 digital inputs, 0 outputs | | ||
+ | | WP9038ADAM | 6 analog inputs, 4 digital inputs, 4 digital outputs | | ||
Modbus Scheduler in myCNC has 4 messages queue. Up to 4 registers can be written immediately from PLC procedure. Modbus manager will send it one-by-one and will be waiting a reply from Modbus device after each message. | Modbus Scheduler in myCNC has 4 messages queue. Up to 4 registers can be written immediately from PLC procedure. Modbus manager will send it one-by-one and will be waiting a reply from Modbus device after each message. | ||
Line 100: | Line 108: | ||
configuration dialog </ | configuration dialog </ | ||
- | {{ mycnc:mycnc-spindle-modbus-001.png?900 }} | + | {{:plc:modbus-plc-002-spindle.png}} |
plc/plc_modbus_api.txt · Last modified: 2020/07/03 11:27 by ivan