...
Examples of Modbus commands:
MbCmd | 0 0/5 * * * *:R,9600,8N1:010300160002,010300260002,fa0400050001 |
0 0/5 * * * Cron (every 5 minutes)
R,9600,8N1 communication parameters (9600 baud, 8 data bits, no parity)
Modbus Command:
010300260002
01 03 00 26 00 02
01 Slave Address 03 Function (Read Holding Register) 00 Starting Address Hi 26 Starting Address Lo (Decimal 38) 00 Quantity of Registers Hi 02 Quantity of Registers Lo (Decimal 2)
Read 2 holding registers of Slave 1, starting at register 38