NOVA electronics Inc. MCX514 -
81
-
81
-
2.7.6
Examples of Split Pulse
■
Example 1 Split pulse starts from the start of X axis driving.
After issuing start of split pulse command, driving starts and split pulses are output with driving.
WRN
XPP, XPM
Write driving command
Issue start of split pulse command
XSPLTP
Start split pulse from the first driving pulse
Fig. 2.7-3 Timing of Split Pulse Output by Start of Driving
【
Program Example
】
// Drive setting (constant speed driving at 1000 PPS)
WR6
←
1200h Write
// Initial speed 8M PPS (maximum in specification)
WR7
←
007Ah Write
WR0
←
0104h Write
WR6
←
03E8h Write
// Drive speed 1000 PPS
WR7
←
0000h Write
WR0
←
0105h Write
WR6
←
0000h Write
// Logical position counter 0
WR7
←
0000h Write
WR0
←
0109h Write
// Split pulse setting
// Split length, pulse width setting
WR6
←
0009h Write
// Split length 9
WR7
←
0005h Write
// Pulse width 5
WR0
←
0117h Write
// Split pulse number setting
WR6
←
000Ah Write
// Split pulse number 10
WR0
←
0118h Write
// Split pulse logic, starting pulse setting
WR6
←
0800h Write
// D10
0
SPLL
:
Pulse logic Positive
// D11
1
SPLBP
:
With starting pulse
WR0
←
0122h Write
// Start split (write start of split pulse command before starting the drive)
WR0
←
0175h Write
// Start driving
WR0
←
0152h Write
// Starts
+
direction continuous pulse driving
After starting the drive, the first driving pulse becomes the starting drive pulse of split pulse.
After start of split pulse command is written, split pulses are not output unless driving starts, but D11 bit (SPLIT) of RR3 register
Page1 becomes 1 at the timing of when start of split pulse command is written.