Mitsubishi Electronics FX3S Garage Door Opener User Manual


 
160
FX3S/FX3G/FX3GC/FX3U/FX3UC Series
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)
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 units/blocks 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 units/blocks and the BFM number (\G)
consecutively.
(Example: U0\G0 ... Indicates the BFM #0 in the special function units/blocks 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)