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

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

Advertisement

CEILING
This command obtains the smallest integer greater than or equal to the specified numeric expression.
Syntax
CEILING ([numeric expression])
■Application example
• To obtain the smallest integer greater than or equal to the fld1 value from table1
SELECT CEILING ("fld1") FROM "table1";
COS
This command obtains a cosine.
Syntax
COS ([numeric expression])
■Application example
• To obtain the cosine of fld1 from table1
SELECT COS ("fld1") FROM "table1";
COT
This command obtains a cotangent.
Syntax
COT ([numeric expression])
■Application example
• To obtain the cotangent of fld1 from table1
SELECT COT ("fld1") FROM "table1";
DEGREES
This command obtains degrees from radians.
Syntax
DEGREES ([numeric expression])
■Application example
• To obtain degrees of fld1 from table1
SELECT DEGREES ("fld1") FROM "table1";
EXP
This command obtains an exponent value. (It calculates e raised to the power of [numeric expression].)
Syntax
EXP ([numeric expression])
■Application example
• To obtain e raised to the power of fld1 from table1
SELECT EXP ("fld1") FROM "table1";
APPX
1004
Appendix 14 List of Available SQL Commands for CPU Module Database Access Function

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents