OMRON
Nested Conditional Statements
Syntax
IF conditionA THEN
statementblock1
IF conditionB THEN
statementblock3
ENDIF
ELSE
statementblock2
ENDIF
or
IF conditionA THEN
statementblock1
IF conditionB THEN
statementblock3
ELSE
statementblock4
ENDIF
ELSE
statementblock2
ENDIF
or
IF conditionA THEN
statementblock1
ELSEIF conditionB THEN
statementblock3
ENDIF
or
IF conditionA THEN
statementblock1
ELSE
statementblock2
IF conditionB THEN
statementblock3
ELSE
statementblock4
ENDIF
ENDIF
Revision 2.0
CHAPTER 4 – CX-Supervisor Script Language
Page 17
Need help?
Do you have a question about the CX-SUPERVISOR - SCRIPT REFERENCE REV2.0 and is the answer not in the manual?
Questions and answers