User manual

36
N The R, L, M, K, F, and TC areas can be used for both bit and word
addressing.
N The W area can be used to process word data only.
N The L area can be used as internal contacts.
N Keep contact (K), data register (W), and counter's preset value
register retain their last values before power was removed.
Cleared when a new program is downloaded.
Bit and Word Addressing
A bit address is composed of a character (R, L, M, K, F) that identifies
its type, a five digit word address (0.0 to 127.15, increases by 0 to 15).
The timer/counter contact is represented by the TC label followed by
three digits. The three digits indicate the channel number of the timer/
counter (TC000 to TC255). TIM000 indicates a contact instead of TC000
for PGM10 and PGM-500.
A word address is composed of a character (R, L, M, K, W) and a four
digit number (0000 to 2047). Special registers have alternative address
representation. Special registers SR000 to SR511 can be also
represented as W2560 to W3071.
Both of bit and word addresses can be used to address the memory
areas of R, L, M, K. However, be cautious that instructions use a
specific type of address, either bit or word address, and the used
addresses are resolved automatically depending on the type of
instruction.
A bit can have the content of either On (1) or Off (0) state. A word is
composed of 16 bits and holds a data value from 0 to 65,535. A double
word is composed of 32 bits and holds a data value from 0 to
4,294,967,295.
Expression example
Bit number
1- or 2-digit, range is 00 to 15 increase as a
decimal module.
Word number
Address type
Depending on the type of the address, it is distinguished into
R, L, M, K, F, or W.
The W area contains:
data area (W0000 to W2047),
timer set value area (W2048 to W2303 = SV000 to SV255),
timer present value area(W2304 to W2559 = PV000 to PV255),
and special register (W2560 to W3071 = SR000 to SR511).
When used with a bit number, 3 digits (000 to 127) are
used.
When used as a word number only, it is expressed in
4 digits (0000 to 3071), and increases as a decimal
module and omits the bit number.
1 21 2 3R
N