EasyManua.ls Logo

Omron CPM1

Omron CPM1
541 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
Loading...
315
Special Math Instructions Section 5-22
If bit 13 of C is set to 1, the graph will be reflected from left to right, as shown
in the following diagram.
The following example demonstrates the construction of a linear approxima-
tion with 12 line segments. The block of data is continuous, as it must be, from
DM 0000 to DM 0026 (C to C + (2
× 12 + 2)). The input data is taken from IR
010, and the result is output to IR 011.
In this case, the input data word, IR 010, contains #0014, and f(0014) = #0726
is output to R, IR 011.
X
0
X
m
X
Y
X
m
X
0
X
Y
DM 0000 $C00B
DM 0001 $05F0 X
12
DM 0002 $0000 Y
0
DM 0003 $0005 X
1
DM 0004 $0F00 Y
1
DM 0005 $001A X
2
DM 0006 $0402 Y
2
DM 0025 $05F0 X
12
DM 0026 $1F20 Y
12
APR(––)
DM 0000
010
011
00000
1 1 0 0 0 0 0 0 0 0 0 0 1 0 1 1
Bit
15
Bit
00
(Output and
input both BIN)
(m–1 = 11: 12 line
segments)
Address Instruction Operands
00000 LD 00000
00001 APR(––)
DM 0000
010
011
Content Coordinate
X
Y
$1F20
$0F00
$0726
$0402
(0,0)
$0005 $0014 $001A $05F0
(x,y)

Table of Contents

Other manuals for Omron CPM1

Related product manuals