![Omron CJ1G-CPUxx Instructions Manual Download Page 518](http://html1.mh-extra.com/html/omron/cj1g-cpuxx/cj1g-cpuxx_instructions-manual_742491518.webp)
497
Special Math Instructions
Section 3-14
4.
D00103 and the result word, CIO 0011, are cleared to 0000 0000.
5.
The result of the square root calculation is divided by 100, with the integer
portion written to CIO 0011 and the remainder going to D00103.
6.
If the content of D00103 is greater than 4900, CIO 0011 is incremented by
1. In this case, the result is 78.
3-14-3 ARITHMETIC PROCESS: APR(069)
Purpose
Calculates the sine, cosine, or a linear extrapolation of the source data.
The linear extrapolation function allows any relationship between X and Y to
be approximated with line segments.
Ladder Symbol
Variations
Applicable Program Areas
6017
0000
7756
D00100
D00101
D00100
Square root computation
(Remainder eliminated)
60 170 000
,
,
7 756.932
…
,
=
D00103 CIO 0011
0 0 0 0 0 0 0 0
0000
0000
D00102
7 7 5 6
CIO 0011 D00103
0 0 7 7 5 6 0 0
5600 > 4900?
CIO 0011
0 0 7 8
C: Control word
S: Source data
R: Result word
APR(069)
C
S
R
Variations
Executed Each Cycle for ON Condition
APR(069)
Executed Once for Upward Differentiation
@APR(069)
Executed Once for Downward Differentiation Not supported.
Immediate Refreshing Specification
Not supported.
Block program areas
Step program areas
Subroutines
Interrupt tasks
OK
OK
OK
OK
Summary of Contents for CJ1G-CPUxx
Page 3: ...iv N o t i c e ...
Page 5: ...vi ...
Page 21: ...xxii Conformance to EC Directives 6 ...
Page 35: ......
Page 1131: ...1110 CJ series Instruction Execution Times and Number of Steps Section 4 2 ...