Controlling Stepper Motors; Output Signals - Scanlab RTC6 PCIe Board Installation And Operation Manual

Real time control of scan systems and lasers rtc6 software package v1.16.0
Table of Contents

Advertisement

9.1.5 Controlling Stepper Motors

Output Signals

The signals (ENABLE, DIRECTION and CLOCK) for
controlling up to two stepper motors are outputted
at the "STEPPER MOTOR" socket connector:
• You can appropriately change the ENABLE signal
(to switch motor current on or off) during
initialization by
stepper_init
stepper_enable
or stepper_enable_list.
• The RTC6 PCIe Board generates periodic CLOCK
signal pulses (during reference runs by
stepper_init
and set-position movements by
stepper_abs
etc.). With each CLOCK pulse, the
stepper motor executes a single step. You can
adjust the CLOCK signal's pulse period (and
thereby the speed of stepper motor motion)
during initialization by
afterward by
stepper_control
stepper_control_list
(the period is specified in
units of 10 µs cycles).
• You can explicitly set the DIRECTION signal (and
thereby the direction of stepper motor motion)
during reference runs by stepper_init. In
contrast, the DIRECTION signal is internally
controlled during set-position movements by
stepper_abs
etc.: the signal gets set (to HIGH) if
the next CLOCK pulse (in accordance with the
defined set-position value) would increase the
internal position variable. The DIRECTION signal
also remains set for the cycles between two clock
cycles and even when the stepper motor has
reached its set position. Only upon an actual
change of direction does the DIRECTION signal
correspondingly change in place of a CLOCK
pulse. Here, output of the next CLOCK pulse is
delayed by a full CLOCK pulse period (undefined
truncation of CLOCK pulse periods never occurs).
RTC6 boards
Doc. Rev. 1.0.21 en-US
9 Programming Peripheral Interfaces
and afterward by
stepper_init
and
or
Notes
• For signal specifications, see
"STEPPER MOTOR Socket Connector", page
• For querying signals, see
Signals and Status Values", page
• Stepper motor signals are outputted
independently of any executing lists. A
set_end_of_list, pause_list, set_wait,
stop_execution
or external stops do not
terminate or pause a forwarding motion.
• For changes of direction or pulse period, the new
values do not become active until an already-
begun period is complete. Thus, pulse intervals
are never be shorter than the currently defined
value. For change of direction, an additional
empty period (without CLOCK pulse) gets
inserted.
Chapter 4.6.7
87.
Section "Querying
286.
284

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the RTC6 PCIe Board and is the answer not in the manual?

Related Products for Scanlab RTC6 PCIe Board

This manual is also suitable for:

Rtc6 ethernet board

Table of Contents

Save PDF