![Pepperl+Fuchs IC-KP2-1HB6-2V15B Скачать руководство пользователя страница 31](http://html1.mh-extra.com/html/pepperl-fuchs/ic-kp2-1hb6-2v15b/ic-kp2-1hb6-2v15b_manual_1527659031.webp)
Commands
20
13-
02
31
7.2.3
Software information
A
command
consists of the command code, a specified number of parameters,
the toggle flag and the data relating to the command. The command is entered in
the output data field of the master.
A
response
consists of the echo of the command code, a parameter, the toggle
flag, the status, a reply counter and the read data. The response is entered in the
input data field of the master.
Some commands do not use all parameter and data fields. The device ignores the
not used data fields. The input and output data fields are structured as follows:
Output data field (command):
Input data field (response):
In order to send a new command to the device, the PROFIBUS DP master must
write the command in the output data field. The new command is executed if the
data has changed relative to the last read-in. If the same command is to be
executed a number of times, the toggle flag must be inverted so that the device
recognizes that it should process a new command.
Upon detection of a new command "Status" is set to FFh.
After the processing of commands by the identification system, the "Status" is
output in accordance with the Status/Fault signal table (see chapter 7.2.10).
The first byte of the response corresponds to the first byte of the command call-up
(command code).
The toggle bit of the response is the same as the toggle bit of the command.
Byte 0
Command code
Byte 1
Parameter/Toggle flag
Byte 2
Parameter
Byte 3
Parameter
Byte 4
Write data
...
...
Byte N (N is defined by module selection)
Write data
Byte 0
Command code (Echo)
Byte 1
Parameter/Toggle flag
Byte 2
Status
Byte 3
Reply counter
Byte 4
Read data
...
...
Byte N (N is defined by module selection)
Read data
Содержание IC-KP2-1HB6-2V15B
Страница 79: ...IC KP2 1HB6 2V15B ASCII table 2013 02 79 ...