
Modbus Commands
2-36
SIMATIC TI505/TI500 MODNIM User Manual
Modbus Function Descriptions (continued)
Code
17 permits the user to get information from the slave concerning its
type, run mode, and other device-dependent data.
[This command has no direct equivalent to a TIW
A
Y I request, but elements
of this function are contained in Primitives 02 and 03 (Status primitive and
Configuration primitive).]
The MODNIM returns a number in the Slave ID field determined by the
type of PLC connected and responds with the state of the RUN light. In
addition, it returns the HH status field, the EE auxiliary power source field,
the communications port in use, and the software version number
.
Example:
Request: 03 11 XXXX
Checksum (XXXX)
Function code 17 (1
1 hex)
Slave address (03)
Figure 2-32 Report
Slave ID Example — Request
This example shows a request to secondary address 03 to report its ID and
associated data.
03 11 06 3C FF 01 00 0A 30 XXXX
Checksum (XXXX)
Release 3.0
Port A operational (0A)
Auxiliary power (00)
Operational mode (01)
Run light (FF = On)
Slave ID (3C = TI530C)
Number of bytes (06)
Function code 17 (1
1 hex)
Slave address 030)
Response:
Figure 2-33 Report
Slave ID Example — Response
This response indicates that 6 bytes have been returned. These bytes show
that the Slave ID is a TI530C PLC, the RUN light is On, the operational
mode is 01, auxiliary power is good, and the operational port is A. The last
byte contains the software version number (see T
able 2-7).
Code 17 — Report
Slave ID
Comentarios a estos manuales