Owner manual

IM CX2000-S30E
11
3.5 Logic Computation Equation Example with SELECT Operator
This section explains an example of SELECT operator in logic computation.
The combination use of If-Then-Else ([eq1?eq2: eq3]) and program control operator
(.SELECT()) enable to check action error.
1. Assign “ProgramRun”, ProgramReset”, “HOLD”, “Advance” to internal switch number
you want to set.
Figure 3.5-1 Internal switch setting
2. Set/input logic computation equation with SELECT operator.
When the condition of logic computation equation is valid, an action you set in internal
switch (“Program Run” or ”Program Reset” or “HOLD” or “Advance”) is executed.
Example SW001=DO001 AND DI001.SELECT (1.1)
1. “Program RUN” is assigned to SW001
When both DO001 and DI001 are not “0” and when loop 1 exists in program
pattern 1, program pattern 1 runs.
2. “HOLD” is assigned to SW001
When both DO001 and DI001 are not “0” and when program pattern 1, in which
loop 1 exists and runs, program pattern 1 will be hold.