M800V/M80V Series PLC Programming Manual (1/2)
6 Explanation of Instructions and Functions
6.2 Function List
Function name
BCD_TO_STR(_E)
(s), (d)
TIME_TO_BOOL(_E)
(s), (d)
TIME_TO_INT(_E)
(s), (d)
TIME_TO_DINT(_E)
(s), (d)
TIME_TO_STR(_E)
(s), (d)
TIME_TO_WORD(_E)
(s), (d)
TIME_TO_DWORD(_E)
(s), (d)
GET_BIT_OF_INT(_E)
(s), n, (d)
SET_BIT_OF_INT(_E)
(s), n, (d)
CPY_BIT_OF_INT(_E)
(s), n1, n2, (d)
GET_BOOL_ADDR
(s), (d)
GET_INT_ADDR
(s), (d)
GET_WORD_ADDR
(s), (d)
6.2.3 Standard Functions of One Numeric Variable
Function name
ABS(_E)
(s), (d)
6.2.4 Standard Arithmetic Functions
Function name
ADD_E
(s1), (s2), ... (s28), (d)
MUL_E
(s1), (s2), ... (s28), (d)
SUB_E
(s1), (s2), (d)
DIV_E
(s1), (s2), (d)
MOD(_E)
(s1), (s2), (d)
EXPT(_E)
(s1), (s2), (d)
MOVE(_E)
(s), (d)
6.2.5 Standard Bitwise Boolean Functions
Function name
AND_E
(s1), (s2), ... (s28), (d)
OR_E
(s1), (s2), ... (s28), (d)
XOR_E
(s1), (s2), ... (s28), (d)
NOT(_E)
(s), (d)
6.2.6 Standard Selection Functions
Function name
SEL(_E)
(s1), (s2), (s3), (d)
MAXIMUM(_E)
(s1), (s2), ... (s28), (d)
MINIMUM(_E)
(s1), (s2), ... (s28), (d)
MUX(_E)
(s1), (s2), ... (s28), (d)
Argument
Converts BCD type data into string type data.
Converts time type data into bit type data.
Converts time type data into word (signed) or double word (signed) type da-
ta.
Converts time type data into string type data.
Converts time type data into word (unsigned)/16-bit string or double word
(unsigned)/32-bit string type data.
Reads a value of specified bit of word (signed) type data.
Writes a value to the specified bit of word (signed) type data.
Copies a specified bit of word (signed) type data to the specified bit of an-
other word (signed) type data.
Converts the type of data into bit type.
Converts the type of data into word (signed) type.
Converts the type of data to word (unsigned)/16-bit string type.
Argument
Outputs the absolute value of an input value.
Argument
Outputs the sum ((s1) + (s2) +...+ (s28)) of input values.
Outputs the product ((s1) × (s2) ×...× (s28)) of input values.
Outputs the difference ((s1) - (s2)) between input values.
Outputs the quotient ((s1) / (s2)) of input values.
Outputs the remainder after division of input values ((s1) / (s2)).
Outputs the exponentiation of an input value.
Moves the input value to (d).
Argument
Outputs the Logical AND of input values.
Outputs the Logical OR of input values.
Outputs the Exclusive OR of input values.
Outputs the Logical negation of input values.
Argument
Outputs the value selected from input values.
Outputs the maximum value of input values.
Outputs the minimum value of input values.
Outputs one of multiple input values.
95
Process details
Process details
Process details
Process details
Process details
ST
○
○
○
○
○
○
○
○
○
○
○
○
○
ST
○
ST
○
○
○
○
○
○
○
ST
○
○
○
○
ST
○
○
○
○
IB-1501667-B