132
FX
3U
/FX
3UC
Series Programmable Controllers
Programming Manual - Basic & Applied Instruction Edition
5 How to Specify Devices and Constants to Instructions
5.5 Specification of a Bit of Word Device (D[ ].b)
5.5
Specification of a Bit of 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)