Panasonic GM1 Series Reference Manual page 100

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

Advertisement

10.1 Sample Program
PG_Home parameter
Parameter
Maximum speed:
Velocity [u/s]
Acceleration /
deceleration: AccDec
2
[u/s
]
(Note 1)
Set each acceleration / deceleration time to 32767 ms or less.
Program (ST)
Declaration section
PROGRAM sample
VAR
Process :UDINT := 0;
PG_Power_0: PG_Power;
PG_Home_0: PG_Home;
END_VAR
Implementation section
CASE Process OF
0://Servo On
PG_Power_0(
IF PG_Power_0.Status = TRUE THEN
END_IF
1://Execute the PG_Home
PG_Home_0(
END_CASE
10-4
Set value
10000
10000
UnitID:=1,
AxisNo:=1,
Enable:=TRUE,
bRegulatorOn:=TRUE);
Process := 1;
UnitID:=1,
AxisNo:=1,
Execute:=TRUE,
Velocity:=10000,
AccDec:=10000);
Setting range
0 to 4000000
(Note 1)
1 or more
WUME-GM1PG-01

Advertisement

Table of Contents
loading

This manual is also suitable for:

Agm1pg04tAgm1pg04l

Table of Contents