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 #351 background imageLoading...
Page #351 background image
313
3. Instructions
CS/CJ/NSJ Series Instructions Reference Manual (W474)
Data Shift Instruction
3
WSFT
WSFT
Applicable Program Areas
Operands
z Operand Specifications
Flags
Function
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 WSFT(016) is being executed, causing the shift operation to stop halfway
through.
Instruction Mnemonic Variations
Function
code
Function
WORD SHIFT WSFT @WSFT 016 Shifts data between St and E in word units.
Symbol
WSFT
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
S Control word WORD 1
St Starting word UINT Variable
EEnd 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
S
OK OK OK OK OK OK OK OK OK OK
OK OK
--- OK --- --- --- ---St
--- ---
E
Name Label Operation
Error Flag ER • ON when St is greater than E.
• OFF in all other cases.
WSFT(016) shifts data from St to E in
word units and the data from the
source word S is places into St. The
contents of E is lost.
WSFT(016)
S
St
E
S: Source word
St: Starting word
E: End word
E
Lost
St

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