![background image](http://html1.mh-extra.com/html/omron/sysmac-cs-series/sysmac-cs-series_reference-manual_742030657.webp)
617
Floating-point Math Instructions
Section 3-15
instruction will not be executed. For information on converting from degrees to
radians, see 3-15-9 DEGREES TO RADIANS: RAD(458).
The following diagram shows the relationship between the angle and result.
Flags
Precautions
The source data in S+1 and S must be in IEEE754 floating-point data format.
3-15-14 HIGH-SPEED COSINE: COSQ(476)
Purpose
Calculates the cosine of a 32-bit floating-point number (in radians) and places
the result in the specified result words.
Note These instructions can be used in the CJ1-H-R CPU Units only.
Ladder Symbol
Variations
Applicable Program Areas
R
S: Angle (radian) data
R: Result (cosine)
Name
Label
Operation
Error Flag
ER
ON if the source data is not a number (NaN).
ON if the absolute value of the source data exceeds
65,535.
OFF in all other cases.
Equals Flag
=
ON if both the exponent and mantissa of the result are 0.
OFF in all other cases.
Overflow Flag
OF
OFF
Underflow Flag
UF
OFF
Negative Flag
N
ON if the result is negative.
OFF in all other cases.
COSQ(476)
S
R
S: First source word
R: First result word
Variations
Executed Each Cycle for ON Condition
COSQ(476)
Executed Once for Upward Differentiation
@COSQ(476)
Executed Once for Downward Differentiation Not supported.
Immediate Refreshing Specification
Not supported.
Function block
definitions
Block program
areas
Step program
areas
Subroutines
Interrupt
tasks
OK
OK
OK
OK
OK
Содержание SYSMAC CS Series
Страница 2: ......
Страница 4: ...iv ...
Страница 30: ...xxx ...
Страница 186: ...146 List of Instructions by Function Code Section 2 4 ...
Страница 194: ...154 3 35 4 MOVE BIT MOVBC 568 1273 3 35 5 BIT COUNTER BCNTC 621 1275 3 35 6 GET VARIABLE ID GETID 286 1277 ...
Страница 1320: ...1280 Model Conversion Instructions Unit Ver 3 0 or Later Section 3 35 ...
Страница 1390: ...1350 CJ series Instruction Execution Times and Number of Steps Section 4 2 ...
Страница 1391: ...1351 Appendix A ASCII Code Table ASCII SP Four leftmost bits Four rightmost bits ...
Страница 1392: ...1352 ASCII Code Table Appendix A ...
Страница 1404: ...1364 Revision History ...