7 Applied Instructions
7.13 Data Operation 2
523
FXCPU Structured Programming Manual
(Basic & Applied Instruction)
1
Outline
2
Instruction List
3
Configuration of
Instruction
4
How to Read
Explanation of
Instructions
5
Basic Instruction
6
Step Ladder
Instructions
7
Applied
Instructions
8
Interrupt Function
and Pulse Catch
Function
A
Relationships
between devices
and addresses
Function and operation explanation
1. 16-bit operation (UNI/UNIP)
1) 16-bit data coupling lower 4 bits of 16-bit data of n points from the device specified by is stored in
the device specified by as shown below.
2) Any one of 1 to 4 is specified by n.
In the case of n=0, instruction is not processed.
3) In the case of 1 ≤ n ≤ 3, higher (4×(4-n)) bits of the device specified by are 0.
For example, in the case of n=3, lower 4 bits of to ( +2) are stored in b0 to b11 of , and
higher 4 bits of are 0.
Related instructions
Cautions
FX3UC PLC supports at V2.20 or later.
Error
In the following case, it is an operation error, error flag M8067 is turned ON, and error code is stored in
D8067.
1) When to ( +n) exceeds the device range of the specified devices. (Error code: K6706)
2) When n is specified other than 0 to 4. (Error code: K6706)
Instruction Content
DIS This instruction separates 16-bit data in 4-bit unit.
Lower 4 bits
Lower 4 bits
Lower 4 bits
Lower 4 bits
b15 b4 b3 b0
+0
1
2
Ignored.
n points
3
Data to be coupled
b15 b12b11 b8 b7 b4 b3 b0
d
s
UNIP
EN
s
n
ENO
d
Command
input
Head device of data to be coupled Head device for storing the coupled data.
Number of couples
Lower 4 bits
Lower 4 bits
Lower 4 bits
b15 b4 b3 b0
+0
+1
+2
Ignored.
Data to be coupled
b15 b12b11 b8 b7 b4 b3 b0
In the case of n=3,
b12 to b15 are 0.
0000
d
s