Chapter 4 — Programming Considerations
|
|
|
|
| Global Data |
|
|
| |||
|
| Modbus Plus |
| Table |
|
| Description |
| |||
|
|
| Address |
| Index |
|
|
| |||
|
| 13,29,45,61 |
| 24 |
|
|
| Control Word |
| ||
|
|
|
|
|
| 25 |
|
|
| Reference Word |
|
|
| 14,30,46,62 |
| 26 |
|
|
| Control Word |
| ||
|
|
|
|
|
| 27 |
|
|
| Reference Word |
|
|
| 15,31,47,63 |
| 28 |
|
|
| Control Word |
| ||
|
|
|
|
|
| 29 |
|
|
| Reference Word |
|
|
| 16,32,48,64 |
| 30 |
|
|
| Control Word |
| ||
|
|
|
|
|
| 31 |
|
|
| Reference Word |
|
Modicon Programming Example - MSTR 5 | |||||||||||
|
|
|
|
|
|
| |||||
enable - |
| 40400 |
| - active |
| Contents of registers in control block | |||||
|
|
|
|
|
|
| 40400 | = 5 Global write data instruction | |||
abort - |
|
|
| - error |
| ||||||
|
|
|
| ||||||||
| 40410 |
|
| 40401 | = 0 Error code | ||||||
|
|
|
|
|
|
| 40402 | = 32 Global Data block length | |||
|
|
|
|
|
|
|
| ||||
|
|
|
|
| - success |
|
|
| (Max 32 words) | ||
|
|
|
|
|
|
|
| ||||
|
|
| MSTR |
|
| 40403 | = 0 N/A | ||||
|
|
| 00032 |
|
|
|
| 40404 | = 0 N/A | ||
|
|
|
|
|
|
| 40410 | = Source of the Global Out Data | |||
|
|
|
|
|
|
|
| ||||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
This instruction “publishes” Global Data on the Modbus Plus network from the Host PLC. Up to 32 words can be transmitted from the Host, allowing up to 16
Controller | Node | Description | ||
Address | ||||
40410 | 33 | Control Word |
| |
40411 | Reference Word | |||
| ||||
40412 | 34 | Control Word |
| |
40413 | Reference Word | |||
| ||||
• | • | • |
| |
• | • | • | ||
40420 | 37 | Control Word |
| |
40421 | Reference Word | |||
| ||||
• | • | • |
| |
• | • | • | ||
40440 | 48 | Control Word | ||
40441 | Reference Word | |||
|
17