7 Applied Instructions
7.11 Data Transfer 2
447
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
7.11.2 ZPOP
Outline
This instruction returns the contents of index registers V0 to V7, Z0 to Z7 once retracted by the ZPUSH
instruction to the original state.
→ As for ZPUSH (FNC102) instruction, refer to section 17.1.
1. Format and operation, execution form
2. Set data
3. Applicable devices
Function and operation explanation
1. 16-bit operation (ZPOP/ZPOPP)
→ As for the function and operation, refer also to section 7.11.1.
1) The contents of index registers Z0 to Z7, V0 to V7 once retracted after the device specified by by
ZPUSH instruction are restored in the original index register. When the contents of the index register are
restored, the number of retraction of the device specified by is processed by -1.
2) Use ZPUSH instruction for temporary retraction of data.
Use ZPUSH, ZPOP instructions in pair.
FX3U(C) FX3G FX2N(C) FX1N(C) FX1S FXU/FX2C FX0N FX0(S)
Instruction
name
Operation
Execution
form
Expression in each language
Structured ladder ST
ZPOP 16 bits Continuous ZPOP(EN, d);
ZPOPP 16 bits Pulse ZPOPP(EN, d);
Variable Description Data type
Input
variable
EN Execution condition Bit
Output
variable
ENO Execution state Bit
Head device once retracting the contents of index registers V0 to V7, Z0 to
Z7 [(1+16 × times of retraction) occupied]
ANY16
Operand
type
Bit Devices Word Devices Others
System user Digit designation
System
user
Special
unit
Index
Con
stant
Real
Number
Character
String
Pointer
XYMTCS
D.b
KnX KnY KnM KnS T C D R
U\G
V Z Modifier K H E
"
"
P
zz
ZPOP
EN ENO
d
ZPOPP
EN ENO
d
Command
input
ZPOP
EN ENO
d
Head device once retracting
the contents of index registers