Publication 1766-RM001A-EN-P - October 2008
Recipe and Data Logging
525
4.
After entering all the information for the data log queue, click on
OK. The queue is added to the Data Log Que window with a
corresponding queue number. This is the queue number to use in
the DLG instruction.
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
Execution Time for the DLG Instruction
Controller
When Rung Is:
True
False
MicroLogix 1400
8.9910 µs
2.6050 µs
IMPORTANT
You must configure a data log queue before programming a DLG instruction
into your ladder program.
efesotomasyon.com - Allen Bradley,Rockwell,plc,servo,drive