Parameters
(N) Operation via communication and its settings
FR-A800
5 - 633
Message frames comprise of the four message fields shown in the figures above.
A slave recognizes message data as a message by the message data being prefixed and appended
with a no data time of 3.5 characters (T1: start/end).
●
Details of protocol
The following table explains the four message fields.
Start
ADDRESS
FUNCTION
DATA
CRC CHECK
End
T1
8 bits
8 bits
n × 8 bits
L
8 bits
H
8 bits
T1
Message field
Description
ADDRESS field
0 to 247 can be set in single byte lengths (8 bits). Set "0" when sending broadcast messages
(instructions to all addresses), and "1 to 247" to send messages to individual slaves.
The address set by the master is also returned when the response from the slave is.
The value set to Pr. 331 "RS-485 communication station number" is the slave address.
FUNCTION field
1 to 255 can be set in single byte lengths (8 bits) for the function code. The master sets the
function to be sent to the slave as the request, and the slave performs the requested operation.
"Function code list" summarizes the supported function codes. An error response is generated
when a function code other than "Function code list" is set.
At a response from the slave, the function code set by the master is returned in the case of a
normal response. At an error response, H80 + the function code is returned.
DATA field
The format changes according to the function code. (Refer to page 5-634.) The data, for
example, includes the byte count, number of bytes and accessing content of holding registers.
CRC CHECK field
Errors in the received message frame are detected. Errors are detected in the CRC check, and
the message is appended with data 2 bytes long. When the message is appended with the CRC,
the lower bytes are appended first, followed by the upper bytes.
The CRC value is calculated by the sender that appends the message with the CRC. The receiver
recalculates the CRC while the message is being received, and compares the calculation result
against the actual value that was received in the error check field. If the two values do not
match, the result is treated as an error.
Tab. 5-281:
Protocol details
Summary of Contents for FR-A800
Page 2: ......
Page 4: ......
Page 22: ...Contents XVIII ...
Page 30: ...Related manuals Introduction 1 8 ...
Page 122: ...Connection of stand alone option units Installation and wiring 2 92 ...
Page 180: ...Basic operation procedure JOG operation Basic operation 4 32 ...
Page 934: ...Check first when you have a trouble Protective functions 6 46 ...
Page 1031: ...Appendix EC Declarations of Conformity FR A800 A 47 ...
Page 1032: ...EC Declarations of Conformity Appendix A 48 ...
Page 1033: ...Appendix EC Declarations of Conformity FR A800 A 49 ...
Page 1034: ...EC Declarations of Conformity Appendix A 50 ...
Page 1035: ...Appendix EC Declarations of Conformity FR A800 A 51 A 5 2 EMC Directive ...
Page 1036: ...EC Declarations of Conformity Appendix A 52 ...
Page 1037: ...Appendix EC Declarations of Conformity FR A800 A 53 ...
Page 1038: ...EC Declarations of Conformity Appendix A 54 ...
Page 1039: ...Appendix EC Declarations of Conformity FR A800 A 55 ...
Page 1040: ...EC Declarations of Conformity Appendix A 56 ...
Page 1041: ......