Dfb_Sample - Delta Standard AX Series Instruction Manual

Table of Contents

Advertisement

AX Seri es-St andard I nst ruct i ons Manual

3.6 DFB_Sample

Supported Products
AX-308E, AX-364E, AX-324N
DFB_Sample is the application function block for high-speed counters, its role is to read the increasing and decreasing number
of the counter value during the sampling period.
FB/FC
Instruction
FB
DFB_Sample
Input
Name
instruction when
bEnable
bEnable changes
Sampling period
wSampleTime
Output
Name
bValid
bBusy
bError
ErrorID
diSampleValue
*Note: DFB_HSIO_ERROR: Enumeration (Enum)
Function
Data Type
Execute the
to True.
(Unit: 1ms)
Function
True when the output value is
valid.
True when the instruction is
enabled.
True if an error occurs.
Indicates the error code if an error
occurs.
Increasing number of the counter
value during each sampling
period.
Graphic Expression
Setting Value
(Default value)
BOOL
WORD
Data Type
DFB_HSIO_ERROR*
DFB_Sample_instance(
diSampleValue =>);
True/False
(False)
10~65535
(0)
Output Range(Default value)
BOOL
BOOL
BOOL
DFB_HSIO_ERROR
(DFB_HSIO_NO_ERR)
Positive number, negative
DINT
Chapt er 4
ST Language
Counter :=,
bEnable :=,
wSampleTime :=,
bValid =>,
bBusy =>,
bError =>,
ErrorID =>
Timing for Updating
-
When bEnable shifts to
True and bBusy is False
True/False(False)
True/False(False)
True/False(False)
number or 0(0)
5 4

Advertisement

Table of Contents
loading

This manual is also suitable for:

Standard as02puStandard as04pu

Table of Contents