UnitID:=1,
AxisNo:=1,
Execute:=TRUE,
Distance:= 10000,
Velocity:=10000,
AccDec:=10000);
//Changing the variable Stop to TRUE execute the PG_Stop.
//CommandAborted of PG_MoveRelative becomes TRUE and processing is i
nterrupted.
IF Stop = TRUE THEN
PG_Stop_0(
UnitID:=1,
AxisNo:=1,
Execute:=TRUE,
StopMethod:=FALSE); //Decelerate and stop
END_IF
IF PG_Stop_0.Done = TRUE THEN
PG_Stop_0(
UnitID:=1,
AxisNo:=1,
Execute:=FALSE);
PG_MoveRelative_0(
UnitID:=1,
AxisNo:=1,
Execute:=FALSE);
Process := 2;
END_IF
2://Execute the PG_MoveRelative
PG_MoveRelative_0(
UnitID:=1,
AxisNo:=1,
Execute:=TRUE,
Distance:= 10000,
Velocity:=10000,
AccDec:=10000);
END_CASE
12.1 Sample Program
WUME-GM1PG-01
12-7
Summary of Contents for AGM1PG04L
Page 2: ... MEMO 2 WUME GM1PG 01 ...
Page 14: ... MEMO 1 4 WUME GM1PG 01 ...
Page 22: ... MEMO 2 8 WUME GM1PG 01 ...
Page 42: ... MEMO 3 20 WUME GM1PG 01 ...
Page 52: ...4 5 Increment and Absolute 4 10 WUME GM1PG 01 ...
Page 70: ...AccDec 10000 END_CASE 6 1 Sample Program 6 6 WUME GM1PG 01 ...
Page 82: ... MEMO 7 10 WUME GM1PG 01 ...
Page 90: ... MEMO 8 8 WUME GM1PG 01 ...
Page 94: ...AccDec 10000 END_CASE 9 1 Sample Program 9 4 WUME GM1PG 01 ...
Page 116: ... MEMO 10 20 WUME GM1PG 01 ...
Page 124: ... MEMO 11 8 WUME GM1PG 01 ...
Page 142: ... MEMO 14 4 WUME GM1PG 01 ...
Page 158: ...16 3 Dimensions 16 3 1 Pulse Output Unit Unit mm 16 3 Dimensions 16 8 WUME GM1PG 01 ...
Page 162: ... MEMO App 4 WUME GM1PG 01 ...
Page 164: ... MEMO WUME GM1PG 01 ...
Page 165: ... MEMO WUME GM1PG 01 ...
Page 166: ...Panasonic Corporation 2021 August 2021 WUME GM1PG 01 ...