EasyManuals Logo
Home>Allen-Bradley>Control Unit>MicroLogix 1200

Allen-Bradley MicroLogix 1200 Reference Manual

Allen-Bradley MicroLogix 1200
424 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 #142 background imageLoading...
Page #142 background image
Publication 1762-RM001C-EN-P
8-10 Timer and Counter Instructions
RES - Reset
Instruction Type: output
The RES instruction resets timers, counters, and control elements. When
the RES instruction is executed, it resets the data defined by the RES
instruction.
The RES instruction has no effect when the rung state is false. The
following table shows which elements are modified:
Addressing Modes and File Types can be used as shown in the following
table:
RES
R6:0
Table 8.15 Execution Time for the RES Instructions
Controller When Rung Is:
True False
MicroLogix 1200 5.9
µ
s0.0
µ
s
MicroLogix 1500 4.8
µ
s0.0
µ
s
Table 8.16 RES Instruction Operation
When using a RES instruction with a:
Timer Element Counter Element Control Element
The controller resets the:
ACC value to 0
DN bit
TT bit
EN bit
The controller resets the:
ACC value to 0
OV bit
UN bit
DN bit
CU bit
CD bit
The controller resets the:
POS value to 0
EN bit
EU bit
DN bit
EM bit
ER bit
UL bit
ATTENTION
!
Because the RES instruction resets the accumulated value
and status bits, do not use the RES instruction to reset a
timer address used in a TOF instruction. If the TOF
accumulated value and status bits are reset, unpredictable
machine operation or injury to personnel may occur.
Table 8.17 RES Instruction Valid Addressing Modes and File Types
For definitions of the terms used in this table see Using the Instruction Descriptions on page4-2.
Parameter
Data Files Function Files
CS - Comms
IOS - I/O
Address
Mode
Address
Level
O
I
S
B
T, C, R
N
ST
L
MG, PD
RTC
HSC
PTO, PWM
STI
EII
BHI
MMI
DAT
TPI
Immediate
Direct
Indirect
Bit
Word
Long Word
Element
Structure

Table of Contents

Other manuals for Allen-Bradley MicroLogix 1200

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Allen-Bradley MicroLogix 1200 and is the answer not in the manual?

Allen-Bradley MicroLogix 1200 Specifications

General IconGeneral
BrandAllen-Bradley
ModelMicroLogix 1200
CategoryControl Unit
LanguageEnglish

Related product manuals