541
FX3S/FX3G/FX3GC/FX3U/FX3UC Series
Programming Manual - Basic & Applied Instruction Edition
19 Data Operation 2 – FNC140 to FNC149
19.5 FNC144 – DIS / 4-bit Grouping of Word Data
11
FNC30-FNC39
Rotation and
Shift
12
FNC40-FNC49
Data Operation
13
FNC50-FNC59
High-Speed
Processing
14
FMC60-FNC69
Handy
Instruction
15
FNC70-FNC79
External FX I/O
Device
16
FNC80-FNC89
External FX
Device
17
FNC100-FNC109
Data
Transfer 2
18
FNC110-FNC139
Floating Point
19
FNC140-FNC149
Data
Operation 2
20
FNC150-FNC159
Positioning
Control
Errors
An operation error occurs in the following cases; The error flag M8067 turns ON, and the error code is stored in
D8067.
• When to +n are outside the specified device range (error code: K6706)
• When "n" is outside the range from "0 to 4" (error code: K6706)
Program example
In the program below, D0 is separated into 4 bit units and stored in D10 to D13 when X000 turns ON.
D
D
X000
FNC144
DISP
D0 D10 K4
END
b15 b4 b3 b0b2 b1
D10
b15 b12b11 b4 b3 b0
1000101010010011 1000000000000000
1010000000000000
1001000000000000
Data storage
area
0011000000000000
They are set to "0".
D10
D11
D12
D13
b8 b7