![Mitsubishi Electric MELSEC FX3G Скачать руководство пользователя страница 167](http://html.mh-extra.com/html/mitsubishi-electric/melsec-fx3g/melsec-fx3g_programming-manual_239083167.webp)
165
FX
3G
/FX
3U
/FX
3UC
Series Programmable Controllers
Programming Manual - Basic & Applied Instruction Edition
5 How to Specify Devices and Constants to Instructions
5.5 Bit Specification of a Word Device (D[ ].b)
1
Int
roduct
ion
2
O
ver
view
3
In
str
uc
tion
Li
st
4
D
evices
in D
etail
5
Spec
ified t
he
D
evice &
C
onst
ant
6
Bef
ore
Pr
ogr
am
m
ing
7
B
asic
In
st
ru
ct
io
n
8
FN
C
00-FN
C
09
P
rogr
am
F
low
9
FN
C
10
-FN
C
19
Mo
ve
&
Co
mp
are
10
FNC2
0-F
NC2
9
Ar
ith.
&
Logic
O
per
ation
5.5
Bit Specification of a Word Device (D[ ].b)
By specifying a bit of a word device, the specified bit can be used as bit data.
When specifying a bit of a word device, use a word device number and bit number (hexadecimal).
(Example: D0.0 ... Indicates the bit 0 of data register (D).)
Indexing is not available for both device numbers and bit numbers.
Target word device : Data register or special data register
Bit number
: 0 to F (hexadecimal)
5.6
Direct Specification of Buffer Memory (U[ ]\G[ ])
A buffer memory (BFM) of a special function block or special extension unit can be specified directly.
BFM is 16-bit or 32-bit word data, and is mainly used for operands in applied instructions.
For specifying a BFM, specify the unit number (U) of a special function block or special extension unit and the
BFM number (\G) consecutively.
(Example: U0\G0 ... Indicates the BFM #0 in the special function block or special extension unit whose unit
number is 0.)
Indexing is available for BFM numbers.
The specification range is as follows:
Unit number (U).................0 to 7
BFM number (\G) .............0 to 32766
D0.F
D0.3
D0 F E D C B A 9 8 7 6 5 4 3 2 1 0
16 bits
Transfer
source
Transfer
destination
Unit number
BFM #10
Example of MOV
instruction
Example of indexing
BFM number
FNC 12
MOV
K10
U0\G10
Transfer
source
Transfer
destination
FNC 12
MOV
K20
U0\G10Z0
Unit number
BFM #(10 + Z0)