
Department
TSS L3 LM
Classification
Public
Page 18 18/04/2019
Version
1.0
Date
4/18/2019
Page 18/27
© 2019 Datalogic S.r.l – All Rights Reserved
Laser State Diagram will remain in BOOTING UP state and the ‘Booting Up’ bit=1 (the
‘Booting Up’ bit is bit 7 address 3 of the Input Assembly Memory Map).
When this condition is achieved, the ‘Booting Up’ bit passes 1→0, meaning that the
LISTENING state has been reached. Now the PLC can request the execution of a
command to the Laser Marker.
The execution of the command is underway when the
Command Executing bit
and the
Mirroring Bit
change state 0→1; moreover, as soon as the
Command Executing bit
and
the
Mirroring Bit
change state 0→1, the PLC must reset the
Command Bit
1→0. If the
selected
Command Bit
doesn’t have a matching
Mirroring Bit
, then the
Command Bit
can
be pulled down whenever
Command Executing bit
changes state 0→1.
If, by any chance, the
Command Bit
is not pulled down when the
Mirroring Bit
and
Command Executing
bit turns 0→1, then the
Command Executing bit
and the
Mirroring
Bit
will not turn to 0 when the command is ended. The Protocol State will pass in
LISTENING as soon as the
Command Executing bit
passes 1→0.
3.1.
Input Assembly Memory Map
The input Assemby Memory Map has been developed in order to structure all the data
coming from the Datalogic Laser Marker towards the PLC. Depending on the
information that the Laser is returning at every Update Time, the PLC could need to
check a single bit or multiple bytes from the following memory map.
Address
Bit7
Bit6
Bit5
Bit4
Bit3
Bit2
Bit1
Bit0
0
Laser
Emission
Laser
Ready
Shutter
Closed
Laser
Ready
Laser
Standby
Shutter
Closed
Laser
Standby
Laser Wait
for start
Laser
Warm Up
Laser Off
1
Laser
Error
Laser
Warning
Laser Busy
Shutter
Closed
2
Protocol
Error
Command
Error
Command
Executing
3
Protocol
Boot Up
4
Command Error Code
5
Protocol Error Code
6
Auto
Mode
Manual
Mode
7 to 9
Reserved
10
Set to
Auto
mode
Set to
Manual
mode
Stop
Marking
Start
Marking
11
Get Laser
Engine
Version
12
Set Global
String
Value
Get Global
String
Value
Set Global
Counter
Value
Get Global
Counter
Value
Set Data
Field Value
Get Data
Field
Value
Save
Document
Open
Document
From Device
13
Disable
Data Field
Enable
Data Field
14
Move data
field
Move and
rotate
document