7.1 Sample Program
IF PG_MoveRelative_0.ContinuousEnable = TRUE THEN
END_IF
2://Execute the 2nd PG_MoveRelative
PG_MoveRelative_0(
IF PG_MoveRelative_0.ContinuousEnable = TRUE THEN
END_IF
3://Execute the 3rd PG_MoveRelative
PG_MoveRelative_0(
END_CASE
7-4
AccDec:=10000);
PG_MoveRelative_0(
UnitID:=1,
AxisNo:=1,
Execute:=FALSE);
Process := 2;
UnitID:=1,
AxisNo:=1,
Execute:=TRUE,
Distance:= 15000,
Velocity:=20000,
AccDec:=10000);
PG_MoveRelative_0(
UnitID:=1,
AxisNo:=1,
Execute:=FALSE);
Process := 3;
UnitID:=1,
AxisNo:=1,
Execute:=TRUE,
Distance:= 6000,
Velocity:=500,
AccDec:=10000);
WUME-GM1PG-01