3 access to parameter data, 4 access to diagnostic data, Access to parameter data – Lenze I/O system 1000 System Manual User Manual
Page 722: Access to diagnostic data, Modbus tcp kommunikation
Modbus TCP Kommunikation
Access to the I/O system 1000
Access to parameter data
l
722
EDSIO1000 EN 7.0
Write n words and read m words
Code 17
h
: This function serves to write n words in the master output range 4x via a request
and read n words of the master input range 3x.
Command frame:
Modbus TCP header
Slave
address
Function
code
Read
address
Read
number
of
words
Write
address
Write
number
of bytes
Write
data 1.
byte
Write
data
2. byte
...
x
x
0
0
0
6 bytes
1 byte
1 byte
1 word
1 word
1 word
1 byte
1 word
1 word
max. 122 words
Response message:
Modbus TCP header
Slave
address
Function
code
Read
number
of bytes
Read
data 1.
word
Read
data 2.
word
...
x
x
0
0
0
6 bytes
1 byte
1 byte
1 word
1 word
1 word
max. 126 words
13.2.3
Access to parameter data
At initial start, parameterisable modules are operated with their default parameters. If you
want to set parameters, you can parameterise the Modbus TCP bus coupler or the plugged
I/O compound modules via a web page.
13.2.4
Access to diagnostic data
In the event of an error, I/O compound modules can provide alarm data. As soon as one or
several I/O compound modules report an alarm, the alarm data of the respective slot are
received and acknowledged by the Modbus TCP bus coupler which then sets a bit assigned
to the Modbus TCP slot in its internal "Alarm Information Image" and saves the
corresponding alarm data.
In the I/O system 1000, it is made a distinction between diagnostic alarm and process
alarm. For this purpose, the diagnostic image has one 64 bit wide field each (bit 0 = Modbus
TCP slot 0 to bit 63 = Modbus TCP slot 63) for process alarm and diagnostic alarm. They are
followed by a 16 byte slot for process alarm data and 32 byte slot for diagnostic alarm data.
For acknowledgement, you also have writing access to diagnostic and process alarm
status. The alarm data can only be accessed by reading.