Mitsubishi FX3G Series Programming Manual page 647

Programmable controllers
Hide thumbs Also See for FX3G Series:
Table of Contents

Advertisement

FX
/FX
/FX
/FX
3G
3U
3GC
3UC
Programming Manual - Basic & Applied Instruction Edition
When a bit device is specified by digit specification
4 K
bits are shifted according to the data of bit specification.
Command
input
FNC214
SFL
Carry flag
M8022
1
Related device
Device
M8022
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 a negative value is set to "n" (error code: K6706)
Program example
In the program example shown below, the contents of Y010 to Y017 are shifted leftward by the number of bits
specified by D0 when X020 turns ON.
X020
Carry flag
M8022
1
Series
K2M10
K3
M17
M14M13
0
0
1
1
0
M17
M14M13
M12
1
0
0
1
1
Name
Carry flag
Shifts the ON/OFF status of bit "n".
FNC214
K2Y10
SFLP
Y17
Y14 Y13
0
0
1
1
0
Y17
Y14 Y13
1
0
0
1
1
27 Data Operation 3 – FNC210 to FNC219
27.5 FNC214 – SFL / Bit Shift Left with Carry
M10
0
1
1
M10
0
0
0
Become "0".
→ For the carry flag use method, refer to Subsection 6.5.2.
Description
D0
END
Y10
0
1
1
D0
3
Y12
Y10
0
0
0
Become "0".
21
22
23
24
25
26
27
28
29
30
645

Advertisement

Table of Contents
loading

This manual is also suitable for:

Fx3u seriesFx3gc seriesFx3uc series

Table of Contents