Download Modbus ASCII Slave

Transcript
Diagnostics of the Communications FB
11.1.1 Errors during “Initialization”
“Error during Initialization”
ERROR_No
(decimal)
ERROR_INFO
Error Text
Remedy
0
0
no error
1
SFC51 Æ RET_VAL
Error when reading SZL with
SFC51.
2
FB8 Æ STATUS
Timeout when initializing CP or Check if protocol “Modbus Slave”
error when initializing CP (Error has had parameters assigned on
in SEND job).
this interface. Analyze
Analyze RET_VAL in
ERROR_INFO, eliminate cause.
ERROR_INFO.
11.1.2 Errors during “Processing of Function Codes”
“Error during Processing of Function Codes”
ERROR_No( ERROR_INFO
decimal)
Error Text
Remedy
10
Processing Code
Illegal processing function
transferred by the driver to the
communications FB.
Restart CP (Mains_ON)
11
Start Address
Illegal start address transferred
by the driver to communications
FB.
Check Modbus address of Modbus
master system.
12
Amount of
Registers
Illegal amount of registers
transferred by the driver to
communications FB:
Amount of registers = 0.
Check amount of registers of
Modbus master system, if required
restart CP (Mains_ON)
13
Amount of
Registers
Illegal amount of registers
transferred by the driver to
communications FB.
Check amount of registers of
Modbus master system, if required
restart CP (Mains_ON)
14
Memory bits M End Address
Attempted access to SIMATIC
memory area “memory bits” in
excess of range end.
Attention:
Range length in SIMATIC CPU
is CPU type-dependent.
Reduce Modbus start address
and/or access length in Modbus
master system.
Loadable Driver CP341: MODBUS ASCII Slave with 32-Bit Extension
6ES7870-1CA00-0YA0; Manual Edition 1.0
11-2