NOVA electronics Inc. MCX514 -
83
-
83
-
■
Example 3
Split pulses are output at constant speed area during S-curve acceleration /deceleration driving in X axis.
At constant speed area during S-curve acceleration /deceleration driving, split pulses are output. This is performed by the function
of a synchronous action.
Speed
Time
・・ ・
・・ ・
・・ ・
・ ・・
・ ・・
XPP, XPM
XSPLTP
Start
constant speed driving
Terminate
constant speed driving
Constant speed area in S- curve driving
Driving start
Driving finish
Fig. 2.7-5 Output of Split Pulses at Constant Speed Area in S-curve Driving
【
Program Example
】
// S-curve acceleration /deceleration drive setting
WR6
←
000Ah Write
// Initial speed 10 PPS
WR7
←
0000h Write
WR0
←
0104h Write
WR6
←
0FA0h Write
// Drive speed 4000 PPS
WR7
←
0000h Write
WR0
←
0105h Write
WR6
←
FFFFh Write
// Acceleration 536870911(maximum)
WR7
←
1FFFh Write
WR0
←
0102h Write
WR6
←
A048h Write
// Jerk 893K PPS/SEC2
WR7
←
000Dh Write
WR0
←
0100h Write
WR6
←
9C40h Write
// Drive pulse
number 40000
WR7
←
0000h Write
WR0
←
0106h Write
WR6
←
0000h Write
// Logical position counter 0
WR7
←
0000h Write
WR0
←
0109h Write
WR3
←
0104h Write
// D3
1 SACC
:
S-curve acceleration /deceleration
// Split pulse setting
// Split length, pulse width setting
WR6
←
0008h Write
// Split length 8
WR7
←
0005h Write
// Pulse width 5
WR0
←
0117h Write
// Split pulse number setting
WR6
←
0000h Write
// Split pulse number Infinite
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
// Synchronous action setting
// Synchronous action SYNC0 setting
WR6
←
0174h Write
// D3
~
D0 0100 PREV3
~
0
:
Activation factor Start constant speed driving
// D8
~
D4 10111 ACT4
~
0
:
Action start of split pulse
// D15 0 REP
:
Repeat must be disabled
WR0
←
0126h Write