83
2
3
4
5
6
7
8
3.2
D
esignating Dat
a
3.2.1
U
sing bit data
3.2
Designating Data
The following six types of data can be used with CPU module instructions.
3.2.1
Using bit data
Bit data is data used in one-bit units, such as for contacts or coils.
"Bit devices" and "Bit designated word devices" can be used as bit data.
(1) When using bit devices
Bit devices are designated in one-point units.
(2) Using word devices
(a) Word devices enable the use of a designated bit number 1/0 as bit data by the designation of that bit number.
(b) Word device bit designation is done by designating "
.
".
(Designation of bit numbers is done in hexadecimal.)
For example, bit 5 (b5) of D0 is designated as D0.5, and bit 10 (b10) of D0 is designated as D0.A. However, there
can be no bit designation for timers (T), retentive timers (ST), counters (C) or index register (Z). (Example Z0.0 is
not available).
Wo
r
d
d
ata
D
ata that can be han
d
le
d
by
CP
U m
od
ule
B
it
d
ata
Numeric
d
ata
C
haracter strin
g
d
ata
Inte
g
er
d
ata
R
eal number
(
fl
o
atin
g
p
o
int
)
d
ata
S
in
g
le-precisi
o
n
fl
o
atin
g
p
o
int
d
ata
Do
uble-precisi
o
n
fl
o
atin
g
p
o
int
d
ata
Do
uble-w
o
r
d
d
ata
M0
S
ET
Y
10
D
esi
g
nati
o
n
o
f
1
p
o
int
o
f bit
d
e
v
ice Y
10
D
esi
g
nati
o
n
o
f
1
p
o
int
o
f bit
d
e
v
ice
M0
b
1
5
b
0
1/0 1/0 1/0 1/0 1/0 1/0 1/0 1/0 1/0 1/0 1/0 1/0 1/0 1/0 1/0 1/0
t
o
Wo
r
d d
e
vi
ce
E
ach
b
i
t
o
f
a
w
o
r
d d
e
vi
ce
can
be
use
d (1=ON, 0=OFF)
Word device
Bit No.
D0.
5
SET
Y10
Bi
t
d
es
ig
nate
d
f
o
r
w
o
r
d d
e
vi
ce
(T
urns
ON Y10 i
f
b
i
t
5
(
b5
) o
f
D0 i
s
ON (1).)
X0
SET
D0.
5
Bi
t
d
es
ig
nate
d
f
o
r
w
o
r
d d
e
vi
ce
(Bi
t
5
(
b5
) o
f
D0 i
s
turne
d ON i
f
X0 i
s
ON.)