Rockwell Automation DeviceLogix System User Manual User Manual
Page 37

Publication RA-UM003B-EN-P - February 2010
37
Navigate the Function Block Editor Interface Chapter 2
The valid data ranges are as follows.
Timer/Counter Category
The Timer/Counter category includes the following instruction types:
• Timers - The Timer controls the state of a single output based on
the value of an Accumulator and a Preset. The Timer has two
inputs called Input and Reset which control the counting of the
Accumulator. The three timers available are:
– On-Delay Timer
– Off-Delay Timer
– Pulse Timer
All three timers have a selectable time base of either 1
millisecond or 10 milliseconds. The timers are non-retentive.
Only the output status is available. No Timer Timing or Timer
Done bits are available. The different timers are described in the
next sections.
• Counters - There are two kinds of Counters:
– Up Counter
– Up/Down Counter
The difference is the Up/Down Counter has two input path: one
for up counting and the other for down counting. The Reset
path binding is optional for Counters. You can also change
element type by editing the name field.
Parameters
Data Range
SampleEnable
0, 1
NumberOfSamples
1 ~ 65535
SampleRate
0 ~ 65535
FaultOption
0, 1, 2, 3
FaultStateValue
-2147483648 ~ 2147483647 (DINT)
-3.402823466e+38F ~ 3.402823466e+38F (REAL)
IMPORTANT
When data values are large, switching between REAL and DINT
data types may cause a minimal loss of accuracy. For example,
a value of 99999999 DINT will be rounded up to 100000000
REAL when you switch to a REAL data type and then back to a
DINT data type.