Fnc 38 - Sfwr / Shift Write [Fifo/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
11.9
FNC 38 – SFWR / Shift Write [FIFO/FILO Control]
Outline
This instruction writes data for first-in first-out (FIFO) and last-in first-out (LIFO) control.
1. Instruction format
FNC 38
SFWR
P
2. Set data
Operand Type
S
D
n
*1.
"+1" is required for the pointer.
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
: This function is supported only in FX
Mnemonic
16-bit Instruction
SFWR
7 steps
SFWRP
Word device number storing data to be put in first
Head word device number storing data (The first word device works as the
pointer, and data is stored in
Number of store points plus "1"
Digit Specification
/FX
3U
11 Rotation and Shift Operation – FNC 30 to FNC 39
11.9 FNC 38 – SFWR / Shift Write [FIFO/FILO Control]
Operation Condition
32-bit Instruction
Continuous
Operation
Pulse (Single)
Operation
Description
+1 and later)
D
*1
2
n
512
Word Devices
Special
System User
Unit
V Z Modify K H
PLCs.
3UC
Mnemonic
Operation Condition
Data Type
16-bit binary
16-bit binary
16-bit binary
Others
Con-
Real
Charac-
Index
stant
Number
ter String
E
" "
11
12
13
14
15
Pointer
P
16
17
18
19
20
325

Advertisement

Table of Contents
loading

This manual is also suitable for:

Melsec fx3ucMelsec fx3g

Table of Contents