3 System Startup
3.5.3 Program Details
3-58
3.5.3 Program Details
(1) H06.02 Drawing
The H06.02 grandchild drawing controls phase control (electronic cam) operation.
Axis 2: Slave axis = Phase control (electronic cam)
Axis 1: Master axis = Phase control (electronic shaft)
########## Description ##########
Main Program: Phase Control 2 (Electronic Cam)
P00121 H06.02
########## Phase Control 2 (Electronic Cam) ##########
########## Phase Control Operation Command ##########
0000
NL-1
0000
Startup PB
DB000010
STORE
Axis 1 motion command
Source 00025
Dest OW8008
WORK
DB000050
Axis 2 SV_ON
IB80801
Electronic cam start
DB000001
Electronic cam stop
DB000002
Zero speed
DB000003
Electronic cam start
DB000001
0009
NL-1
0002
0013
NL-1
0003
0015
NL-1
0004
0017
NL-1
0005
0019
NL-1
0006
0021
NL-1
0007
STORE
Axis 2 motion command
Source 00025
Dest OW8088
STORE
Axis 1 motion command
Source 00000
Dest OW8008
STORE
Axis 2 motion command
Source 00000
Dest OW8088
Electronic cam stop
DB000002
0004
NL-1
0001
########## Motion Command Issue ##########
Motion command 25 (phase control) setting
Axis 1 SV_ON
IB80001
Operation command
DB000000
Operation command
DB000000
Axis 1 motion command 0
MB300010
Axis 1 motion command 0
MB300018
Operation command
DB000000
WORK
DB000051
Electronic cam start
DB000001
Motion command 0 (NOP) setting
########## Slave Axis Phase Generation Operation Disabled (Electronic Cam Mode) ##########
Electronic cam stop
DB000002
0025
NL-1
0008
########## Master Axis Speed Command Generation ##########
Master axis linear acceleration/deceleration parameter setting
EXPRESSION
Linear acceleration/deceleration parameter setting
DB000200 =true;
DB000201 =true;
DF00022 =30000.0;
DF00024 =10.0;
0026
NL-1
0009
Master axis speed setting
Operation command
DB000000
STORE
Linear accelerator/decelerator input
Source DL00010
Dest DF00012
DF00026 =10.0;
Axis 2 phase generation disabled
OB80851
Zero speed
DB000003
Operation command
DB000000
Cam operation command
MB300008