Logical Error; Maximum Processing Time, P2024[0]; Process Data Monitoring Time (Setpoint Timeout), P2040; Application Example - Siemens SINAMICS G120XA Operating Instructions Manual

Table of Contents

Advertisement

Advanced commissioning
6.2 Drive control

Logical error

If the slave detects a logical error within a request, it responds to the master with an "exception
response". In the response, the slave sets the highest bit in the function code to 1. If the slave
receives, for example, an unsupported function code from the master, the slave responds with
an "exception response" with code 01 (Illegal function code).
Table 6-31
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 converter) in the master and slave.

Process data monitoring time (setpoint timeout), p2040

"Setpoint timeout" (F1910) is issued by the Modbus if p2040 is set to a value > 0 ms and no
process data is requested within this time period.
The "Setpoint timeout" only applies for access to process data (40100, 40101, 40110, 40111).
The "Setpoint timeout" is not generated for parameter data (40200 ... 40522).
Note
Adjust the time (factory setting = 100 ms) depending on the number of slaves and the baud rate
set on the bus.
6.2.3.11

Application example

An application example for MODBUS RTU is provided on the Internet:
Communication via the MODBUS interface
view/35928944)
166
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.
(https://support.industry.siemens.com/cs/ww/en/
Operating Instructions, 03/2019, FW V1.0, A5E44751205B AB
SINAMICS G120XA converter

Advertisement

Table of Contents
loading

Table of Contents