Allen-Bradley 2080-LC20-20QWB User Manual page 101

Micro820 series
Hide thumbs Also See for 2080-LC20-20QWB:
Table of Contents

Advertisement

Rockwell Automation Publication 2080-UM005B-EN-E - March 2015
Datalog Function Block Execution
IMPORTANT
There are three possible states for the Datalog function block: Idle,
Busy and Complete (which includes Complete with Succeed and
Complete with Error).
For one Datalog function block execution, the typical status starts
from Idle, then Busy and finishes with Complete. To trigger another
function block execution, the status needs to go back to Idle first.
Idle status changes to Busy status only when Enable input signal is in
rising edge. Complete status enters Idle status when Enable input
signal is Disable status only.
TSEnable and CfgId input parameters are only sampled at Enable
input parameter's rising edge when a new function block execution
starts. During function block execution, the input parameters of
TSEnable and CfgId are locked and any changes are ignored.
When execution completes, the status changes from Busy to
Complete. At this stage, if input Enable is False, status changes to
Idle after indicating Complete for exactly one scan time. Otherwise
function block status is kept as Complete until input Enable changes
to False.
The datalog file can only be created by the DLG instruction block.
Connected Components Workbench can only upload and delete the
datalog file.
There are separators in between every data variable in the data file
which is defined during configuration in Connected Components
Workbench.
See
Supported Data Types for Datalog and Recipe Function Blocks on
page
93.
Data variable values are sampled when datalogging function block is
in Busy state. However, datalogging file is only created when
datalogging function block is in Complete state.
Supported Data Types for Datalog and Recipe Function Blocks
Data Type
Description
(1)
BOOL
Logical Boolean with
values TRUE and FALSE
SINT
Signed 8-bit integer value -128, 127
INT
Signed 16-bit integer
value
DINT
Signed 32-bit integer
value
LINT
Signed 64-bit integer
value
USINT(BYTE)
Unsigned 8-bit integer
value
UINT(WORD)
Unsigned 16-bit integer
value
UDINT(DWORD)
Unsigned 32-bit integer
value
ULINT(LWORD)
Unsigned 64-bit integer
value
Using microSD Cards Chapter 9
Example format in output
datalog file
0: FALSE
1: TRUE)
-32768, 32767
-2147483648, 2147483647
-9223372036854775808, 9223372036854775807
0, 255
0, 65535
0, 4294967295
0, 18446744073709551615
93

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents