Omron CP - PROGRAMMING MANUAL 05-2007 Programming Manual page 485

Cp1h/cp1l cpu unit
Table of Contents

Advertisement

Special Math Instructions
Variations
Applicable Program Areas
Operand Specifications
Description
Flags
452
Variations
Executed Each Cycle for ON Condition
Executed Once for Upward Differentiation
Executed Once for Downward Differentiation Not supported.
Immediate Refreshing Specification
Block program areas
OK
OK
Area
CIO Area
Work Area
Holding Bit Area
Auxiliary Bit Area
Timer Area
Counter Area
DM Area
Indirect DM addresses
in binary
Indirect DM addresses
in BCD
Constants
Data Registers
Index Registers
Indirect addressing
using Index Registers
ROTB(620) computes the square root of the 32-bit binary number in S+1 and
S and outputs the integer portion of the result to R. The non-integer remainder
is eliminated.
S+1
Binary data (32 bits)
The range of data that can be specified for words S+1 and S is 0000 0000 to
3FFF FFFF. If a number from 4000 0000 to 7FFF FFFF is specified, it will be
treated as 3FFF FFFF for the square root computation. An error will occur if
the content of the source words is greater than 7FFF FFFF, i.e., if bit 15 of
S+1 is 1.
Name
Label
Error Flag
ER
Equals Flag
=
Step program areas
Subroutines
OK
S
CIO 0 to CIO 6142
W0 to W510
H0 to H510
A0 to A958
T0000 to T4094
C0000 to C4094
D0 to D32766
@ D0 to @ D32767
*D0 to *D32767
#00000000 to #FFFFFFFF
(binary)
DR0 to DR15
---
,IR0 to ,IR15
–2048 to +2047 ,IR0 to –2048 to +2047 ,IR15
DR0 to DR15, IR0 to IR15
,IR0+(++) to ,IR15+(++)
,–(– –)IR0 to, –(– –)IR15
S
Binary data (16 bits)
Operation
ON if bit 15 of S+1 is 1 (ON).
OFF in all other cases.
ON if the result is 0000.
OFF in all other cases.
Section 3-13
ROTB(620)
@ROTB(620)
Not supported.
Interrupt tasks
OK
R
CIO 0 to CIO 6143
W0 to W511
H0 to H511
A448 to A959
T0000 to T4095
C0000 to C4095
D0 to D32767
---
R

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents