![background image](http://html1.mh-extra.com/html/omron/sysmac-cs1d-cpu/sysmac-cs1d-cpu_reference-manual_742268611.webp)
572
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
APR(069)
C
S
R
C
: Control word
S
: Source data
R
: Result word
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
Содержание SYSMAC CS1D-CPU**
Страница 3: ...iv...
Страница 29: ...xxx...
Страница 185: ...146 List of Instructions by Function Code Section 2 4...
Страница 193: ...154 3 35 4 MOVE BIT MOVBC 568 1274 3 35 5 BIT COUNTER BCNTC 621 1276 3 35 6 GET VARIABLE ID GETID 286 1278...
Страница 1389: ...1350 CJ series Instruction Execution Times and Number of Steps Section 4 2...
Страница 1390: ...1351 Appendix A ASCII Code Table ASCII SP Four leftmost bits Four rightmost bits...
Страница 1391: ...1352 ASCII Code Table Appendix A...