Retentive Timer On With Reset (Rtor); Structured Text; Function Block Operands; Fbd_Timer Structure - Allen-Bradley Logix5000 Reference Manual

1756 controllogix, 1768 compactlogix, 1769 compactlogix, 1789 softlogix, 1794 flexlogix, powerflex 700s with drivelogix
Hide thumbs Also See for Logix5000:
Table of Contents

Advertisement

Retentive Timer On with
Reset (RTOR)
RTOR(RTOR_tag);
Input Parameter
Data Type
EnableIn
BOOL
TimerEnable
BOOL
PRE
DINT
Reset
BOOL
Output Parameter
Data Type
EnableOut
BOOL
ACC
DINT
EN
BOOL
TT
BOOL
DN
BOOL
Status
DINT
InstructFault (Status.0)
BOOL
PresetInv (Status.1)
BOOL
Timer and Counter Instructions (TON, TOF, RTO, TONR, TOFR, RTOR, CTU, CTD, CTUD, RES)
The RTOR instruction is a retentive timer that accumulates time when
TimerEnable is set.
This instruction is available in relay ladder as two separate instructions:
· RTO (See
· RES (See
Operands:

Structured Text

Variable
RTOR tag

Function Block Operands

Operand
RTOR tag

FBD_TIMER Structure

Description
Function Block
If cleared, the instruction does not execute and outputs are not updated.
If set, the instruction executes.
Default is set.
Structured Text
No effect. The instruction executes.
If set, this enables the timer to run and accumulate time.
Default is cleared.
Timer preset value. This is the value in 1ms units that ACC must reach before timing is finished. If
invalid, the instruction sets the appropriate bit in Status and the timer does not execute.
Valid = 0 to maximum positive integer
Request to reset the timer. When set, the timer resets.
Description
The instruction produced a valid result.
Accumulated time in milliseconds. This value is retained even while the TimerEnable input is cleared.
This makes the behavior of this block different than the TONR block.
Timer enabled output. Indicates the timer instruction is enabled.
Timer timing output. When set, a timing operation is in progress.
Timing done output. Indicates when accumulated time is greater than or equal to preset.
Status of the function block.
The instruction detected one of the following execution errors. This is not a minor or major controller
error. Check the remaining status bits to determine what occurred.
The preset value is invalid.
Rockwell Automation Publication 1756-RM003N-EN-P - October 2011
page
124).
page
153).
Type
FBD_TIMER
Type
FBD_TIMER
Format
Description
Structure
RTOR structure
Format
Description
Structure
RTOR structure
Chapter 3
137

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents