Mitsubishi Electric MELSEC iQ-R-R00CPU User Manual page 1008

Melsec iq-r series cpu module application user's manual
Table of Contents

Advertisement

SIGN
This command obtains a sign.
Syntax
SIGN ([numeric expression])
■Application example
• To obtain the sign of fld1 from table1
SELECT SIGN ("fld1") FROM "table1";
SIN
This command obtains a sine.
Syntax
SIN ([numeric expression])
■Application example
• To obtain the sine of fld1 from table1
SELECT SIN ("fld1") FROM "table1";
SQRT
This command obtains a square root.
Syntax
SQRT ([numeric expression])
■Application example
• To obtain the square root of fld1 from table1
SELECT SQRT ("fld1") FROM "table1";
TAN
This command obtains a tangent.
Syntax
TAN ([numeric expression])
■Application example
• To obtain the tangent of fld1 from table1
SELECT TAN ("fld1") FROM "table1";
APPX
1006
Appendix 14 List of Available SQL Commands for CPU Module Database Access Function

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents