SIS function blocks > SIS Math Blocks > Logic Solver Calculation function block > Expressions in DeltaV SIS Software > Functions in Logic Solver Expressions

SIN function

Sine of x. SIN (x) returns the sine of x (operand one). If x is greater than or equal to 2.98*108 or less than or equal to -2.98*108, a loss of significance in the result occurs and SIN returns an indefinite value. This calculation is performed in radians.

Syntax:

'external reference' := SIN(Real value);

Example:

VAR
   T63; T64; T17; T18; (* Temporary values *)
END_VAR;
T63 := .5;
T64 := 15.803;
T17 := SIN(T63);
T18 := SIN(T64);

The above example shows T63 set to the value of .5 and T64 set to the value of 15.803. T17 is set to the result of SIN(T63), which is 0.4794255386042 and T18 is set to the result of SIN(T64), which is -0.09489373499283.