Allen-Bradley 2080-LC20-20QBB User Manual page 118

Micro820 series programmable controllers
Hide thumbs Also See for 2080-LC20-20QBB:
Table of Contents

Advertisement

Chapter 9
Using microSD Cards
108
Data Log Function (DLG) Block
The data logging function block lets a user program to write run-time global
values into the data logging file in microSD card.
DLG
Enable
TSEnable
CfgId
DLG Input and Output Parameters
Parameter
Parameter
Type
Enable
INPUT
TSEnable
INPUT
CfgId
INPUT
Status
OUTPUT
ErrorID
OUTPUT
DLG Function Block Status
Status Code
Description
0
Data logging IDLE status.
1
Data logging BUSY status.
2
Data logging COMPLETE SUCCEED status.
3
Data logging COMPLETE ERROR status.
DLG Function Block Errors
Status Code
Name
0
DLG_ERR_NONE
1
DLG_ERR_NO_SDCARD
2
DLG_ERR_RESERVED
3
DLG_ERR_DATAFILE_ACCESS
4
DLG_ERR_CFG_ABSENT
5
DLG_ERR_CFG_ID
6
DLG_ERR_RESOURCE_BUSY
Rockwell Automation Publication 2080-UM005E-EN-E - March 2018
Status
ErrorID
Data Type Description
BOOL
Data logging write function enable.
On rising edge (that is, Enable value is triggered from
low to high), the function block executes. The
precondition for execution is that the last operation
has completed.
BOOL
Date and timestamp logging enable flag.
USINT
Configured dataset (DSET) number (1...10).
USINT
Data logging function block current status.
UDINT
Error ID if DLG Write fails.
Description
No error.
microSD card is missing.
Reserved.
Error accessing data log file in microSD card.
Data log configuration file is absent.
Configuration ID is missing in data log
configuration file.
Same Configuration ID is used with other data
log function block call at the same time

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents