![Yamatake SDC35 User Manual Download Page 221](http://html.mh-extra.com/html/yamatake/sdc35/sdc35_user-manual_905228221.webp)
8 - 2
Message Structure
■
Message structure
This section describes the message structure.
All messages are expressed in hexadecimal.
●
MODBUS ASCII
All messages other than delimiters are written in hexadecimal ASCII codes.
A message of MODBUS ASCII consists of (1) to (6) below.
The part of (3) stores commands, which are transmission contents from the master
station and responses, which are transmission contents from the slave station.
All messages use ASCII codes. (Each slot below corresponds to one character.)
(1) Start of message (colon, expressed with ASCII code 3AH)
(2) Station address (2 bytes)
(3) Send message, response message
(4) Checksum (two-byte LRC)
(5) CR (delimiter)
(6) LF (delimiter)
• Colon (3AH)
When a colon (3AH) is received, the device judges this to be the start of the send
message. For this reason, the device returns to the initial state whatever
reception state it was in, and processing is started on the assumption that the
colon (3AH), the first character, has been received. The purpose of this is to
enable recovery of the device's response at the next correct message (e.g.
RETRY message) from the master station in the event that noise, for example,
causes an error in the sent message.
• Station address
Of the messages sent by the master station, the device creates response messages
only when station addresses are the same. Station addresses in the messages are
expressed as two hexadecimal characters. The station address is set up by the
station address setup (setup setting C65). However, when the station address is
set to 0 (30H 30H), the device creates no response even if station addresses
match. The device returns the same station address as that of the received
message.
• Checksum (LRC)
This value is for checking whether or not some abnormality (e.g. noise) causes
the message content to change during communications. The checksum is
expressed as two hexadecimal characters. The method to calculate a checksum is
as follows:
(1) Add the data from the top up to just before the checksum. Note that the
values to be added are not the ASCII character values in the send message but
the one-byte binary data converted from two ASCII characters.
8-3
Chapter 8. MODBUS COMMUNICATION FUNCTION
(4)
(5)
3AH
0DH
:
0AH
CR LF
(2)
(1)
(3)
(6)
1 frame
Summary of Contents for SDC35
Page 16: ......
Page 17: ......
Page 19: ... display key para key or V key key enter key 2 second press hold of para key V ...
Page 32: ......
Page 46: ......
Page 58: ......
Page 71: ......
Page 84: ......
Page 95: ......
Page 172: ......
Page 174: ...6 2 Chapter 6 LIST OF DISPLAYS AND SETTING DATA ...
Page 211: ......
Page 230: ......
Page 240: ......
Page 248: ......
Page 260: ......
Page 268: ......
Page 270: ......
Page 279: ......