2
011-
08
22
IC-KP-B6*
Communication in "IVI-B6" mode
4.5
PROFIBUS-DP command sequence
Execution of the command begins as soon as a valid command is written using
toggled flag "T". When the command is received, this flag is sent to the master
together with the remaining fields of word 0 as confirmation.
Initial state:
The execution counter increases every time the identification system sends a
message. At the same time, the head number, status, read error flag, reading
numbers and read only code data fields are set according to the message from
the identification system. The read error flags are treated differently, depending on
the command.
The reading numbers increase when the identification system receives read data
(status 0). Only the reading number in the data field assigned to the head number
sent by the information system is increased. The reading numbers does not
increase if the identification system reports an error (status 4, 5, 6).
The read error flag is deactivated for the
SF
,
AF
and
BF
commands and always
remains 0.
The following applies for the
EF
command: The read error flag is reset (=0) as
soon as the identification system receives some read data (status 0). The read
error flag is set as soon as the identification system reports a read error (status 5)
and remains unchanged with other fault messages (status 4, 6).
The following example shows a command sequence.
0
0
0
0
Command has been executed without error
0
1
0
0
Incorrect command, invalid parameter or timeout
0
1
0
1
Read or write error
0
1
1
0
Hardware error (reading head faulty)
Status display S4 ... S1
Head number (K3 ... 1)
0
Execution counter (N4 ... 1)
0
Status (S4 ... 1)
0
4 x read error flags (ERR)
0 for SF, AF, BF and 1 for EF
4 x reading numbers (L3 ... 1)
0
4 x read only code data (C28 ... 1)
0