Standard Functions Of One Numeric Variable; Standard Arithmetic Functions; Standard Bitwise Boolean Functions - Mitsubishi Melsec-Q Series Structured Programming Manual

Application functions, qcpu
Hide thumbs Also See for Melsec-Q Series:
Table of Contents

Advertisement

Function name
STR_TO_WORD(_E)
STR_TO_DWORD(_E)
STR_TO_TIME(_E)
STR_TO_BCD(_E)
BCD_TO_INT(_E)
BCD_TO_DINT(_E)
BCD_TO_STR(_E)
TIME_TO_BOOL(_E)
TIME_TO_INT(_E)
TIME_TO_DINT(_E)
TIME_TO_STR(_E)
TIME_TO_WORD(_E)
TIME_TO_DWORD(_E)
2.1.2

Standard functions of one numeric variable

Function name
ABS(_E)
2.1.3

Standard arithmetic functions

Function name
ADD(_E)
MUL(_E)
SUB(_E)
DIV(_E)
MOD(_E)
EXPT(_E)
MOVE(_E)
2.1.4

Standard bitwise Boolean functions

Function name
AND(_E)
OR(_E)
XOR(_E)
NOT(_E)
2.1 How to Read Function Tables
2-4
2.1.2 Standard functions of one numeric variable
Argument
Converts string type data into word (unsigned)/16-bit string or double
,
s
d
word (unsigned)/32-bit string type data.
,
s
d
Converts string type data into time type data.
,
s
d
Converts string type data into BCD type data.
,
s
d
Converts BCD type data into word (signed) or double word (signed)
,
s
d
type data.
,
s
d
Converts BCD type data into string type data.
,
s
d
Converts time type data into bit type data.
,
s
d
Converts time type data into word (signed) or double word (signed)
,
s
d
type data.
,
s
d
Converts time type data into string type data.
,
s
d
Converts time type data into word (unsigned)/16-bit string or double
,
s
d
word (unsigned)/32-bit string type data.
,
s
d
Argument
Outputs the absolute value of an input value.
,
s
d
Argument
,
,...
,
s1
s2
s8
d
(Number of pins
Outputs the sum (
variable)
,
,...
,
s1
s2
s8
d
Outputs the product (
(Number of pins
variable)
,
,
Outputs the difference (
s1
s2
d
,
,
Outputs the quotient (
s1
s2
d
,
,
Outputs the remainder after division of input values (
s1
s2
d
Outputs the exponentiation of an input value.
,
,
s1
s2
d
,
,...
,
s1
s2
s8
d
Outputs the substitution of an input value.
(Number of pins
variable)
Argument
,
,...
,
s1
s2
s8
d
Outputs the Boolean AND of input values.
(Number of pins
variable)
,
,...
,
s1
s2
s8
d
Outputs the Boolean OR of input values.
(Number of pins
variable)
,
,...
,
s1
s2
s8
d
Outputs the Boolean exclusive OR of input values.
(Number of pins
variable)
Outputs the Boolean NOT of input values.
,
s
d
Processing details
Processing details
Processing details
+
+···+
) of input values.
s1
s2
s8
···
) of input values.
s1
s2
s8
) between input values.
s1
s2
÷
) of input values.
s1
s2
Processing details
Page
5-92
5-92
5-95
5-98
5-101
5-101
5-104
5-107
5-110
5-110
5-113
5-116
5-116
Page
5-119
Page
5-122
5-125
5-128
5-131
5-134
÷
).
s1
s2
5-137
5-140
Page
5-143
5-143
5-143
5-143

Advertisement

Table of Contents
loading

This manual is also suitable for:

Q-kp-ok-e13jw08

Table of Contents