Omron SYSMAC CP Series Instruction & Reference Manual page 176

Cpu unit
Hide thumbs Also See for SYSMAC CP Series:
Table of Contents

Advertisement

2 Instructions
Sample program
SLD
When CIO 0.00 is ON, words CIO 100 through CIO 102 will shift by one digit (4 bits) to the left. A zero
will be placed in bits 0 to 3 of word CIO 100 and the contents of bits 12 to 15 of CIO 102 will be lost.
0.00
St
E
SRD
When CIO 0.00 is ON, words CIO 100 through CIO 102 will shift by one digit (4 bits) to the right. A zero
will be placed in bits 12 to 15 of CIO 102 and the contents of bits 0 to 3 of word CIO 100 will be lost.
0.00
St
E
2-140
SLD
100
102
E: CIO 102
15 12 11 8 7 4 3 0 15 12 11 8 7 4 3 0
Lost
SRD
100
102
E: CIO 102
0Hex
15 12 11 8 7 4 3 0 15 12 11 8 7 4 3 0
St+1: CIO 101
St: CIO 100
15 12 11 8 7 4 3 0
St+1: CIO 101
St: CIO 100
15 12 11 8 7 4 3 0
CP1E CPU Unit Instructions Reference Manual(W483)
0Hex
Lost

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents