Справочник Пользователя для Mitsubishi Electronics FXCPU
3 Configuration of Instruction
3.3 Devices and Addresses
47
FXCPU Structured Programming Manual
[Basic & Applied Instruction]
1
O
utlin
e
e
2
Instruc
tion Li
st
3
Configurati
on of
Instruction
4
Ho
w t
o R
ea
d
Explanati
on of
Ins
truction
truction
s
5
B
asic
Instruction
6
Step Ladder
Instruct
ions
7
Ap
pl
ied Inst
ruct
io
io
ns
(Program Flow)
8
Appl
ied
ied
In
stru
cti
cti
ons
(Mov
e and
C
omp
are)
are)
9
App
lie
lie
d Instr
uction
s
s
(Ari
thm
eti
thm
eti
c and
Lo
gic
al O
per
at
ion)
10
App
lied Inst
lied Inst
ructi
ons
ons
(Rot
ati
ati
on and
Shift O
perati
on)
3.3
Devices and Addresses
A device is expressed by a device or an address.
Device
The device is expressed by a device name and a device number.
Address
An address is expressed by a method defined by IEC61131-3.
It is expressed as follows according to IEC61131-3.
It is expressed as follows according to IEC61131-3.
• Position of memory area
This is the first classification to identify the position of memory area either by input, output and internal
where data is allocated.
X (X device)
where data is allocated.
X (X device)
:I (Input)
Y (Y device)
:Q (Output)
Device other than above :M (Internal)
• Size
The principle of expression method corresponding to device (method of expression for MELSEC) is as
follows.
Bit device
follows.
Bit device
:X (Bit)
Word device :W (Word), D (Double word)
• Classification
This is the second classification to identify the types of device that cannot be classified only by the above
position and size.
X or Y of a device does not classify.
position and size.
X or Y of a device does not classify.
Refer below for the expression corresponding to the device expression.
→ Appendix A
Top
1st character:
position
2nd character: size
3rd character and
onwards: classification
Number
%
I
Input
(Omitted)
Bit
These are the numbers for
detailed classification. This
number is separated by "."
(period) from subsequent
numbers.
This number may be
omitted.
detailed classification. This
number is separated by "."
(period) from subsequent
numbers.
This number may be
omitted.
The number that indicates a
device number (decimal
number).
device number (decimal
number).
Q
Output
X
Bit
M
Internal
W
Word (16 bits)
D
Double word (32 bits)
X 0
D 100
Device name
Device number
%I X 0
%M X 1 . 863
Position of
memory area
memory area
Size
Classification Number