121
5. PARAMETERS
5.7 (N) Communication operation parameters
1
2
3
4
5
6
7
8
9
10
Message format
• Data check time
• Query
A message is sent to the slave (the converter unit) having the address specified by the master.
• Normal response
After the query from the master is received, the slave executes the request function, and returns the corresponding normal
response to the master.
• Error Response
When an invalid function code, address or data is received by the slave, the error response is returned to the master.
This response is appended with an error code that indicates the reason why the request from the master could not be
executed.
This response cannot be returned for errors, detected by the hardware, frame error and CRC check error.
• Broadcast
The master can broadcast messages to all slaves by specifying address 0. All slaves that receive a message from the
master execute the requested function. With this type of communication, slaves do not return a response to the master.
NOTE
• During broadcast communication, functions are executed regarded of the set converter unit station number (
Pr.331
).
Message frame (protocol)
• Communication method
Basically, the master sends a query message (inquiry), and slaves return a response message (response). At normal
communication, the device address and function code are copied as they are, and at erroneous communication (illegal
function code or data code), bit 7 (= H80) of the function code is turned ON, and the error code is set at data bytes.
Message frames comprise the four message fields shown in the figures above.
A slave recognizes message data as one message when a 3.5 character long no-data time (T1: start/end) is added before
and after the data.
Item
Check time
Monitoring
< 12 ms
Parameter read/write
< 30 ms
Parameter clear / All parameter clear
< 5 s
Reset command
No reply
Query communication
Broadcast communication
Query Message
Query Message
Response Message
Converter unit response time
(Refer to the following table for the
data check time)
Data absence time
(3.5 bytes or more)
Converter unit (slave)
Programmable controller
(Master)
No Response
Converter unit (slave)
Programmable controller
(Master)
Query message from Master
Response message from slave
Device Address
Function Code
Eight-Bit
Data Bytes
Error Check
Device Address
Function Code
Eight-Bit
Data Bytes
Error Check