Trig Functions - GE PACSystems RX7i Cpu Programmer's Reference Manual

Hide thumbs Also See for PACSystems RX7i:
Table of Contents

Advertisement

4.1.3

Trig Functions

The SIN, COS, and TAN functions are used to find the trigonometric sine, cosine, and tangent,
respectively, of an input whose units are radians. When one of these functions receives power flow,
it computes the sine (or cosine or tangent) of IN and stores the result in output Q.
The SIN, COS, and TAN functions accept a broad range of input values, where –2
(2
63
is approximately 9.22x10
results.
The power flow output is energized unless the following invalid condition occurs:
IN or Q is a NaN (Not a Number)
Operands of Trig Functions
Parameter Description
IN
Number of radians.
–2
63
< IN < 2
Q
Trigonometric value of IN (REAL or LREAL) All except constants and variables
Example
The COS of the value in V_R00001 is placed in V_R00033.
GFK-2950C
Mnemonics:
SIN_REAL
SIN_LREAL
COS_REAL
COS_LREAL
TAN_REAL
TAN_LREAL
18
). Input values outside this range will produce incorrect
63
February 2018
Chapter 4. Ladder Diagram (LD) Programming
Allowed Operands
All except variables located in %S—
%SC
located in %S—%SC
< IN < 2
,
63
63
Optional
No
No
65

Advertisement

Table of Contents
loading

This manual is also suitable for:

Pacsystems rx3iPacsystems rsti-ep

Table of Contents