FQM1-TER01 Omron, FQM1-TER01 Datasheet - Page 192

no-image

FQM1-TER01

Manufacturer Part Number
FQM1-TER01
Description
5M 4COND 22AWG TPE ST MALE M12
Manufacturer
Omron
Datasheet

Specifications of FQM1-TER01

Lead Free Status / Rohs Status
Lead free / RoHS Compliant
Other names
FQM1TER01
Operators
Functions
Function Block (FB) Functions
Parentheses and
brackets
Function evaluation
Exponential
Complement
Multiplication
Division
Addition
Subtraction
Comparisons
Equality
Non-equality
Boolean AND
Boolean AND
Boolean exclusive
OR
Boolean OR
ABS (argument)
SQRT (argument)
LN (argument)
LOG (argument)
EXP (argument)
Numerical
Operation
functions
(expression),
array[index]
identifier
**
NOT
*
/
+
<, >, <=, >=
=
<>
&
AND
XOR
OR
Argument data type
INT, DINT, LINT,
UINT, UDINT, ULINT,
REAL, LREAL
REAL, LREAL
REAL, LREAL
REAL, LREAL
REAL, LREAL
Symbol
Numerical Functions
The following numerical functions can be used in structured text.
Numerical functions
Arithmetic functions
Data Conversion
functions
Function
Depends on the function. (Refer to the Functions
table below.)
REAL, LREAL
BOOL, WORD, DWORD, LWORD
INT, DINT, UINT, UDINT, ULINT, REAL, LREAL
INT, DINT, LINT, UINT, UDINT, ULINT, REAL, LREAL 5
INT, DINT, LINT, UINT, UDINT, ULINT, REAL, LREAL 6
INT, DINT, LINT, UINT, UDINT, ULINT, REAL, LREAL 6
BOOL, INT, DINT, LINT, UINT, UDINT, ULINT,
WORD, DWORD, LWORD, REAL, LREAL
BOOL, INT, DINT, LINT, UINT, UDINT, ULINT,
WORD, DWORD, LWORD, REAL, LREAL
BOOL, INT, DINT, LINT, UINT, UDINT, ULINT,
WORD, DWORD, LWORD, REAL, LREAL
BOOL, WORD, DWORD, LWORD
BOOL, WORD, DWORD, LWORD
BOOL, WORD, DWORD, LWORD
BOOL, WORD, DWORD, LWORD
INT, DINT, LINT,
UINT, UDINT,
ULINT, REAL,
LREAL
REAL, LREAL
REAL, LREAL
REAL, LREAL
REAL, LREAL
Return value
data type
Data types supported by operator
Numerical processing functions such as absolute value and
trigonometric functions.
Exponential (EXPT)
Source data type _TO_ Destination data type (variable name)
Absolute value [argument] a: = ABS (b)
Square root:
Natural logarithm: LOG
argument
Common logarithm:
LOG
Natural exponential: e
ment
argument
10
argument
Contents
Syntax
argu-
e
(*absolute value of variable b
stored in variable a*)
a: = SQRT (b)
(*square root of variable b
stored in variable a*)
a: = LN (b)
(*natural logarithm of vari-
able b stored in variable a*)
a: = LOG (b)
(*common logarithm of vari-
able b stored in variable a*)
a: = EXP (b)
(*natural exponential of vari-
able b stored in variable a*)
1
2
3
4
5
7
8
8
9
9
10
11
Example
11: Highest
1: Lowest
Section 5-9
Priority
165