YASKAWA CP 341 Manual page 56

Rs422/485
Table of Contents

Advertisement

Communication protocols
Modbus > Modbus Master - Functionality
DATA
CRC-CHECK
Byte sequence in the word
Response of the slave
Error codes
56
Here the function code specific data are transferred. More information about the structure
of this field may be found at the function codes beneath.
Function codes' page 58
n
Message end is identified by means of a 2byte checksum.
The first byte to be transferred is the low byte, then the high byte.
n
The driver for Modbus Master recognizes message end, when no transmission takes
place during the time period for the transmission of 3.5 times character delay time.
This Time_Out for message end is therefore dependent on the transmission rate:
Baud rate in baud
76800
38400
19200
9600
...
300
For the byte sequence in the word is valid: word = high byte | low byte
If there is no error, the function code is replied.
On recognition of an error in the request message, the slave sets the highest value bit in
the function code (function code OR 80h) of the reply message. This is followed by trans-
mission of one byte of error code.
Slave answer:
OK ® Function code
n
Error ® Function code OR 80h & error code
n
Error code
Meaning according to Modbus
specification
1
Illegal function
2
Illegal data address
3
Illegal data value
4
Failure in associated device
5
Acknowledge
6
Busy, rejected message
7
Negative Acknowledgement
VIPA System 300S
Ä Chap. 6.4.4 'Modbus Master -
Time_Out in ms
0.5
1
2
4
...
128
Cause
Illegal function code
Slave has illegal data address
Slave has illegal data value
Slave has internal error
Function is carried out
Slave is not ready to receive
Function cannot be carried out
HB130 | CP | 341-1CH01 | en | 18-40

Advertisement

Table of Contents
loading

This manual is also suitable for:

Vipa system 300s

Table of Contents