Fnc212 - Pop / Shift Last Data Read [Filo Control] - 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
27.3
FNC212 – POP / Shift Last Data Read [FILO Control]
Outline
This instruction reads the last data written by shift write (SFWR) instruction for FILO control.
1. Instruction format
FNC 212
POP
2. Set data
Operand Type
S
D
n
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
S
D
n
Explanation of function and operation
1. 16-bit operation (POP and POPP)
Command
input
FNC212
POPP
Data for FILO control
S
S
+1
S
+2
+3
S
S
+n-3
S
+n-2
+n-1
S
• Every time the instruction is executed for the word devices
data
" is read to
S
first-out control is read to
680
Mnemonic
16-bit Instruction
P
POP
7 steps
POPP
Head device number storing first-in data (including pointer data)
Device number storing last-out data
Length of data array
(Add "1" because pointer data is also included.)
2 ≤ n ≤ 512
Digit Specification
S
D
Description
Pointer data (amount of data stored)
Data area
(First-in data written by shift write (SFWR) instruction)
. (The last data entry written by the shift write (SFWR) instruction for first-in
D
.) Specify "n" in the range from "2" to "512".
D
27.3 FNC212 – POP / Shift Last Data Read [FILO Control]
→ For SFWR (FNC 38) instruction, refer to Section 11.9.
Operation Condition
32-bit Instruction
Continuous
Operation
Pulse (Single)
Operation
Description
Word Devices
Special
System User
Unit
n
S
27 Data Operation 3 – FNC210 to FNC219
Mnemonic
Operation Condition
Others
Con-
Real
Index
stant
Number
V Z Modify K H
E
to
+n-1, a device "
S
Data Type
16-bit binary
Charac-
Pointer
ter String
" "
P
+ Pointer
S

Advertisement

Table of Contents
loading

This manual is also suitable for:

Melsec fx3ucMelsec fx3g

Table of Contents