Delta Tau PMAC2A-PC/104 manual Software Setup, Communications, Pmac I-Variables

Page 29

PMAC2A PC104 Hardware Reference Manual

SOFTWARE SETUP

Note:

The PMAC2A PC/104 requires the use of V1.17 or newer firmware. There are few differences between the previous V1.16H firmware and the V1.17 firmware other than the addition of internal support for the Flex CPU design.

Communications

Delta Tau provides software tools that allow communicating with of the PMAC2A PC/104 board by either its standard RS-232 port or the optional USB or Ethernet ports. PEWIN is the most important in the series of software accessories, and it allows configuring and programming the PMAC for any particular application.

PMAC I-Variables

PMAC has a large set of Initialization parameters (I-variables) that determine the "personality" of the card for a specific application. Many of these are used to configure a motor properly. Once set up, these variables may be stored in non-volatile EAROM memory (using the SAVE command) so the card is always configured properly (PMAC loads the EAROM I-variable values into RAM on power-up).

The programming features and configuration variables for the PMAC2A PC/104 are described fully in the PMAC2 User and Software manuals.

Operational Frequency and Baud Rate Setup

Note:

Older PMAC boards required a start-up PLC for setting the operational frequency at 80 MHz. That method is not compatible with the PMAC2A PC/104 board and will shutdown the board when used.

The operational frequency of the CPU can be set in software by the variable I46. If this variable is set to 0, PMAC firmware looks at the jumpers E2 and E4 to set the operational frequency for 40, 60, and 80 MHz operation. If I46 is set to a value greater than 0, the operational frequency is set to 10MHz * (I46 + 1), regardless of the jumper setting. If the desired operational frequency is higher than the maximum rated frequency for that CPU, the operational frequency will be reduced to the rated maximum. It is always possible to operate the Flex CPU board at a frequency below its rated maximum. I46 is used only at power-up/reset, so to change the operational frequency, set a new value of I46, issue a SAVE command to store this value in non-volatile flash memory, then issue a $$$ command to reset the controller.

To determine the frequency at which the CPU is actually operating, issue the TYPE command to the PMAC. The PMAC will respond with five data items, the last of which is CLK Xn, where n is the multiplication factor from the 20 MHz crystal frequency (not 10 MHz). n should be equivalent to (I46+1)/2 if I46 is not requesting a frequency greater than the maximum rated for that CPU board. n will be 2 for 40 MHz operation, 4 for 80 MHz operation, and 8 for 160 MHz operation.

Software Setup

23

Image 29
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 Board Reset Jumpers Base Board Hardware SetupClock Configuration Jumpers Configuration Jumpers CPU Jumper ConfigurationResistor Packs Configuration Communication JumpersDevice Resistor Pack Pack Size PMAC2A PC104 Hardware Reference Manual E0 Reserved for future use ACC-1P Hardware SetupReserved Configuration Jumpers Handwheel Encoder Termination Resistors Jopt Connector E10 MOx MIx Lines ACC-2P Hardware SetupJthw Connector DATx SELx 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 Thumbwheel Multiplexer Port Jthw Port Acc-2P General-Purpose Digital Inputs and Outputs Jopt PortAcc-1P Thumbwheel Multiplexer Port J2 Port Compare Equal Outputs Acc-1P or Acc-2P Handwheel Port JHW / PD PortOptional Analog Inputs 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-VariablesI54 Baud Rate for Filtered DAC Outputs ConfigurationI54 Baud Rate 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 OutputsAcc-1P Analog Inputs Analog Inputs SetupBaseboard Analog Inputs Base Board Hardware Reference Summary Board DimensionsBoard Layout FeatureFeature Location Connectors and Indicators Page ACC-1P Hardware Reference Summary TB1 JMACH1 J8 Handwheel / Pulse and Direction Port JHW / PD Port J2 Thumbwheel Multiplexer Port Jthw PortJ7 General-Purpose Digital Inputs and Outputs Jopt Port Page ACC-2P Hardware Reference Summary TB1 Jthw Jopt J10 Ethernet Communications Port J1 USB Communications PortJ8 Handwheel/Pulse and Direction Port JHW / PD 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 SelectE7 Machine Input Source/Sink Control E5 Servo Gate Address SelectE6 I/O Gate Address Select 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 J1 USB Universal Serial Bus Port Optional ACC-2P Connector PinoutsPin # Symbol Function Pin Connector J7 Jopt I/O Port Connector Pin # Function J10 Ethernet Port Optional