EasyManuals Logo

Allen-Bradley Micro820 User Manual

Allen-Bradley Micro820
184 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 #99 background imageLoading...
Page #99 background image
Rockwell Automation Publication 2080-UM005B-EN-E - March 2015 91
Using microSD Cards Chapter 9
Datalog Function (DLG) Block
The datalogging function block lets a user program to write run-time global
values into the datalogging file in microSD card.
DLG Input and Output Parameters
Parameter Parameter
Typ e
Data Type Description
Enable INPUT BOOL Datalogging 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 Datalogging function block current status.
ErrorID OUTPUT UDINT Error ID if DLG Write fails.
DLG Function Block Status
Status Code Description
0 Datalogging IDLE status.
1 Datalogging BUSY status.
2 Datalogging COMPLETE SUCCEED status.
3 Datalogging 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 datalog file in microSD card.
4 DLG_ERR_CFG_ABSENT Datalog configuration file is absent.
5 DLG_ERR_CFG_ID Configuration ID is missing in datalog
configuration file.
6 DLG_ERR_RESOURCE_BUSY Same Configuration ID is used with other
datalog function block call at the same time
DLG
Enable
TSEnable
CfgId
Status
ErrorID

Table of Contents

Other manuals for Allen-Bradley Micro820

Questions and Answers:

Question and Answer IconNeed help?

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

Allen-Bradley Micro820 Specifications

General IconGeneral
Processor32-bit
Power Supply24V DC
Programming SoftwareConnected Components Workbench
SeriesMicro800
MountingDIN Rail
MemoryEmbedded
ExpansionYes
Controller TypeProgrammable Logic Controller (PLC)
CommunicationEthernet/IP
Programming LanguageLadder Diagram, Function Block Diagram, Structured Text
I/OEmbedded

Related product manuals