Fnc102 - Zpush/Batch Store Of Index Register - 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
17.1
FNC102 – ZPUSH/Batch Store of Index Register
Outline
This instruction temporarily batch-stores the present value of the index registers V0 to V7 and Z0 to Z7.
For restoring the present value of temporarily batch-stored index registers, use the ZPOP (FNC103) instruction.
1. Instruction format
FNC 102
ZPUSH
2. Set data
Operand Type
D
3. Applicable devices
Bit Devices
Oper-
and
System User
Type
X Y M T C S D .b KnX KnY KnM KnS
D
: Except special data register (D)
Explanation of function and operation
1. 16-bit operation (ZPUSH/ZPUSHP)
Command
input
1)
The contents of the index registers V0 to V7 and Z0 to Z7 are batch-stored temporarily to
the contents of index registers are batch-stored, the number of times of batch-storage
"1".
2)
For restoring the batch-stored data, use the ZPOP (FNC103) instruction.
Use the ZPUSH (FNC102) and ZPOP (FNC103) instruction as a pair.
3)
By specifying the same device to
nest structure.
In this case, the occupied points are incremented by "16" after
is executed. Secure sufficient area for the number of the next structure in advance.
482
Mnemonic
16-bit Instruction
P
3 steps ZPUSH
ZPUSHP
Head device number batch-storing the present value of the index registers V0 to V7 and
Z0 to Z7
: Number of times of batch-storage
D
+16 × Number of times of batch-storage: Batch-stored data storage
D
+1 to
D
destination
Digit Specification
FNC102
D
ZPUSH
D
17.1 FNC102 – ZPUSH/Batch Store of Index Register
→ For the ZPOP (FNC103) instruction, refer to Section 17.2.
Operation Condition
32-bit Instruction
Continuous
Operation
Pulse (Single)
Operation
Description
Word Devices
Special
System User
Unit
T
C D R U \G
, ZPUSH (FNC102) and ZPOP (FNC103) instructions can be used in the
D
17 Data Transfer 2 – FNC100 to FNC109
Mnemonic
Operation Condition
Others
Con-
Real
Index
stant
Number
V
Z Modify K
H
E
D
D
is incremented by
every time the ZPUSH (FNC102) instruction
Data Type
16-bit binary
Charac-
Pointer
ter String
" "
P
and later. When

Advertisement

Table of Contents
loading

This manual is also suitable for:

Fx3u seriesFx3uc series

Table of Contents