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 #486 background imageLoading...
Page #486 background image
3. Instructions
448
CS/CJ/NSJ Series Instructions Reference Manual (W474)
Special Math Instructions
ROTB
Applicable Program Areas
Operands
z Operand Specifications
Flags
Instruction Mnemonic Variations
Function
code
Function
BINARY ROOT ROTB @ROTB 620
Computes the square root of the 32-bit signed
binary contents (positive value) of the specified
words and outputs the integer portion of the result
to the specified result word.
Symbol
ROTB
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 First source word UDINT 2
R Result word UINT 1
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 --- --- --- ---
R --- OK
Name Label Operation
Error Flag ER • ON if bit 15 of S+1 is 1 (ON).
• OFF in all other cases.
Equals Flag = • ON if the result is 0000.
• OFF in all other cases.
Overflow Flag OF • ON if the content of S+1 and S is 4000 0000 to 7FFF FFFF.
• OFF in all other cases.
Underflow Flag UF OFF
Negative Flag N OFF
S: First source word
R: Result word
ROTB(620)
S
R

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