EasyManua.ls Logo

Omron SYSMAC CV Series - Page 176

Omron SYSMAC CV Series
636 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
164
Content of C Function of ASFT(052)
#4000 Shift non-zero data toward E
#6000 Shift non-zero data toward St
#8000 Reset all words to zero
St must be less than or equal to E. St and E must be in the same data area.
Note Refer to page 115 for general precautions on operand data areas.
Flags ER (A50003): Content of *DM word is not BCD when set for BCD.
The St and E words are in different areas, or St is greater
than E.
Example The following instruction is used to shift words in an 11-word shift register
created between D 00100 and D 00110 with C=#6000. Non-zero data is shifted
towards St (D00110).
D00100 1234 1234 1234
D00101 0000 0000 2345
D00102 0000 2345 3456
D00103 2345 0000 4567
D00104 3456 3456 5678
D00105 0000 4567 6789
D00106 4567 0000 789A
D00107 5678 5678 0000
D00108 6789 6789 0000
D00109 0000 789A 0000
D00110 789A 0000 0000
Before
execution
After one
execution
After seven
executions
(052)
ASFT #6000 D00100 D00110
0000
00
Precautions
Shift Instructions Section 5-14

Table of Contents

Related product manuals