MODBUS RTU With LadderDIP IV |
When using LadderDIP IV with MODBUS RTU the following memory mapping is applied
MODBUS Address Range Low |
MODBUS Address Range High |
Domain |
Access Type |
Range Size |
Variable accessed in the PLC table |
10000 |
13999 |
ALL TABLE |
WORD |
4000 Words |
0-3999 (%MW0-%MW3999) |
40000 |
41799 |
USER |
WORD |
1800 Words |
2200-3999 (%MW2200-%MW3999) |
5000 |
6999 |
USER |
DWORD |
1800 Words |
2200-3999 (%MD2200-%MD3999) |
The MODBUS Configuration is accessible through OptionsConfigurationMODBUS RTU Configuration
MODBUS Configuration parameters are explained in the table here below
Parameter |
Mnemonic |
Description |
Enable MODBUS RTU Kernel |
|
Enables the task (Kernel) for the MODBUS communication |
Enable MODBUS RTU on UART2 |
|
Enables the communication UART on the specified pins (TX/RX) |
Station Address |
SA |
The MODBUS station address (1..247) |
Baud Rate |
BR |
UART Baud Rate |
RS485 TX Control Pin |
|
Selects, if any, the pin that will be used as TX control pin for a half-duplex RS485 connection |
Byte-To-Byte Timing |
BTB |
Byte to Byte timeout |
End-Of-Frame Timing |
EOF |
End of frame timeout |