Mitsubishi Electric FR-CC2-H315K Instruction Manual page 134

Table of Contents

Advertisement

 Message format
Query communication
Programmable controller
(Master)
Broadcast communication
Programmable controller
(Master)
• Data check time
Item
Monitoring
Parameter read/write
Parameter clear / All parameter clear
Reset command
• 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.
Query Message
Converter unit (slave)
Data absence time
(3.5 bytes or more)
Query Message
Converter unit (slave)
Check time
< 12 ms
< 30 ms
< 5 s
No reply
Query message from Master
Device Address
Function Code
Eight-Bit
Data Bytes
Error Check
Converter unit response time
(Refer to the following table for the
data check time)
Response Message
No Response
Device Address
Function Code
Eight-Bit
Data Bytes
Error Check
Response message from slave
5.7 (N) Communication operation parameters
1
2
3
4
5
6
7
8
9
10
133
5. PARAMETERS

Advertisement

Table of Contents
loading

Table of Contents