Fnc144 - Dis / 4-Bit Grouping Of Word Data - Mitsubishi Electric FX3G SERIES Programming Manual

Programmable controllers
Hide thumbs Also See for FX3G SERIES:
Table of Contents

Advertisement

FX
/FX
/FX
Series Programmable Controllers
3G
3U
3UC
Programming Manual - Basic & Applied Instruction Edition
19.5
FNC144 – DIS / 4-bit Grouping of Word Data
Outline
This instruction separates 16-bit data into 4 bit units.
1. Instruction format
FNC 144
DIS
P
2. Set data
Operand type
S
D
n
3. Applicable devices
Bit Devices
Oper-
and
System User
Type
X Y M T C S D .b KnX KnY KnM KnS T C D R U \G
S
D
n
Explanation of function and operation
1. 16-bit operation (DIS and DISP)
1)
16-bit data stored in
Command
input
b15
S
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
Related instruction
Instruction
UNI (FNC143)
Mnemonic
16-bit Instruction
7 steps DIS
DISP
Device number storing data to be separated
Head device number storing separated data
Number of data to be separated (0 to 4) (When "n" is "0", DIS instruction is not executed.)
Digit Specification
S
is separated in 4-bit units, and stored in
FNC144
S
D
DISP
b12b11
b8 b7
b4 b3
Combines low-order 4 bits of 16-bit data.
19 Data Operation 2 – FNC140 to FNC149
19.5 FNC144 – DIS / 4-bit Grouping of Word Data
Operation Condition
32-bit Instruction
Continuous
Operation
Pulse (Single)
Operation
Description
Word Devices
Special
System User
Index
Unit
V
Z Modify K H
D
n
b0
b15
+0
D
+1
+2
+3
They are set to
D
are set to "0".
Description
Mnemonic
Operation Condition
Data type
16-bit binary
Others
Con-
Real
Charac-
stant
Number
ter String
E
" "
as shown below.
b4 b3
b0
Low-order 4 bits
Low-order 4 bits
Low-order 4 bits
Low-order 4 bits
Data storage area
"0".
11
12
13
14
Pointer
15
P
16
17
"n"
points
18
19
20
541

Advertisement

Table of Contents
loading

This manual is also suitable for:

Fx3u seriesFx3uc series

Table of Contents