Panasonic GM1 Series Reference Manual page 131

Motion controller
Hide thumbs Also See for GM1 Series:
Table of Contents

Advertisement

//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
END_IF
IF PG_Stop_0.Done = TRUE THEN
END_IF
2://Execute the PG_MoveRelative
PG_MoveRelative_0(
END_CASE
WUME-GM1PG-01
UnitID:=1,
AxisNo:=1,
Execute:=TRUE,
Distance:= 10000,
Velocity:=10000,
AccDec:=10000);
PG_Stop_0(
UnitID:=1,
AxisNo:=1,
Execute:=TRUE,
StopMethod:=FALSE);
PG_Stop_0(
UnitID:=1,
AxisNo:=1,
Execute:=FALSE);
PG_MoveRelative_0(
UnitID:=1,
AxisNo:=1,
Execute:=FALSE);
Process := 2;
UnitID:=1,
AxisNo:=1,
Execute:=TRUE,
Distance:= 10000,
Velocity:=10000,
AccDec:=10000);
12.1 Sample Program
//Decelerate and stop
12-7

Advertisement

Table of Contents
loading

This manual is also suitable for:

Agm1pg04tAgm1pg04l

Table of Contents