
—
Basic Programming
—
CPSN-PCB271-S1-041 Reference Manual (Software)
—
58
—
Conditional expression (IF - THEN)
Determine a condition, then execute or skip routine.
IF StartFlag THEN
(Routine)
END_IF
If a value of variable [StartFlag] is [True], then execute the routine placed between END_IF.
Conditional expression (CASE - OF)
Determine a condition, then execute or skip routine.
CASE State OF
0:
(Routine 1)
1:
(Routine 2)
END_CASE
If the value of variable [State] is [0], execute routine 1.
If the value of variable [State] is [1], execute routine 2.
* For details of ST language, please refer to the following site “PLCopen”.
PLCopen
https://www.plcopen.org
Содержание CONPROSYS nano CPSN-PCB271-S1-041
Страница 21: ...21 CONPROSYS nano WEB Setting This section describes the product system and functions...
Страница 49: ...49 CODESYS Installation This section describes the CODESYS installation procedure...
Страница 55: ...55 Basic Programming This section describes basic procedure to operate this product with CODESYS...
Страница 76: ...76 Programing with CODESYS This section describes the CODESYS programming procedure per function...
Страница 118: ...Programing with CODESYS CPSN PCB271 S1 041 Reference Manual Software 118 5 END_CASE...
Страница 122: ...Programing with CODESYS CPSN PCB271 S1 041 Reference Manual Software 122...
Страница 133: ...133 Maintenance This section describes how to perform maintenance on the product...
Страница 140: ...140 Appendix This section describes additional information of specification and the product...