EasyManua.ls Logo

ALTUS Nexto NX3004 - Page 225

ALTUS Nexto NX3004
388 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
Loading...
4. Configuration
217
END_VAR
// When bStart=FALSE starts the counting
TOF_NR( IN := bStart,
PT := T#20S);
// Actions executed at the end of the counting
IF (TOF_NR.Q = FALSE) THEN
bStart := TRUE;
END_IF
TON_NR
The TON_NR function block implements a delay time to enable an output and has its functioning
and configuration similar to the TON_RET function block, differentiating only for not being
redundant nor retentive.
Figure 4-113. TON_NR Function Block
Utilization example in ST language:
PROGRAM NonSkippedProg
VAR
bStart : BOOL;
TON_NR : TON_NR;
END_VAR
// When bStart=TRUE starts the counting
TON_NR( IN := bStart,
PT := T#20S);
// Actions executed at the end of the counting
IF (TON_NR.Q = TRUE) THEN
bStart := FALSE;
END_IF
TP_NR
The TP_NR function block works as a trigger and has its functioning and configuration similar to the
TP_RET function block, differentiating only for not being redundant nor retentive.
Figure 4-114. TP_NR Function Block
Utilization example in ST language:
PROGRAM NonSkippedProg
VAR
bStart : BOOL;
TP_NR : TP_NR;
END_VAR
// Configure TP_NR
TP_NR( IN := bStart,
PT := T#20S);

Table of Contents