EasyManuals Logo

Rockwell Automation Allen-Bradley Micro820 User Manual

Rockwell Automation Allen-Bradley Micro820
350 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #231 background imageLoading...
Page #231 background image
Rockwell Automation Publication 2080-UM002M-EN-E - April 2022 231
Chapter 11 Using microSD Cards
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.
Maximum files per Grpxx folder
(1)
50
When directory is full, a new directory is automatically
created in RUN mode.
Maximum files (Filexx.txt) per day 50
When file reaches maximum size, a new file is
automatically created in RUN mode.
Typical data per day 10 MB
(1) Once the data log limits is reached (that is, 50 Grpxx folders per day, then an error (ErrorID 3: DLG_ERR_DATAFILE_ACCESS) is
returned.
DLG Input and Output Parameters
Parameter
Parameter
Type
Data Type Description
Enable INPUT 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.
TSEnable INPUT BOOL Date and timestamp logging enable flag.
CfgId INPUT USINT Configured dataset (DSET) number (1…10).
Status OUTPUT USINT Data logging function block current status.
ErrorID OUTPUT UDINT Error ID if DLG Write fails.
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 Description
0 DLG_ERR_NONE No error.
1 DLG_ERR_NO_SDCARD microSD card is missing.
2 DLG_ERR_RESERVED Reserved.
3 DLG_ERR_DATAFILE_ACCESS Error accessing data log file in microSD card.
Data Log Specifications (Continued)
Attribute Value
DLG
Enable
TSEnable
CfgId
Status
ErrorID

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Rockwell Automation Allen-Bradley Micro820 and is the answer not in the manual?

Rockwell Automation Allen-Bradley Micro820 Specifications

General IconGeneral
BrandRockwell Automation
ModelAllen-Bradley Micro820
CategoryController
LanguageEnglish

Related product manuals