EasyManuals Logo

JUMO LOGOSCREEN 601 Manual

JUMO LOGOSCREEN 601
64 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #32 background imageLoading...
Page #32 background image
7 Instructions
32
CASE instruction
The CASE instruction combines several conditional instructions. It consists of an expression that con-
tains an integer variable and a list of instruction groups. Each group is identified by a mark consisting of
one or more integers (separated by commas). The value of the variable determines the mark and thus
the instruction group to be executed. The keyword ELSE can also be used as an option. If no value ap-
plies, the instruction group following the keyword ELSE is executed.
Keywords:
CASE, OF, ELSE, END_CASE
Example:
VAR
b1: BOOL;
b2: BOOL;
END_VAR
CASE i OF (* variable i must be UINT or UDINT *)
1: b1 := TRUE;
2, 3, 4: b2 := TRUE;
ELSE
b1 := FALSE;
b2 := FALSE;
END_CASE;

Other manuals for JUMO LOGOSCREEN 601

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the JUMO LOGOSCREEN 601 and is the answer not in the manual?

JUMO LOGOSCREEN 601 Specifications

General IconGeneral
BrandJUMO
ModelLOGOSCREEN 601
CategoryMeasuring Instruments
LanguageEnglish

Related product manuals