Mitsubishi Electric FX3G SERIES Programming Manual page 314

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
Explanation of function and operation
1. 16-bit operation (SFWR and SFWRP)
The contents of
.
D
For example, when
are written to
S
Command
input
FNC 38
SFWRP
S
Before
execution
D+n
S
D+n
After
execution
S
D+n
1)
When X000 turns from OFF to ON, the contents of
become equivalent to
2)
When the contents of
contents of
continuous operation type SFWR instruction is used, the contents are stored in each operation cycle. Use the
pulse operation type SFWRP instruction in programming.)
3)
Data is stored from the right end in the same way, and the number of stored data is specified by the contents of
the pointer
Related device
Device
M8022
Related instructions
Instruction
SFRD (FNC 39)
POP (FNC212)
Caution
1. In the case of continuous operation type (SFWR) instruction
Note that data is stored (overwritten) in each scan time (operation cycle).
312
are written to "n-1" devices from
S
= 0, the contents of
D
+2.
D
S
D
...
D+10 D+9 D+8 D+7 D+6 D+5 D+4 D+3
...
D+10 D+9 D+8 D+7 D+6 D+5 D+4 D+3
...
D+10 D+9 D+8 D+7 D+6 D+5 D+4 D+3
.
S
are changed and then the command input is set from OFF to ON again, the new
S
are stored to
+2. So the contents of
S
D
.
D
Name
When the contents of the pointer
Carry
and the carry flag M8022 turns ON.
Shift read (for FIFO control)
Shift last data read (for FILO control)
11 Rotation and Shift Operation – FNC 30 to FNC 39
11.9 FNC 38 – SFWR / Shift Write [FIFO/FILO Control]
+1, and "1" is added to the number of data stored in
D
are written to
S
D
n
n
D+2
Executed at the 1st time
D
(
= 0)
D+2
Executed at the 2nd time
S
are stored to
S
+2 become equivalent to
D
→ For the carry flag use method, refer to Subsection 6.5.2.
Description
exceeds "n-1", no operation is executed (so data is not written)
D
Description
+1. When
= 1, the contents of
D
D+1
D
Pointer
+1 →
D
D
(K0)
(K1)
S
D
Pointer
+1 →
D
D
(K2)
(K1)
S
D
Pointer
+1. So the contents of
D
S
+1
D
. (When the

Advertisement

Table of Contents
loading

This manual is also suitable for:

Fx3u seriesFx3uc series

Table of Contents