3 - 7
3 Safety Standard Function Blocks
NX-series Safety Control Unit Instructions Reference Manual (Z931)
3
SF_CTUD
SF_CTUD
This FB creates an up-down counter that operates according to an up-counter input and a down-coun-
ter input.
• This FB creates an up-down counter that operates according to an up-counter input signal and a
down-counter input signal.
• The counter has the functions of both an up counter and a down counter.
• The preset value and counter value must have a SAFEINT data type.
Instruction
Name
FB/FUN
Graphic expression
SF_CTUD
Up-down Counter
FB
Variables
Input Variables
Variable
Name
Data type
Valid range
Default
Description
CU
Up counter input
BOOL
TRUE or FALSE
FALSE
Up counter input
CD
Down-counter input BOOL
TRUE or FALSE
FALSE
Down-counter input
RESET
Reset signal
BOOL
TRUE or FALSE
FALSE
TRUE: Reset
CV
to 0.
LOAD
Load signal
BOOL
TRUE or FALSE
FALSE
TRUE: Set
CV
to
PV
.
PV
Preset value
SAFEINT
0 to 32767
0
This is the count-up value for an up
counter or the initial value for a
down counter.
Output Variables
Variable
Name
Data type
Valid range
Default
Description
QU
Up-counter output
SAFEBOOL TRUE or FALSE
FALSE
TRUE:
CV
is greater than or equal
to
PV
.
FALSE:
CV
is less than
PV
.
QD
Down-counter out-
put
SAFEBOOL TRUE or FALSE
FALSE
TRUE:
CV
is 0 or lower.
FALSE:
CV
is 1 or higher.
CV
Counter value
SAFEINT
0 to 32767
0
Counter present value
Function
SF_CTUD
CU
CD
RESET
LOAD
PV
QU
QD
CV
Summary of Contents for NX-SL series
Page 8: ...CONTENTS 6 NX series Safety Control Unit Instructions Reference Manual Z931 ...
Page 28: ...Sections in this Manual 26 NX series Safety Control Unit Instructions Reference Manual Z931 ...
Page 98: ...2 Standard Functions 2 64 NX series Safety Control Unit Instructions Reference Manual Z931 ...
Page 104: ...2 Standard Functions 2 70 NX series Safety Control Unit Instructions Reference Manual Z931 ...
Page 110: ...2 Standard Functions 2 76 NX series Safety Control Unit Instructions Reference Manual Z931 ...
Page 265: ...I 1 I NX series Safety Control Unit Instructions Reference Manual Z931 Index ...
Page 268: ...I 4 NX series Safety Control Unit Instructions Reference Manual Z931 Index ...
Page 269: ......