Fnc 37 - Wsfl / Word Shift Left - 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
11.8
FNC 37 – WSFL / Word Shift Left
Outline
This instruction shifts the word data information leftward by the specified number of words.
1. Instruction format
FNC 37
P
WSFL
2. Set data
Operand Type
S
D
n1
n2
*1.
Do not set a negative value to the number of words to be shifted leftward.
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
n1
n2
: This function is supported only in FX
Explanation of function and operation
1. 16-bit operation (WSFL and WSFLP)
For "n1" word devices starting from
After shift, "n2" words starting from
Command
input
FNC 37
WSFLP
Mnemonic
16-bit Instruction
WSFL
9 steps
WSFLP
Head device number to be stored to the shift data after leftward shift
Head word device number storing data to be shifted leftward
Word data length of the shift data n2 ≤ n1 ≤ 512
Number of words to be shifted leftward n2 ≤ n1 ≤ 512
Digit Specification
/FX
3U
3UC
, "n2" words are shifted leftward ([1] and [2] shown below).
D
are shifted to "n2" words starting from
S
S
D
11 Rotation and Shift Operation – FNC 30 to FNC 39
Operation Condition
32-bit Instruction
Continuous
Operation
Pulse (Single)
Operation
Description
*1
Word Devices
Special
System User
Unit
V
PLCs.
n1
n2
11.8 FNC 37 – WSFL / Word Shift Left
Mnemonic
Operation Condition
Data Type
16-bit binary
16-bit binary
16-bit binary
16-bit binary
Others
Con-
Real
Charac-
Index
stant
Number
ter String
Z Modify K H
E
" "
([3] shown below).
D
11
12
13
14
15
Pointer
P
16
17
18
19
20
309

Advertisement

Table of Contents
loading

This manual is also suitable for:

Fx3u seriesFx3uc series

Table of Contents