Fixed Parameter Access
This commit is contained in:
@@ -1,5 +1,10 @@
|
||||
PROGRAM _CYCLIC
|
||||
lProcessParam ACCESS (ADR (gProcParam[uiCurParameterset]));
|
||||
IF (gusParmIdx[uiCurParameterset] < 0) OR (gusParmIdx[uiCurParameterset] >= MAX_PARAM) THEN
|
||||
lProcessParam ACCESS (ADR (gProcParam[0]));
|
||||
ELSE
|
||||
lProcessParam ACCESS (ADR (gProcParam[gusParmIdx[uiCurParameterset]]));
|
||||
END_IF
|
||||
|
||||
|
||||
//VC Elemente
|
||||
DoVCStates;
|
||||
|
||||
Reference in New Issue
Block a user