Fnc212 - Pop / Shift Last Data Read [Filo Control] - 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
27.3
FNC212 – POP / Shift Last Data Read [FILO Control]
Outline
This instruction reads the last data written by a shift write (SFWR) instruction for FILO control.
1. Instruction format
FNC 212
POP
P
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
S
D
n
Explanation of function and operation
1. 16-bit operation (POP and POPP)
Command
input
FNC212
POPP
Data for FILO control
Pointer data (amount of data stored)
S
S
+1
S
+2
S
+3
Data area
(First-in data written by shift write (SFWR) instruction)
S
+n-3
S
+n-2
S
+n-1
• Every time the instruction is executed for the word devices
S
" is read to
is read to
D
Mnemonic
16-bit Instruction
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
n
Description
D
. (The last data entry written by the shift write (SFWR) instruction for first-in first-out control
.) Specify "n" ranging from "2" to "512".
27 Data Operation 3 – FNC210 to FNC219
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
Index
Unit
T
C D R U \G
V
Z Modify K
S
to
S
+n-1, a device "
Mnemonic
Operation Condition
Data Type
16-bit binary
Others
Con-
Real
Charac-
Pointer
stant
Number
ter String
H
E
" "
P
S
+ Pointer data
647
21
22
23
24
25
26
27
28
29
30

Advertisement

Table of Contents
loading

This manual is also suitable for:

Fx3u seriesFx3uc series

Table of Contents