Word Shift - Wsft(16) - Omron CQM1H - PROGRAM Programming Manual

Programmable controllers; inner boards
Table of Contents

Advertisement

Shift Instructions
Example
00000
25502
00001
01007
5-17-2 WORD SHIFT – WSFT(16)
Limitations
Description
Flags
262
The following example uses the 1-second clock pulse bit (25502) so that the
execution condition produced by 00000 is shifted into IR 010 every second.
Output 10000 is turned ON whenever a "1" is shifted into 01007.
I
P
R
Ladder Symbols
WSFT(16)
@WSFT(16)
St
E
St and E must be in the same data area, and E must be greater than or equal
to St.
DM 6144 to DM 6655 cannot be used for St or E.
When the execution condition is OFF, WSFT(16) is not executed. When the
execution condition is ON, WSFT(16) shifts data between St and E in word
units. Zeros are written into St and the content of E is lost.
F
Lost
3
ER:
The St and E words are in different areas, or St is greater than E.
Indirectly addressed EM/DM word is non-existent.
(Content of *EM/*DM word is not BCD, or the EM/DM area boundary
has been exceeded.)
Address Instruction
SFT(10)
00000
010
00001
00002
010
00003
00004
00005
10000
IR, SR, AR, DM, EM, HR, LR
St
E
IR, SR, AR, DM, EM, HR, LR
E
St + 1
0
C
2
3
4
5
2
1
E
St + 1
4
5
2
1
0
2
9
0
Section 5-17
Operands
LD
00000
LD
25502
LD
00001
SFT(10)
LD
01007
OUT
10000
Operand Data Areas
St: Starting word
E: End word
St
0
2
9
0000
St
0
0
0
010
010

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sysmac cqm1h seriesSysmac cqm1h-cpu series

Table of Contents