Leuze electronic GmbH + Co. KG
MA 238
i
45
Examples for the activation of a Leuze device
In Command mode, control or output byte 0.0 is to be set for activating the Command mode. Only the
corresponding bit (control or output byte 2.1) then needs to be set for activating and deactivating the
reading gate.
Command mode sequence diagram
Set control byte 0, bit 0.0 to 1
Figure 11.2: Execution of command after activation of the Command mode
7
6
5
4
3
2
1
0
0
0
0
0
0
0
0
1
Output byte 0
0
0
0
0
0
0
0
0
Output byte 1
0
0
0
0
0
0
1
0
Output byte 2
0
0
0
0
0
0
0
0
Output byte 3
Device executes the corresponding function (cf. chap. 16).
For function to be reestablished, the ND bit and the selected bit
in byte 2 must be toggled, byte 0.0 can stay.
No
No
Yes
Yes
Bit 0.0=1?
Byte 2:
Bit set?
Connected device can only be
addressed via HW or PLC data tele
-
gram
e.g. +
Bit 0.0 signals that the respective bit
is evaluated as a "control bit" in
byte 2, and according to the position
of the device selection switch, exe
-
cutes a corresponding function on
the device via the stored table.
No detectable function
Select bit, or incorrect byte