Specification Of Bit For Word Device [D .B]; Direct Specification Of Buffer Memory (U \G ) - Mitsubishi Electric MELSEC-Q Structured Programming Manual

Hide thumbs Also See for MELSEC-Q:
Table of Contents

Advertisement

FXCPU Structured Programming Manual
[Device & Common]
3.5

Specification of Bit for Word Device [D .b]

By specifying a bit of a word device, the specified bit can be used as bit data.
Only FX
/FX
3U
3UC
When specifying a bit of a word device, use a word device number and bit number (hexadecimal).
(Example: "D0.0" indicates the bit No. 0 of data register
Indexing is not available for both the device number and the bit number.
Target word device : Data register or special data register
Bit number
D0.F
D0 F E D C B A 9 8 7 6 5 4 3 2 1 0
3.6

Direct Specification of Buffer Memory (U \G )

A buffer memory (BFM) of a special function block or special function unit can be specified directly.
Only FX
/FX
3U
3UC
BFM is 16-bit or 32-bit word data, and mainly used for operands in instructions.
For specifying BMF, specify the unit number (U) of a special function block or special function unit and the
BFM number (\G) consecutively.
(Example: "U0\G0" indicates BFM #0 in the special function block or special function 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
Example of MOV instruction
Example of indexing BFM number
132
PLCs support this function.
: 0 to F(hexadecimal)
D0.3
16 bits
PLCs support this function.
MOV
EN
ENO
s
d
K10
U0\
Transfer source
Unit
number
MOV
EN
ENO
s
d
K20
U0\
Transfer source
Unit
number
3 How to Specify Devices and Constants in Instructions
.)
G10
BFM #10
G10Z0
BFM #(10 + Z0)
3.5 Specification of Bit for Word Device [D .b]

Advertisement

Table of Contents
loading

This manual is also suitable for:

Melsec-lMelsec-fFx3sFx3gFx3gcFx3u ... Show all

Table of Contents