Fnc102 - Zpush/Batch Store Of Index Register - Mitsubishi Electric MELSEC FX3U Programming Manual

Melsec fx series programmable logic controllers
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 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 T C D R U \G
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
When the contents of index registers are batch-stored, the number of times of batch-storage
incremented by "1".
2) For restoring the batch-stored data, use ZPOP (FNC103) instruction.
Use ZPUSH (FNC102) and ZPOP (FNC103) instruction as a pair.
3) By specifying a same device to
in the nest structure.
In this case, the occupied points are added by "16" after
executed. Secure in advance sufficient area for the number of the next structure.
500
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
+1 to
D
D
storage destination
Digit Specification
FNC102
D
ZPUSH
D
17.1 FNC102 – ZPUSH/Batch Store of Index Register
→ For 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
, ZPUSH (FNC102) and ZPOP (FNC103) instructions can be used
every time ZPUSH (FNC102) instruction is
D
17 Data Transfer 2 – FNC100 to FNC109
Mnemonic
Operation Condition
16-bit binary
Others
Con-
Real
Index
stant
Number
V Z Modify K H
E
Data Type
Charac-
Pointer
ter String
" "
P
and later.
D
is
D

Advertisement

Table of Contents
loading

This manual is also suitable for:

Melsec fx3ucMelsec fx3g

Table of Contents