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

Cp1h/cp1l cpu unit
Table of Contents

Advertisement

Special Math Instructions
Note
Operand Specifications
Cosine Function (C = 0001 Hex)
Operand
Value
C
0001 hex
S
0000 to 0900 (BCD)
D
0000 to 9999 (BCD)
9999 (BCD)
Linear Extrapolation Function (C = Data area address)
Operand
Value
C
Data area address
S
16-bit unsigned BCD data
16-bit unsigned binary data
16-bit signed binary data
32-bit signed binary data
Floating-point data
D
16-bit unsigned BCD data
16-bit unsigned binary data
16-bit signed binary data
32-bit signed binary data
Floating-point data
If C is a word address, APR(069) extrapolates the Y value for the X value in S
based on coordinates (forming line segments) entered in advance in a table
beginning at C. Refer to the Description section below for details.
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
---
0 to 90
0.0000 to 0.9999
1.0000
---
0000 to 9999
0 to 65,535
1
32,768 to 32,767
1
2,147,483,648 to 2,147,483,647
1
,
3.402823
1.175494
+
0000 to 9999
0 to 65,535
32,768 to 32,767
1
1
2,147,483,648 to 2,147,483,647
,
1
3.402823
1.175494
+
C
CIO 0 to CIO 6143
W0 to W511
H0 to H511
A0 to A959
T0000 to T4095
C0000 to C4095
D0 to D32767
@ D0 to @ D32767
*D0 to *D32767
Specified values only
---
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
Section 3-13
Data range
Data range
38
38
10
to 1.175494
10
38
38
10
to 3.402823
10
,
38
38
10
to 1.175494
10
38
38
10
to 3.402823
10
,
S
R
A448 to A959
---
457
,
,

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents