Delta Tau 5xx-603869-xUxx manual Setting up for Pulse and Direction Output, Software Setup

Page 37

Brick Motion Controller Hardware Reference Manual

Setting up for Pulse and Direction Output

The following section shows how to quickly setup the key variables for a stepper motor (PFM) system.

The step and direction outputs are RS422 compatible and are capable of being connected in either differential mode or single ended configurations for 5V input drivers.

Below are two examples for wiring the Brick Motion Controller to the stepper Amplifier. The user needs to write pin 8 to pin 4 so as to enable the Stepper output and the AENA.

GBL_Stepper output wiring X1-X8,

quadrature encoder feedback, Amplifier Enable lines are used

1 CHAn+

9 CHAn-

2

10

CHBn+

 

 

CHBn-

 

3

 

ENCPWR

 

11

AENAn+/index +

 

4

AENAn-/index -

 

 

 

 

5

12

GND

 

13

DIRn+

Stepper

6

DIRn-

14

PULn+

Amplifier

7

PULn-

Shield

 

 

15

8

Short pin 8 to pin 4 to enable Stepper Output

GBL_Stepper output wiring X1-X8,

no encoder feedback

Amplifier Enable lines are used

1

9

 

 

2

 

 

10

 

 

3

AENAn+

Shield

 

11

AENAn-

 

4

 

 

 

 

 

12

GND

 

5

DIRn+

Stepper

13

DIRn-

6

PULn+

Amplifier

14

PULn-

 

7

15

8

Short pin 8 to pin 4 to enable Stepper Output

(For Older version Brick Motion Controllers: Jumpers E21(E31) throughE24( E34) must be jumpered in the inside of the unit for PFM outputs and E25(35) through E28(38) must be jumpered for amplifier enable outputs. Pin 8 was not connected to anything)

Software Setup

After having the hardware ready for steppers the user needs to set the software for Pulse and direction output as well. There are several I-variables that must be set up properly for proper operation of the Pulse and direction output in a Brick Motion Controller system. It is recommended for the user to also look into the Turbo Software reference and the Turbo Users manual. The most important ones are analyzed below and we can separate them into two categories:

Multi-Channel Servo IC I-Variables

I7m00: Servo IC m MaxPhase/PWM Frequency Control

Typically, this will be set to the same value as the variable that controls the system clocks: I7000 (channels 1-4) I7100 (channels 5-8). If a different PWM frequency is desired, then the following constraint should be observed in setting this variable:

2 * PWMFreq( kHz ) = { Integer }

PhaseFreq

I7m03: Servo IC m Hardware Clock Frequency Control

The hardware clock frequencies for the Servo IC should be set according to the devices attached to it. There is no reason that these frequencies have to be the same between ICs. There is seldom a reason to change this value from the default. At default this value will be 2258, which is to a PFM clock of approximately 10 MHz, (which is about 10 times greater than normally needed). Therefore, this value is not normally changed. Refer to the Turbo Software Reference manual for changing these variables.

System Wiring

29

Image 37
Contents 125 Copyright Information Safety InstructionsOperating Conditions Delta Tau Data Systems, Inc. Technical SupportPage Page Revision History Page Table of Contents Brick Motion Controller Hardware Reference Manual Introduction Brick Motion Controller FeaturesBrick Motion Controller Hardware Reference Manual Brick Motion Controller Options Part NumberCommunication Options Analog I/O OptionsMacro and Special Feedback Options Use of Equipment Receiving and UnpackingBrick Motion Controller Hardware Reference Manual Noise Problems Wiring Earth-GroundEarth Grounding Paths Pin Symbol Function ConnectorsX1-X8 Encoder Input 1 to X11/12 Female DB-9 Connector Pin # Symbol Function X9/10 Female DB-9 Connector Pin # SymbolX9-10 Analog I/O Ch5 X9 and Ch6 X10, Optional X11-12 Analog I/O Ch7 X11 and Ch8 X12, OptionalX14 RJ45, Ethernet Connector X13 USB 2.0 ConnectorPin # Symbol X15 WatchdogS1 Re-Initialization on Reset Control TB1 Power ConnectorS2 Firmware Reload Enable Description J4 Limit Inputs 1-4 AxisJ5 Limit Inputs 5-8 Axis Limit and Flag Circuit WiringGND Sample J4/J5, Flags Wiring DiagramsAMP1-AMP8 Amplifier connections 1 to Amplifier Fault / Amplifier Enable diagrams J6 General Purpose I/O J6 General Purpose I/O Female DB-37 Connector Pin # SymbolSourcing Sinking Suggested M-var. # AddressJ7 Extra General Purpose I/O Optional Symbol FunctionSuggested M-var. # Address J8 Extra General Purpose I/O Optional J8 General Purpose I/O Female DB-37 Connector Pin # SymbolSuggested M-var. # Address GBL Sample J6/J7, I/O Wiring DiagramsSignal Format Setting up Quadrature EncodersHardware Setup Function Pin #Channel# Address Description Encoder Loss SetupFiltered DAC Outputs Configuration optional Setting up the Analog Inputs optionalBipolar Parameters to Set up Global Hardware Signals Parameters to Set Up Per-Channel Hardware Signals Software Setup Setting up for Pulse and Direction OutputI7m00 Servo IC m MaxPhase/PWM Frequency Control Multi-Channel Servo IC I-VariablesSingle-Channel I-Variables I7mn6 Servo IC m Channel n Output Mode SelectI7m04 PFM Pulse Width Control I7mn0 Servo IC m Channel n Encoder Decode ControlIxx30 Motor xx Proportional Gain Ixx34 Motor xx Integration ModeExample Ixx31 Motor x Derivative GainBrick Motion Controller Hardware Reference Manual Actions on Watchdog Timer Trip Watchdog TimerDiagnosing Cause of Watchdog Timer Trip Troubleshooting X1-8 DB-15 Connectors for encoder feedback DB- Connector Spacing SpecificationsX9-12 DB-9 Connectors for Analog I/O Screw Lock Size for all DB-connectorsType of Cable for Encoder Wiring Appendix a J6 and J7 General Purpose I/O SchematicsInputs Outputs Opto Gnd PlaneLimits 1,2,3,4 J4 Limit Inputs for AxisLimits 5,6,7,8 J5 Limit Inputs for AxisDimensional Layout and Connector location