11.4 Sample Programming
11-39
11
(2) H01 Drawing
The H01 child drawing turns ON the Servo, resets alarms, and sets common parameters.
Axis 1 Servo ON
########## Servo ON Command ##########
SourceA DW00012
Axis 2 Function Settings 1 (Unit)
Bits 4 to 7: Acceleration/Deceleration Unit Selection (0: Reference unit/s; 1: ms)
Bits 0 to 3: Speed Unit Selection (0: Reference unit/s; 1: Reference unit/min.; 2: Percentage)
########## Speed Unit and Acceleration/Deceleration Unit Selection ##########
Axis 1 Function Settings 1 (unit)
Axis 2 Servo ON
Axis 2 alarm reset
Axis 1 alarm reset
########## Alarm Reset ##########
Axis 2 motion command 0 detection
Axis 1 motion command 0 detection
########## Motion Command Detection ##########
Main Program: Axis Common Settings
P00102 H01
########## Axis Common Settings ##########
0000
NL-1
0000
Axis 1 motion command 0
MB300010
=
SourceA IW8008
SourceB 00000
0002
NL-1
0001
Axis 2 motion command 0
MB300018
=
SourceA IW8088
SourceB 00000
0014
NL-1
0006
AND
Axis 1 Function Settings 1 work
SourceA OW8003
Dest DW00010
Alarm reset PB
MB300001
Servo ON PB
MB300000
0004
NL-1
0002
Axis 1 SV_ON
OB80000
Axis 1 SVC_RDY
IB80000
Servo ON PB
MB300000
0007
NL-1
0003
Axis 2 SV_ON
OB80800
Axis 2 SVC_RDY
IB80800
MB300001
0010
NL-1
0004
Axis 1 ALM_RST
OB8000F
0012
NL-1
0005
Axis 2 ALM_RST
OB8080F
SourceB H0F00
0015
NL-1
0007
OR
Axis 1 Function Settings 1
SourceA DW00010
Dest OW8003
SourceB H0011
0016
NL-1
0008
AND
Axis 2 Function Settings 1 work
SourceA OW8083
Dest DW00012
SourceB H0F00
0017
NL-1
0009
OR
Axis 2 Function Settings 1
Dest OW8083
SourceB H0011
Alarm reset PB