EasyManuals Logo

ALTUS Nexto NX3004 User Manual

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
Page #223 background imageLoading...
Page #223 background image
4. Configuration
215
Figure 4-109. TON_RET Block Graphic Behavior
Utilization example in ST language:
PROGRAM MainPrg
VAR RETAIN
bStart : BOOL;
TON_RET : TON_RET;
END_VAR
// When bStart=TRUE starts counting
TON_RET( IN := bStart,
PT := T#20S);
// Actions executed at the end of the counting
IF (TON_RET.Q = TRUE) THEN
bStart := FALSE;
END_IF
TP_RET
The TP_RET function block works as a trigger. The timer which starts when the IN input has its state
changed from FALSE to TRUE, that is, a rising edge, it is increased until the PT time limit is
reached. During the counting, the Q output is TRUE, otherwise it is FALSE. The PT time can be
changed during the counting as the block assumes the new value if the counting has not finished.
Figure 4-110 depicts the TP_RET and Figure 4-111 shows its graphic behavior.
Figure 4-110. TP_RET Function Block
Input parameters
Type
Description
IN
BOOL
This variable, when receives a rising edge,
enables the function block counting.
PT
TIME
This variable specifies the function block
counting limit (time delay).
Table 4-155. TP_RET Input Parameters
Output parameters
Type
Description
Q
BOOL
This variable is true during the counting,
otherwise is false.
ET
TIME
This variable shows the current time delay.
Table 4-156. TP_RET Output Parameters

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the ALTUS Nexto NX3004 and is the answer not in the manual?

ALTUS Nexto NX3004 Specifications

General IconGeneral
BrandALTUS
ModelNexto NX3004
CategoryProcessor
LanguageEnglish