Mitsubishi Electric FX3G SERIES Programming Manual page 650

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
• Subtract "1" from the value of the pointer data
S
+n-1
+n-1
S
Related device
Device
M8020
Related instructions
Instruction
SFWR(FNC 38)
SFRD(FNC 39)
Cautions
• When this instruction is programmed in the continuous operation type, the instruction is executed in every operation
cycle. As a result, an expected operation may not be achieved.
Usually, program this instruction in the "pulse operation type", or let this instruction be executed by a "pulsed
command contact".
• When the current value of the pointer
executed.
Check in advance using a comparison instruction whether the current value of
and then execute this instruction.
• When the current value of the pointer
Error
An operation error is caused in the following cases; The error flag M8067 turns ON, and the error code is stored in
D8067.
• When
S
• When
S
648
S
+n-2
S
+6
No data area
+n-2
+6
S
S
Name
Zero flag
Turns ON when the instruction is executed while the pointer
Shift write [for FIFO/FILO control]
Shift read [for FIFO control]
S
S
is larger than "n-1" (error code: K6706)
is smaller than "0" (error code: K6706)
27.3 FNC212 – POP / Shift Last Data Read [FILO Control]
.
S
Data area
S
+5
S
+4
S
+5
+4
S
S
S
→ For the zero flag use method, refer to Subsection 6.5.2.
Description
is "0", the zero flag M8020 turns ON and the instruction is not
is "1", "0" is written to
27 Data Operation 3 – FNC210 to FNC219
Pointer
+3
S
+2
S
+1
S
In the case of K4
Pointer
+3
+2
+1
S
S
S
K4→K3
Description
S
is "0".
satisfies "1 ≤
S
S
and the zero flag M8020 turns ON.
D
≤ n-1",
S

Advertisement

Table of Contents
loading

This manual is also suitable for:

Fx3u seriesFx3uc series

Table of Contents