Delta RMC151 User Manual

Page 358

Advertising
background image

RMC70/150 and RMCTools User Manual

ATAN(a)

Returns the arctangent of a.

SINH(a)

Returns the hyperbolic sine of a.

COSH(a)

Returns the hyperbolic cosine of a.

TANH(a)

Returns the hyperbolic tangent of a.


Bit String

Functions

Description

SHR(a, n)

Shifts the bits in a to the right n times. Zeros are shifted in.

SHL(a, n)

Shifts the bits in a to the left n times. Zeros are shifted in.

ASHR(a, n)

Shifts the bits in a to the right n times. The sign bit is shifted in on

the left.

ROR(a, n)

Rolls the bits in a to the right n times.

ROL(a, n)

Rolls the bits in a to the left n times.


Curve Functions

Description

CRV_FIRST_X(id)

Returns the x value for the first point in the curve with the

specified id.

CRV_LAST_X(id)

Returns the x value for the last point in the curve with the

specified id.

CRV_INTERP_Y(id, x,

[options])

Interpolates the curve with the specified id at the given value

of x, and returns the Y value of the curve at that point.

CRV_INTERP_V(id, x,

[options])

Interpolates the curve with the specified id at the given value

of x, and returns the V (velocity) value of the curve at that

point.

CRV_INTERP_A(id, x,

[options])

Interpolates the curve with the specified id at the given value

of x, and returns the A (acceleration) value of the curve at that

point.

CRV_EXISTS(id)

Returns TRUE if the curve with the specified id exists,

otherwise returns FALSE.


Array Functions Description
LENGTH(array)

Returns the number of elements in the array.

FILL(to, val, len)

Fill len values with val starting at to.


Type Conversion

Functions

Description

REAL_TO_DINT(a)

Rounds a to the nearest integer.

DINT_TO_REAL(a)

Returns a in REAL type.

DWORD_TO_DINT(a)

a and its bit order remains the same, but type is changed

to DINT.

DINT_TO_DWORD(a)

a and its bit order remains same, but type is changed to

DWORD.

TRUNC(a)

Rounds a to an integer towards zero.


Other Functions

Description

338

Delta Computer Systems, Inc.

Advertising
This manual is related to the following products: