Publication 1762-RM001C-EN-P
22-8 Data Logging (MicroLogix 1500 1764-LRP Processor only)
DLG - Data Log
Instruction
Instruction Type: output
The DLG instruction triggers the saving of a record. The DLG instruction
has one operand:
Queue Number - Specifies which data log queue captures a record.
The DLG instruction only captures data on a false-to-true rung transition.
The DLG rung must be reset (scanned false) before it will capture data
again. Never place the DLG instruction alone on a rung. It should always
have preceding logic, as shown below:
DLG
Data Log
queue number 0
DLG
Table 22.3 Execution Time for the DLG Instruction
Controller When Rung Is:
True False
MicroLogix 1500 1764-LRP 67.5
µ
s + 11.8
µ
s/date stamp
+ 12.4
µ
s/time stamp
+ 9.1
µ
s/word logged
+ 16.2
µ
s/long word logged
6.7
µ
s
IMPORTANT
You must configure a data log queue before programming
a DLG instruction into your ladder program.
Data Log
queue number 0
DLG