EasyManua.ls Logo

IDEC WindO/I-NV4 - Page 1181

IDEC WindO/I-NV4
1738 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
WindO/I-NV4 User’s Manual 20-25
4 Script Definition Method
20
Script
Arithmetic operation (Continued)
Data type conversion
Function Format Description
Arcsine
ASIN( )
Arcsine of (-1 - +1) in radian value (-π/2 - +π/2) is returned.
Specify arbitrary formula for argument .
This function can only be configured when the Float32(F) is
specified as the Data Type.
Arccosine
ACOS( )
Arccosine of (-1 - +1) in radian value (0 - π) is returned.
Specify arbitrary formula for argument .
This function can only be configured when the Float32(F) is
specified as the Data Type.
Arctangent
ATAN( );
Arctangent of (-1 - +1) in radian value (-
π
/2
-
+
π
/2) is returned.
Specify arbitrary formula for argument .
This function can only be configured when the Float32(F) is
specified as the Data Type.
Conversion from
Angle to Radian
RAD( );
Value of is converted from degree (°) to radian, and the value is
returned.
This function can only be configured when the Float32(F) is
specified as the Data Type.
Conversion from
Radian to Angle
DEG( );
Value of is converted from radian to degree ), and the value is
returned.
This function can only be configured when the Float32(F) is
specified as the Data Type.
Function Format Description
Conversion from
BCD to Binary
BCD2BIN( )
BCD value of is returned in binary value.
This function can only be configured when UBIN16(W), BIN16(I),
UBIN32(D) or BIN32(L) is specified as the Data Type.
Conversion from
Binary to BCD
BIN2BCD( )
Binary value of is returned in BCD value.
This function can only be configured when UBIN16(W), BIN16(I),
UBIN32(D) or BIN32(L) is specified as the Data Type.
Conversion from
Floating point to
Binary
FLOAT2BIN( )
Float32 value of is returned in floating point value.
Values under the decimal point is truncated.
This function can only be configured when UBIN32(D) or
BIN32(L) is specified as the Data Type.
Conversion from
Binary to Floating
point
BIN2FLOAT( )
Binary value of is returned in floating point value.
This function can only be configured when UBIN32(D) or
BIN32(L) is specified as the Data Type.
Conversion from
Decimal to String
character
DEC2ASCII( , )
Decimal number value is converted to a character string, and
store in order with as a beginning device address.
This function can only be configured when UBIN16(W), BIN16(I),
UBIN32(D), BIN32(L), BCD4(B) or BCD8(EB) is specified as the
Data Type.
Conversion from
String character to
Decimal
ASCII2DEC( )
Character string is returned as decimal number value.
This function can only be configured when UBIN16(W), BIN16(I),
UBIN32(D), BIN32(L), BCD4(B) or BCD8(EB) is specified as the
Data Type.
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
a
b
b
a
a
a

Table of Contents