Department
TSS L3 LM
Classification
Public
Page 23 18/04/2019
Version
1.0
Date
4/18/2019
Page 23/27
© 2019 Datalogic S.r.l – All Rights Reserved
3.3.
Possible Errors
There are 2 kinds of error which can turn up during the normal use of a Datalogic Laser
Marker via ProfiNet/IO:
-Command Error;
-Protocol Error.
The PLC is informed by 2 bits in the Input Assembly Memory Map if any kind of error
happens: these 2 bits are bits 1 and 2 in Address 2 (respectively ‘Command Error’ and
‘Protocol Error’).
Both kinds of error should be monitored constantly and we advise the PLC programmer
to think about a routine which will manage these errors.
Command Error
A Command Error is notified to the PLC when the requested command cannot be
executed.
In addition to the single ‘Command Error’ notification bit, a whole byte (address 4) of
the Input Assembly Memory Map describes the reason of such an error. The values
which address 4 can have when a Command Error is notified, are summed up in the
following table.
Value
Description
1
Command not recognized
2
Invalid date value
3
File does not exist
4
File opening error
5
Invalid I/O port
6
Global variable does not exist
7
Global variable is not a counter
8
Global variable is not a string
9
Bad command
10
Invalid field
11
No document loaded
12
No document saved
13
Laser already stopped
14
Command not allowed by device status