13-18 VersaMax Modules, Power Supplies and Carriers User's Manual
GFK-1504N
13
IC200MDD841
Mixed Module, 24 V DC Positive Logic Input 20 Points / Output 12 Point /
(4) High-speed Counter, PWM, or Pulse Train Configurable Points
Ramp Outputs
When an output’s function is configured to be Ramp, acceleration and
deceleration factors are applied to the Pulse-Train output. Acceleration and
deceleration factors can be specified using Data Commands, as explained later
in this section. Both acceleration and deceleration can be selected from the
range of 10 p/s
2
to 1,000,000 p/s
2
. The default for both is 1,000,000.
Acceleration and deceleration do not need to be the same. Appropriate values
depend on the application and the capability of the stepper motor being driven.
A Ramp function begins when the module detects that the channel’s Enable
Output bit (discrete output bit 21-24, see “Module Data”) is On and an Off-to-On
transition has occurred on the channel’s Start Pulse Train bit (discrete output bit
25-28). At that point, the Pulse Train begins and the channel’s Pulse Train
Complete bit (discrete input bit 33-36) is set Off. The module outputs the
specified number of pulses, in varying pulse widths, to produce a velocity profile
similar to the one
follows
. After the last pulse is completed, the module sets the
channel’s Pulse Train Complete bit Off and begins monitoring the channel’s
Start Pulse Train bit for another Off-to-On transition.
The Ramp feature results in a Pulse-Train profile like the example
follows
.
Frequency = 5,000
Acceleration = 10,000
Deceleration = 2,000
2.5
0.5
Time
(seconds)
Velocity
(pulses/sec)
5,000
The Ramp function continues until all its pulses have been generated or its
Output Enable bit (discrete output bit 21-24) changes from On to Off.
A Pulse Train output can be terminated before the requested number of pulses
have been completed by setting its Output Enable bit (discrete output bit 21-24)
to Off. If the Enable Output bit transitions from On to Off, the module will either
stop the Pulse Train immediately or transition the Ramp output to its
deceleration phase—depending on the channel’s configuration. If deceleration
is configured, the module will output a number of pulses based on: (1) the
configured deceleration and (2) the velocity at the time the Enable Output bit
goes Off. When the last pulse is completed, the module will set the channel’s
Pulse Train Complete bit (discrete input bit 33-36) to On.