Mitsubishi MELSEC Q Series Programming Manual page 427

Common instruction 1/2
Hide thumbs Also See for MELSEC Q Series:
Table of Contents

Advertisement

Program Example
(1) The following program shifts the data of Y10 to Y17 (8 bits) specified by
bits (n2), when M0 is turned on.
[Ladder Mode]
[Operation]
Y17
Y16
1
Y17
Y16
0
(2) The following program shifts the data of Y21 to Y2C (12 bits) specified by
bits (n2), when M0 is turned on.
[Ladder Mode]
[Operation]
Carry flag
(SM700)
0
Y15
Y14
Y13
0
1
1
1
Y15
Y14
Y13
0
1
0
1
Y2C
Y2B
Y2A
Y29
1
0
1
1
Y2C
Y2B
Y2A
Y29
1
0
1
1
SFTBR(P),SFTBL(P)
[List Mode]
Instruction
Device
Step
Y12
Y11
Y10
0
0
1
Y12
Y11
Y10
1
1
0
[List Mode]
Instruction
Device
Step
Y28
Y27
Y26
Y25
Y24
0
1
0
1
1
Y28
Y27
Y26
Y25
Y24
0
0
1
0
0
1
to the right by 2
D
2
3
4
6
Carry flag
6
(SM700)
0
to the left by 5
7
D
8
Y23
Y22
Y21
0
0
1
Y23
Y22
Y21
0
0
0
7-53

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Melsec l series

Table of Contents