172
••••
OMRON
QUICKDESIGNER
Omron Tag Variable Table
PLC Name
Word Range
Write
Value Range
IR
0-65535
Y
16-bit Integer
LR
0-65535
Y
16-bit Integer
HR
0-65535
Y
16-bit Integer
AR
0-65535
Y
16-bit Integer
DM
0-65535
Y(1)
16-bit Integer
TIMP
0-65535
Y
4-digit BCD
TIMHP
0-65535
Y
4-digit BCD
CNTP
0-65535
Y
4-digit BCD
CNTRP
0-65535
Y
4-digit BCD
TIMS
0-65535
Y
4-digit BCD
TIMHS
0-65535
Y
4-digit BCD
CNTS
0-65535
Y
4-digit BCD
CNTRS
0-65535
Y
4-digit BCD
(1)
Word writes are valid. Bit writes are not valid.
NOTE
According to Omron, writing to the Timer/Counter variable types using Host Link
protocol is not valid in RUN mode. Writing may cause a PLC COMM error in RUN
mode.
NOTE
When using a Timer or Counter, only ONE operation for each timer can be performed
on each screen. That is, if you are reading TIMP01 present, you cannot also try to read
TIMS01.
TIMP = Timer present
TIMS = Timer set
TIMHP = Timer (high resolution) present
TIMHS = Timer (high resolution) set
CNTP = Counter present
CNTS = Counter set
CNTRP = Counter (reverse) present
CNTRS = Counter (reverse) set
The word number is optionally followed by a colon ":" and a format qualifier. If the format is not
specified, it is assumed to be BCD for timers and counters, and 16-bit signed integer for everything
else. The format qualifiers are:
I
16-bit signed integer (-32768 to 32767)
L
32-bit signed integer (-2147483647 to 2147483647)
F
32-bit IEEE float (-9.9E-8 to 9.9E8)
C
16-bit BCD (0 to 9999)
D
32-bit double BCD (0 to 99999999)
B
Bit
The "B" qualifier is always followed by a 1 or 2 digit decimal number in the range of 0 to 15, with 0
being the low order bit. Writes are not permitted in the DM memory type.