Omron SYSMAC CP Series Instruction & Reference Manual page 255

Cpu unit
Hide thumbs Also See for SYSMAC CP Series:
Table of Contents

Advertisement

Linear Extrapolation Function
Operand
Value
C
Data area address
16-bit unsigned BCD data
16-bit unsigned binary
data
16-bit signed binary data
32-bit signed binary data
S
Floating-point data
16-bit unsigned BCD data
16-bit unsigned binary
data
16-bit signed binary data
32-bit signed binary data
R
Floating-point data
The following 5 kinds of I/O data can be used:
• 16-bit unsigned BCD data
• 16-bit unsigned binary data
• 16-bit signed binary data
• 32-bit signed binary data
• Single-precision floating-point data
CP1E CPU Unit Instructions Reference Manual(W483)
Data range
---
0000 to 9999
0 to 65,535
-32,768 to 32,767
-2,147,483,648 to
2,147,483,647
-
,
×
38
-3.402823
10
to
×
-38
-1.175494
10
,
×
-38
1.175494
10
to
×
38
3.402823
10
,
+
0000 to 9999
0 to 65,535
-32,768 to 32,767
-2,147,483,648 to
2,147,483,647
-
,
×
38
-3.402823
10
to
×
-38
-1.175494
10
,
×
-38
1.175494
10
to
×
38
3.402823
10
,
+
· Unsigned Integer Data (Binary or BCD)
15
14 13 12 11
10
9
8
7
0
0
0
0
0
C
Floating-point specification for S and D
0: Integer data
Signed data specification for S and D
0: Unsigned binary data
Source data form
0: f(x) = f(S)
1: f(x) = f(Xm - S)
Output (D) data format
0: Binary
1: BCD
Input (S) data format
0: Binary
1: BCD
• Linear Extrapolation (C = Data area address)
APR(069) linear extrapolation is specified when C is a word
address.
The content of word C specifies the number of coordinates in
a data table starting at C+2, the form of the source data, and
whether data is BCD or binary.
6
5
4
3
2
1
0
Number of coordinates minus one (m-1),
00 to FF hex (1 ≤ m ≤ 256)
2 Instructions
2
2-219

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents