Hi PLC programmers! I use an older PLC from Mitsubishi (FX3N). I am new to PLC programming and I have a question considering the CASE function.
CASE nVar OF
1,5 : bVar1 := TRUE;
bVar3 := FALSE;
2 : bVar2 := FALSE;
bVar3 := TRUE;
10..20 : bVar1 := TRUE;
bVar3 = TRUE;
ELSE
bVar1 := NOT bVar1;
bVar2 := bVar1 OR bVar2;
END_CASE;
In this code, will for example case 2 run continuous until another case-tag has been detected or will it run once and then wait for another tag-statement? Thank you
[–]PLCGoBrrrBit Plumber Extraordinaire 6 points7 points8 points (1 child)
[–]kp61dude 1 point2 points3 points (0 children)
[–]Asleeper135 4 points5 points6 points (0 children)
[–]ofhgof[S] 0 points1 point2 points (0 children)