Mitsubishi Electronics FX3G Video Gaming Accessories User Manual


 
538
FX3G/FX3U/FX3UC Series Programmable Controllers
Programming Manual - Basic & Applied Instruction Edition
19 Data Operation 2 – FNC140 to FNC149
19.5 FNC144 – DIS / 4-bit Grouping of Word Data
19.5 FNC144 – DIS / 4-bit Grouping of Word Data
Outline
This instruction separates 16-bit data into 4 bit units.
1. Instruction format
2. Set data
3. Applicable devices
Explanation of function and operation
1. 16-bit operation (DIS and DISP)
1) 16-bit data stored in is separated in 4-bit units, and stored in as shown below.
2) Specify a number 1 to 4 in "n".
In the case of "n = 0", DIS instruction is not executed.
3) High-order 12 bits of "n" devices starting from are set to "0".
Related instruction
Operand type Description Data type
Device number storing data to be separated
16-bit binary
Head device number storing separated data
n Number of data to be separated (0 to 4) (When "n" is "0", DIS instruction is not executed.)
Oper-
and
Type
Bit Devices Word Devices Others
System User Digit Specification System User
Special
Unit
Index
Con-
stant
Real
Number
Charac-
ter String
Pointer
XYMTCSD.b KnX KnY KnM KnS T C D R U\G VZModifyKH E ""P
3333 3
3333 3
n 33 33
Instruction Description
UNI (FNC143) Combines low-order 4 bits of 16-bit data.
P
FNC 144
DIS
Mnemonic Operation Condition
16-bit Instruction
7 steps
DIS
DISP
Mnemonic Operation Condition
Continuous
Operation
Pulse (Single)
Operation
32-bit Instruction
S
D
S
D
S
D
Low-order 4 bits
Low-order 4 bits
Low-order 4 bits
Low-order 4 bits
Command
input
FNC144
DISP
S
D
n
b15 b4 b3 b0
D
+0
+1
+2
They are set to
"0".
S
"n"
points
+3
Data storage area
b15 b12b11 b8b7 b4b3 b0
D