User`s manual
6-18
6.6 Command and Transmission Frame Details
INP-TN5A0202-E
Reading out read-only word data (Function code: 04H)
The equipment reads out the word data specifi ed by the number of words to read out continuously from the number to start
reading out.
A slave sends the read out data in order of the upper bytes, the lower bytes.
Function code 04H
Max. number of readable words in one message 125
Relative address 0000H to OFDCH
Register No. 30001 to 34061
Message composition
Master Slave
Command composition (Byte) Response message composition (Byte)
Station No. Station No.
Function code Function code
Number to start reading
out (Relative address)
Upper
Number of bytes to read out
(Number of word to read out ×2)
Lower
Number of words to
read out (1 to 15 words)
Upper
First word data
contents
Upper
Lower Lower
CRC data
Lower
Next word data
contents
Upper
Upper Lower
Last word data
contents
Upper
Lower
CRC data
Lower
Upper
The meaning of reading out word data
MSB LSB
First word data contents upper byte
First word data contents lower byte
Next word data contents upper byte
Next word data contents lower byte
Last word data contents upper byte
Last word data contents lower byte
•