Delta Tau 5xx-603869-xUxx manual Single-Channel I-Variables, I7m04 PFM Pulse Width Control

Page 38

Brick Motion Controller Hardware Reference Manual

I7m04: PFM Pulse Width Control

The pulse width is specified in PFM clock cycles and has a range of 1 to 255 cycles. The default value is

15.Since the default value of PFM clock is actually set to 9.8304 MHz, the default output pulse width will be 15/9,830400 = 1.5258 µS. Note that when the PFM clock values are changed, the PFM pulse

width values must be evaluated for proper stepper drive operation.

The user of a typical stepper drive should not need to modify these control variables. However, PFM pulse width should be increased if the stepper drive’s input cannot handle the speed of the pulse output. This often occurs with slow opto-couplers used on stepper drive inputs.

Single-Channel I-Variables

Each Servo IC has four channels n, numbered 1 to 4. For the first (standard) Servo IC on the Brick Motion Controller, the channel numbers 1 – 4 on the Servo IC are the same as the channel numbers 1 – 4 on the board. For the second (optional) Servo IC on the Brick Motion Controller, the channel numbers 1 – 4 on the Servo IC correspond to board channel numbers 5 – 8. The most important variables are:

I7mn0: Servo IC m Channel n Encoder Decode Control

Typically, I7mn0 is set to 3 or 7 for x4 quadrature decode, depending on which way is up. If the channel is used for open-loop stepper drive, I7mn0 is set to 8 to accept internal pulse-and-direction.

Caution:

If I7mn0 and I7mn8 are not matched properly, motor runaway will occur.

I7mn6: Servo IC m Channel n Output Mode Select

I7mn6 determines whether the A and B outputs are DAC or PWM, and whether the C output is PFM (pulse-and-direction) or PWM. Typically, it is set to 0, either for 3-phase PWM, or to 3 for DACs and PFM.

Set the output mode for the Brick Motion Controller for Pulse Frequency Modulation output (PFM), I7mn6 equal to 2.

I7mn8: Servo IC m Channel n PFM Direction Signal Invert Control

The polarity of the direction output is controlled by this I-variable. This output establishes an active low or high output.

This I-variable works in conjunction with I7mn0. To operate correctly with the Brick Motion Controller, if I7mn0 is set to 0, then I7mn8 is set to 0. If I7mn0 is set to 4, then I7mn8 is set to 1.

Caution:

If I7mn0 and I7mn8 are not matched properly, motor runaway will occur.

The Brick Motion Controller applies its gain formulas the same way it does for a classic servo system. The basic difference with a stepper system is that most of the times, the typical encoder feedback interface is handled using electronic circuitry rather than a physical encoder.

When the stepper output interface is selected, it allows the use of an electronic encoder feedback or a physical encoder feedback. When used with an actual physical encoder, the axis should be tuned as if it were a typical servomotor.

The process of tuning the simulated feedback loop is identical to tuning a servomotor with the exception that some of the parameters become more predictable.

30

System Wiring

Image 38
Contents 125 Operating Conditions Safety InstructionsCopyright Information Delta Tau Data Systems, Inc. Technical SupportPage Page Revision History Page Table of Contents Brick Motion Controller Hardware Reference Manual Brick Motion Controller Features IntroductionBrick Motion Controller Hardware Reference Manual Part Number Brick Motion Controller OptionsMacro and Special Feedback Options Analog I/O OptionsCommunication Options Receiving and Unpacking Use of EquipmentBrick Motion Controller Hardware Reference Manual Earth Grounding Paths Wiring Earth-GroundNoise Problems X1-X8 Encoder Input 1 to ConnectorsPin Symbol Function X9-10 Analog I/O Ch5 X9 and Ch6 X10, Optional X9/10 Female DB-9 Connector Pin # SymbolX11/12 Female DB-9 Connector Pin # Symbol Function X11-12 Analog I/O Ch7 X11 and Ch8 X12, OptionalPin # Symbol X13 USB 2.0 ConnectorX14 RJ45, Ethernet Connector X15 WatchdogS2 Firmware Reload Enable TB1 Power ConnectorS1 Re-Initialization on Reset Control J4 Limit Inputs 1-4 Axis DescriptionLimit and Flag Circuit Wiring J5 Limit Inputs 5-8 AxisSample J4/J5, Flags Wiring Diagrams GNDAMP1-AMP8 Amplifier connections 1 to Amplifier Fault / Amplifier Enable diagrams J6 General Purpose I/O Female DB-37 Connector Pin # Symbol J6 General Purpose I/OSuggested M-var. # Address Sourcing SinkingSymbol Function J7 Extra General Purpose I/O OptionalSuggested M-var. # Address J8 General Purpose I/O Female DB-37 Connector Pin # Symbol J8 Extra General Purpose I/O OptionalSuggested M-var. # Address Sample J6/J7, I/O Wiring Diagrams GBLHardware Setup Setting up Quadrature EncodersSignal Format Function Pin #Encoder Loss Setup Channel# Address DescriptionBipolar Setting up the Analog Inputs optionalFiltered DAC Outputs Configuration optional Parameters to Set up Global Hardware Signals Parameters to Set Up Per-Channel Hardware Signals I7m00 Servo IC m MaxPhase/PWM Frequency Control Setting up for Pulse and Direction OutputSoftware Setup Multi-Channel Servo IC I-VariablesI7m04 PFM Pulse Width Control I7mn6 Servo IC m Channel n Output Mode SelectSingle-Channel I-Variables I7mn0 Servo IC m Channel n Encoder Decode ControlExample Ixx34 Motor xx Integration ModeIxx30 Motor xx Proportional Gain Ixx31 Motor x Derivative GainBrick Motion Controller Hardware Reference Manual Diagnosing Cause of Watchdog Timer Trip Watchdog TimerActions on Watchdog Timer Trip Troubleshooting X9-12 DB-9 Connectors for Analog I/O DB- Connector Spacing SpecificationsX1-8 DB-15 Connectors for encoder feedback Screw Lock Size for all DB-connectorsType of Cable for Encoder Wiring Appendix a Inputs SchematicsJ6 and J7 General Purpose I/O Opto Gnd Plane OutputsJ4 Limit Inputs for Axis Limits 1,2,3,4J5 Limit Inputs for Axis Limits 5,6,7,8Dimensional Layout and Connector location