Delta Tau PMAC2A-PC/104 manual DAC Output Signals, Pulse and Direction Stepper Drivers, Example

Page 21

PMAC2A PC104 Hardware Reference Manual

DAC Output Signals

If PMAC is not performing the commutation for the motor, only one analog output channel is required to command the motor. This output channel can be either single-ended or differential, depending on what the amplifier is expecting. For a single-ended command using PMAC channel 1, connect DAC1+ (pin

29)to the command input on the amplifier. Connect the amplifier’s command signal return line to PMAC’s GND line (pin 48). In this setup, leave the DAC1- pin floating; do not ground it.

For a differential command using PMAC channel 1, connect DAC1 (pin 29) to the plus-command input on the amplifier. Connect DAC1- (pin 31) to the minus-command input on the amplifier. PMAC’s GND should still be connected to the amplifier common.

To limit the range of each signal to ±5V, use parameter Ix69. Any analog output not used for dedicated servo purposes may be utilized as a general-purpose analog output. Usually this is done by defining an M-variable to the digital-to-analog-converter register (suggested M-variable definitions M102, M202, etc.), then writing values to the M-variable. The analog outputs are intended to drive high-impedance inputs with no significant current draw. The 220output resistors will keep the current draw lower than 50 mA in all cases and prevent damage to the output circuitry, but any current draw above 10 mA can result in noticeable signal distortion.

Example:

Pulse and Direction (Stepper) Drivers

The channels provided by the PMAC2A PC/104 board or the Acc-1P board can output pulse and direction signals for controlling stepper drivers or hybrid amplifiers. These signals are at TTL levels.

Amplifier Enable Signal (AENAx/DIRn)

Most amplifiers have an enable/disable input that permits complete shutdown of the amplifier regardless of the voltage of the command signal. PMAC’s AENA line is meant for this purpose. AENA1- is pin 33. This signal is an open-collector output and an external 3.3 kpull-up resistor can be used if necessary.

Machine Connections

15

Image 21
Contents PMAC2A-PC/104 Delta Tau Data Systems, Inc. Technical Support Copyright InformationTable of Contents Software Setup Base Board Connector Pinouts PMAC2A PC104 Hardware Reference Manual Table of Contents Introduction Board ConfigurationAcc-1P Axis Expansion Piggyback Board Option 12 Analog-to-Digital ConvertersAcc-1P Option 1 I/O Ports Acc-1P Option 2 Analog-to-Digital ConvertersAcc-2P Option 1A USB Interface Acc-2P Communications BoardAcc-2P Option 1B Ethernet Interface Acc-2P Option 2 Dpram CircuitryPMAC2A PC104 Hardware Reference Manual Introduction Base Board Hardware Setup Clock Configuration JumpersBoard Reset Jumpers Configuration Jumpers CPU Jumper ConfigurationResistor Packs Configuration Communication JumpersDevice Resistor Pack Pack Size PMAC2A PC104 Hardware Reference Manual ACC-1P Hardware Setup Reserved Configuration JumpersE0 Reserved for future use Handwheel Encoder Termination Resistors ACC-2P Hardware Setup Jthw Connector DATx SELxJopt Connector E10 MOx MIx Lines Differential or Single-Ended Handwheel Encoder Selection Digital Power Supply Power SuppliesDAC Outputs Power Supply Machine ConnectionsMotor Signals Connections Overtravel Limits and Home SwitchesAmplifier Enable Signal AENAx/DIRn DAC Output SignalsPulse and Direction Stepper Drivers ExampleAcc-1P General-Purpose Digital Inputs and Outputs J7 Port Amplifier Fault Signal FaultAcc-2P General-Purpose Digital Inputs and Outputs Jopt Port Acc-1P Thumbwheel Multiplexer Port J2 PortAcc-2P Thumbwheel Multiplexer Port Jthw Port Acc-1P or Acc-2P Handwheel Port JHW / PD Port Optional Analog InputsCompare Equal Outputs Acc-2P USB Connector J1 Port Acc-2P Ethernet RJ45 Connector J10 PortSerial Port JRS232 Port PC DB-9Machine Connections Example Using Analog ±10V Amplifier PMAC2A PC104 Hardware Reference Manual PMAC2A PC104 Hardware Reference Manual Machine Connections Operational Frequency and Baud Rate Setup Software SetupCommunications Pmac I-VariablesFiltered DAC Outputs Configuration I54 Baud RateI54 Baud Rate for General-Purpose Digital Inputs and Outputs Using Flag I/O as General-Purpose I/OAcc-1P with Jumper E6 on Position Flag Type Channel NumberOpen PLC1 Clear Acc-2P with Jumper E5 in PositionAcc-1P with Jumper E6 in Position Thumbwheel Port Digital Inputs and OutputsAnalog Inputs Setup Baseboard Analog InputsAcc-1P Analog Inputs Base Board Hardware Reference Summary Board DimensionsFeature Feature LocationBoard Layout Connectors and Indicators Page ACC-1P Hardware Reference Summary TB1 JMACH1 J2 Thumbwheel Multiplexer Port Jthw Port J7 General-Purpose Digital Inputs and Outputs Jopt PortJ8 Handwheel / Pulse and Direction Port JHW / PD Port Page ACC-2P Hardware Reference Summary TB1 Jthw Jopt J1 USB Communications Port J8 Handwheel/Pulse and Direction Port JHW / PD PortJ10 Ethernet Communications Port Page E1 Servo and Phase Clock Direction Control E0 Forced Reset ControlE3 Normal/Re-Initializing Power-Up/Reset Base Board E-POINT Jumper DescriptionsE9 Servo Clock Lines Output Enable E8 Phase Clock Lines Output EnableE10 E12 Power-Up State Jumpers Description DefaultE14 Watchdog Disable Jumper E13 Power-Up/Reset Load SourceE16 ADC Inputs Enable E15A, B, C Flash Memory Bank SelectE18 E19 PC/104 Bus Address Point and Physical Location Description Default LayoutACC-1P E-POINT Jumper Descriptions E1 E2 Machine Output Supply Voltage ConfigureE0 Reserved for Future Use E3 E4 JHW, PD Function SelectE5 Servo Gate Address Select E6 I/O Gate Address SelectE7 Machine Input Source/Sink Control ACC-2P E-POINT Jumper Descriptions E1 USB/Ethernet Micro-Controller Firmware Reload EnableE5 I/O Gate Address Select E6 Communications Port SelectE7- E10 Ports Direction Control Point and Physical Location Description DefaultTB1 Jpwr Power Supply Base Board Connector PinoutsJ4 JRS232 Serial Port Connector Pin# Symbol Function DescriptionJ3 JMACH1 Machine Port Connector J3 JMACH1 50-Pin Header J4 JMACH2 Machine Port Baseboard Connector ACC-1P Connector Pinouts Pin# Symbol J2 Jthw Multiplexer Port ConnectorJ3 JMACH1 Machine Port Connector Pin Header J3 JMACH1 50-Pin-Header FLG78V Connector 34-Pin HeaderJ7 Jopto I/O Port Connector J8 JHW Handwheel Encoder Connector Page ACC-2P Connector Pinouts Pin # Symbol FunctionJ1 USB Universal Serial Bus Port Optional Pin Connector J7 Jopt I/O Port Connector Pin # Function J10 Ethernet Port Optional