Pepperl+Fuchs IC-KP2-1HB6-V15B Manual page 33

Identcontrol compact with interface for profibus dp
Hide thumbs Also See for IC-KP2-1HB6-V15B:
Table of Contents

Advertisement

IC-KP2-1HB6-V15B
Commands
7.3.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):
Byte 0
Byte 1
Byte 2
Byte 3
Byte 4
...
Byte N (N is defined by module selection)
Input data field (response):
Byte 0
Byte 1
Byte 2
Byte 3
Byte 4
...
Byte N (N is defined by module selection)
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.3.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.
Command code
Parameter/Toggle flag
Parameter
Parameter
Write data
...
Write data
Command code (Echo)
Parameter/Toggle flag
Status
Reply counter
Read data
...
Read data
33

Advertisement

Table of Contents
loading

Table of Contents