
Department
TSS L3 LM
Classification
Public
Page 17 18/04/2019
Version
1.0
Date
4/18/2019
Page 17/27
© 2019 Datalogic S.r.l – All Rights Reserved
4.
The PLC must reset the
Command Bit
1→0 as soon as it detects the
Mirroring Bit
and the
Command Executing bit
are changing state 0→1 (e.g. the Mirroring Bit
for the ‘Start Marking Command’ is at Address 10 Bit 0). If the command does
not have a Mirroring Bit, then the PLC should reset the
Command Bit
1→0 when
the only
Command Executing
bit changes state 0→1.
5.
When the
Mirroring bit
and the
Command Executing
bit pass 1→0, it means that
the requested command has been completed: the Laser System is ready to start
again from step 1 with another command.
COMMAND BIT
MIRRORING
BIT
COMMAND
EXECUTING BIT
This behavior is summed up by this State Diagram:
As soon as the connection is established, the State diagram is positioned at its Entry
Point: the protocol will not accept any command from the PLC before receiving an
Output Assembly Memory Map fully made of ‘0’. Until this condition is fulfilled, the
If the Command Bit has changed state
1
→
0 as soon as the EXECUTING state
has been reached, then the State
Diagram will stay in EXECUTING state
until the command has been completed!
Command requested
by the PLC by the
transition of a
‘Command Bit’ 0→1
& no errors detected
‘Command Executing’ bit 0→1
&
‘Mirroring bit’ 1→0 (if present)
BOOTING UP state
‘Booting Up’ bit = 1
when the first Output
Assembly memory Map is
full of ‘0’
then ‘Booting Up’ bit 1→0
ENTRY POINT
LISTENING state
‘Command Executing’ bit = 0
EXECUTING state
‘Command Executing’ bit =1
When the ‘Mirroring bit’ 0→1 (if present)
then the ‘Command Bit’ 1→0
Legend:
Actions which are made by the PLC
Actions which are made by the
Datalogic Laser Marker
1.
2. 3.
4.
5.