1-107
IM 04L51B01-01EN
Configuring the GX/GP and Viewing the Settings
1
1.9 ConfiguringLogicMath(/MToption)
Logic math is a function that outputs calculated results as 0 or 1 to relays (DOs) or internal
switches.
Path
GX/GP: MENU key > Browse tab > Setting > Setting menu Logic math settings
Web application: Config. tab > Logic math settings
Hardware configurator: Config. tab > Logic math settings
Description
Logic math number
Setup Item Selectable Range or Options Default Value
Logic math number GX10/GP10: LM01 to LM20
GX20/GP20: LM01 to LM50
—
Logic math number
You can set up to 20 logic math expressions on the GX10/GP10 and up to 50 expressions
on the GX20/GP20. Select the number of the logic math expression you want to set.
Output
Setup Item Selectable Range or Options Default Value
Output type Off, Switch/Relay Off
Output No. DO channel or internal switch —
Output type
Select the output type of the calculated result.
Output No.
Select the output number of the calculated result. You can only select internal switch
numbers, relay (DO) channels, or PID control module’s DO with the type set to manual.
Calculation expression
Type ComputingElement
Auxiliary operation +, -
Basic arithmetic +, -, *, /
Relational operation .GT., .GE., .LT., .LE., .EQ., .NE., >, >=, <, <=, =, <>
Logical operation AND, OR, NOT, XOR
Conditional operation [expression 1 ? expression 2 : expression 3]
Bit operation BIT.Bnn()
Up to 120 characters can be entered in a calculation expression.
DataThatCanBeUsedinExpressions
See page 1-84 in section 1.8.2, “Setting Expressions”.
Note
You cannot change the calculation expression while recording is in progress.