beautypg.com

Delta Electronics DELTA DUP-B User Manual

Page 340

background image

Chapter 3 Creating and Editing Screens

The calculation result can be stored as signed DWORD. When the data exceeds
the length of designated unit, the data out of range will be discarded.

Var1 can be internal memory only. Var2 can be internal memory or constant.

The display format of the variables must be floating point.

The input variable must be a signed decimal value without the decimal point.


Example
Perform the function of SEC30

o

and store the result in $0 (this is a floating point

operation of signed 32-bit data).

Perform the secant function of $2 and store the result in $4 (this is a floating point
operation of signed 32-bit data).

CSC (Cosecant Function)

Equation
Var1 = CSC (Var2)

Explanation
Perform the cosecant function of the value within Var2, and store the result in Var1.

Remark

The definition of Var2 is an angle, not radius.

Revision May, 2010

3-319