Publication 1766-RM001A-EN-P - October 2008
Using the High-Speed Counter and Programmable Limit Switch
131
RAC - Reset
Accumulated Value
Instruction Type: output
The RAC instruction resets the high-speed counter and allows a specific
value to be written to the HSC accumulator. The RAC instruction uses the
following parameters:
•
Counter Number - Specifies which high-speed counter is being
used:
–
Counter Number 0 = HSC0, 1 = HSC1, 2 = HSC2, 3 = HSC3, 4 =
HSC4, 5 = HSC5
•
Source - Specifies the location of the data to be loaded into the HSC
accumulator. The data range is from -2,147,483,648…2,147,483,647.
Valid Addressing Modes and File Types are shown below:
RAC
Reset Accumulated Value
Counter
HSC0
Source
0
RAC
Controller
Execution Time When Rung Is:
True
False
MicroLogix 1400
8.3310 µs
0.2030 µs
RAC Instruction Valid Addressing Modes and File Types
For definitions of the terms used in this table see Using the Instruction Descriptions on page 92.
Parameter
Data Files
Function Files
CSF - Comms
IO
S -
I/O
DL
S -
D
a
ta
Log
Address
Mode
Address Level
O
I
S
B
T,
C
, R
N
F
ST
L
MG, PD
RI/RIX
PLS
RTC
HS
C
PTOX, P
W
MX
STI
EII
BH
I
MMI
LCD
Imm
e
diat
e
Di
re
ct
Indir
e
ct
Bi
t
Wo
rd
Long W
o
rd
E
lem
en
t
Counter Number
•
Source
•
•
•
•
•
efesotomasyon.com - Allen Bradley,Rockwell,plc,servo,drive