EasyManuals Logo
Home>Omron>Controller>CJ - INSTRUCTIONS

Omron CJ - INSTRUCTIONS User Manual

Omron CJ - INSTRUCTIONS
1308 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
Page #365 background imageLoading...
Page #365 background image
327
3. Instructions
CS/CJ/NSJ Series Instructions Reference Manual (W474)
Data Shift Instruction
3
SLD/SRD
SLD/SRD
Applicable Program Areas
Operands
z Operand Specifications
Flags
Function
z SLD
SLD(074) shifts data between St and E by one digit (4 bits) to the left. “0” is placed in the rightmost digit
(bits 3 to 0 of St), and the content of the leftmost digit (bits 15 to 12 of E) is lost.
z SRD
SRD(075) shifts data between St and E by one digit (4 bits) to the right. “0” is placed in the leftmost digit
(bits 15 to 12 of E), and the content of the rightmost digit (bits 3 to 0 of St) is lost.
Instruction Mnemonic Variations
Function
code
Function
ONE DIGIT SHIFT LEFT SLD @SLD 074 Shifts data by one digit (4 bits) to the left.
ONE DIGIT SHIFT RIGHT SRD @SRD 075 Shifts data by one digit (4 bits) to the right.
Symbol
SLD SRD
Area
Function block
definitions
Block program areas Step program areas Subroutines Interrupt tasks
SFC action or transition
programs
Usage OK OK OK OK OK OK
Operand Description Data type Size
St Starting Word UINT Variable
E End Word UINT Variable
Area
Word addresses
Indirect DM/EM
addresses
Con-
stants
Registers Flags
Pulse
bits
TR
bits
CIO WR HR AR T C DM EM
@DM
@EM
*DM
*EM
DR IR
Indirect
using IR
TK CF
St
OK OK OK OK OK OK OK OK OK OK --- --- --- OK --- --- --- ---
E
Name Label Operation
Error Flag ER ON when St is greater than E.
OFF in all other cases.
SLD(074)
St
E
E: End word
St: Starting Word
SRD(075)
St
E
E: End word
St: Starting Word

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Omron CJ - INSTRUCTIONS and is the answer not in the manual?

Omron CJ - INSTRUCTIONS Specifications

General IconGeneral
BrandOmron
ModelCJ - INSTRUCTIONS
CategoryController
LanguageEnglish

Related product manuals