Справочник Пользователя для Mitsubishi Electronics FXCPU

Скачать
Страница из 838
27 Applied Instructions (Data Operation 3)
27.3 POP / Shift Last Data Read [FILO Control]
660
FXCPU Structured Programming Manual
[Basic & Applied Instruction]
27.3
POP / Shift Last Data Read [FILO Control]
Outline
This instruction reads the last data written by the shift write (SFWR) instruction for the first-in first-out and first-
in last-out control
1. Format and operation, execution form
2. Set data
3. Applicable devices
FX
3U(C)
FX
3G(C)
FX
3S
FX
2N(C)
FX
1N(C)
FX
1S
FX
U
/FX
2C
FX
0N
FX
0(S)
Instruction 
name
Operation
Execution 
form
Expression in each language
Structured ladder/FBD
ST
POP
16 bits
Continuous
POP(EN,s,n,d);
POPP
16 bits
Pulse
POPP(EN,s,n,d);
Variable
Description
Data type
Input
variable
EN
Execution condition
Bit
Head device storing first-in data (including pointer data)
ANY16
Number of pieces of data stored
(Add "1" because pointer data is also included.)
ANY16
Output
variable
ENO
Execution state
Bit
Device storing last-out data
ANY16
Operand 
type
Bit Devices
Word Devices
Others
System user
Digit specification
System 
user
Special 
unit
Index
Cons
tant
Real 
Number
Character 
String
Pointer
X Y M T C S D
.b KnX KnY KnM KnS T C D R U
\G
V Z Modifier K H
E
"
"
P
z
z
z z z z z
z
z
z z
z
z
z z z z z
z
z z
z
POP
EN
s
ENO
d
n
POPP
EN
s
ENO
d
n