Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Examples of Modbus commands:


MbCmd0 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)