JogForward:=FALSE,
JogBackward:=TRUE,
Velocity:=10000,
AccDec:=10000);
END_CASE
8.1.2 JOG Operation (Speed Changes)
The operation speed can be changed during JOG operation. This section describes a program
example for changing the speed during forward rotation.
■
Parameter Settings
PG_Jog parameter
Parameter 1st speed 2nd speed Setting range
Target speed: Velocity
[u/s]
10000 20000 0 to 4000000
Acceleration /
Deceleration: AccDec
[u/s
2
]
10000 10000
1 or more
(Note 1)
(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_Jog_0: PG_Jog;
END_VAR
● Implementation section
CASE Process OF
0://Servo On
PG_Power_0(
UnitID:=1,
AxisNo:=1,
Enable:=TRUE,
bRegulatorOn:=TRUE);
IF PG_Power_0.Status = TRUE THEN
Process := 1;
END_IF
1://Execute the PG_Jog with JogForward
PG_Jog_0(
UnitID:=1,
AxisNo:=1,
JogForward:=TRUE,
JogBackward:=FALSE,
8.1 Sample Program
8-4 WUME-GM1PG-01