Sierra 241-VTP, 240-VTP instruction manual Examples

Models: 241-VTP 240-VT 240-VTP 241-VT

1 92
Download 92 pages 12.04 Kb
Page 89
Image 89

Series 24-HP Instruction Manual

Appendix E MODBUS Commands

 

 

Command Message Format

The start address is equal to the desired first register number minus one. The addresses derived from the start address and the number of registers must all be mapped to valid defined registers, or an invalid data address exception will occur.

Normal Response Message Format

Exception Response Message Format

Examples

Read the exception status byte from the device with address 1:

01 07 41 E2

01 Device address

07 Function code, 04 = read exception status

A typical response from the device is as follows:

01 07 03 62 31

01 Device address

07 Function code

03 Exception status byte

62 31 CRC

Request the first 12 registers from device with address 1:

01 04 00 00 00 0C F0 0F

01 Device address

04 Function code, 04 = read input register

00 00 Starting address

00 0C Number of registers = 12

F0 0F CRC

IM-24-HP

E-7

Page 89
Image 89
Sierra 241-VTP, 240-VTP instruction manual Examples