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

Cp1h/cp1l cpu unit
Table of Contents

Advertisement

Double-precision Floating-point Instructions
3-15-9 DOUBLE DEGREES TO RADIANS: RADD(849)
Purpose
Ladder Symbol
Variations
Applicable Program Areas
Operand Specifications
Description
544
Converts a double-precision (64-bit) floating-point number from degrees to
radians and places the result in the specified result words.
RADD(849)
S
S: First source word
D: First destination word
D
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
RADD(849) converts the double-precision (64-bit) floating-point number in
words S to S+3 from degrees to radians and places the result in words D to
D+3. (The floating point source data must be in IEEE754 format.)
S+3
S+2
S+1
D+3
D+2
D+1
Degrees are converted to radians by means of the following formula:
Degrees
/180 = radians
Step program areas
Subroutines
OK
S
CIO 0 to CIO 6140
W0 to W508
H0 to H508
A0 to A956
T0000 to T4092
C0000 to C4092
D0 to D32764
@ D0 to @ D32767
*D0 to *D32767
---
---
---
,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
Source (degrees, 64-bit floating-point data)
D
Result (radians, 64-bit floating-point data)
Section 3-15
RADD(849)
@RADD(849)
Not supported.
Interrupt tasks
OK
D
A448 to A956

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents