Omron CJ - REFERENCE MANUAL 02-2010 Reference Manual page 362

Table of Contents

Advertisement

3. Instructions
Precautions
• St and E must be in the same data area.
• When large amounts of data are shifted, the
instruction execution time is quite long. Be sure that
the power is not cut while SLD(074) and SRD(075)
is being executed, causing the shift operation to
stop halfway through.
Example Programming
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
326
SLD
E
Lost
SRD
E
E: CIO 102
St+1: CIO 101
Lost
E: CIO 102
St+1: CIO 101
CS/CJ/NSJ Series Instructions Reference Manual (W474)
S
t
S
t
St: CIO 100
St: CIO 100
Lost
Lost

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the CJ - REFERENCE MANUAL 02-2010 and is the answer not in the manual?

Subscribe to Our Youtube Channel

Table of Contents