Communication Procedure - Siemens SINAMICS G110M Function Manual

Fieldbus systems
Hide thumbs Also See for SINAMICS G110M:
Table of Contents

Advertisement

Communication via RS485
5.4 Communication using Modbus RTU
5.4.8

Communication procedure

Procedure for communication in a normal case
Normally, the master sends a telegram to a slave (address range 1 ... 247). The slave sends
a response telegram to the master. This response telegram mirrors the function code; the
slave enters its own address in the telegram and so the slave identifies itself with the master.
The slave only processes orders and telegrams which are directly addressed to it.
Communication error
If the slave detects a communication error on receipt (parity, CRC), it does not send a
response to the master (this can lead to "setpoint timeout").
Logical error
If the slave detects a logical error within a request, it responds to the master with an
"exception response". In this case, the slave sets the highest bit in the function code to 1 in
the response. If, for example, it receives an unsupported function code from the master, the
slave responds with an "exception response" with code 01 (illegal function code).
Table 5- 32
Exception
code
01
02
03
04
Maximum processing time, p2024[0]
The slave-response time is the time in which the Modbus master expects a response to a
request. Set the same slave-response time (p2024 [0] in the inverter) in the master and
slave.
144
Overview of exception codes
Modbus name
Illegal function code
Illegal Data Address
Illegal data value
Server failure
Remark
An unknown (unsupported) function code was sent to the
slave.
An invalid address was requested.
An invalid data value was detected.
Slave has terminated during processing.
Function Manual, 04/2018, FW V4.7 SP10, A5E34229197B AE
Fieldbuses

Advertisement

Table of Contents
loading

Table of Contents