FX Series Programmable Controllers Devices in Detail 4
4-41
Assigning grouped bit devices:
As alread
explained, bit devices can be
rouped into 4 bit units. The “n” in KnM0 defines the
number of
roups of 4 bits to be combined for data operation. K1 to K4 are allowed for 16bit
data operations but K1 to K8 are valid for 32bit operations.
K2M0, for example identifies 2
roups of 4 bits; M0 to M3 and M4 to M7,
ivin
a total of 8 bit
devices or 1 b
te. The dia
ram below identifies more examples of Kn use.
K1X0 : X0 to X3 4 bit devices with a head address of X0
K1X6 : X6 to X11 4 bit devices with a head address of X6
K3X0 : X0 to X13 12 bit devices with a head address of X0
K8X0 : X0 to X37 32 bit devices with a head address of X0
Moving grouped bit devices:
• If a data move involves takin
source data and movin
it into a destination which is
smaller than the ori
inal source, then the overflowin
source data is i
nored. For exam-
ple;
If K3M20 is moved to K1M0 then onl
M20 to M23 or K1M20 is actuall
moved. The
remainin
data K2M24 or M24 to M31 is i
nored.
Assigning I/O:
•An
value taken from the available ran
e of devices can be used for the head address
‘marker’ of a bit device
roup. However, it is recommended to use a 0 (zero) in the low-
est di
it place of X and Y devices (X0, X10, X20.....etc). For M and S devices, use of a
multiple of “8” is the most device efficient. However, because the use of such numbers
ma
lead to confusion in assi
nin
device numbers, it recommended to use a multiple of
“10”. This will allow
ood correlation to X and Y devices.
1 011 010010110010 00 0 1 0
X0X1X2X3X4X5X6X7X10X11X12X13X14X15X16X31X32X33X34X35X36 X30X37
K1X0K1X6
K3X0
K8X0