EasyManua.ls Logo

Panasonic GM1 Series - Page 131

Panasonic GM1 Series
166 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
Loading...
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

Table of Contents

Other manuals for Panasonic GM1 Series

Related product manuals