PMAC PCI Lite
PMAC PCI Lite
PMAC PCI Lite
^4 400-603657-xHxx
Table of Contents
INTRODUCTION .......................................................................................................................................................1
Board Configuration..................................................................................................................................................1
Base Version .........................................................................................................................................................1
Option 2: Dual-Ported RAM................................................................................................................................1
Option 5xF: CPU Speed Options.........................................................................................................................1
Option 6: Extended Servo Algorithm Firmware ..................................................................................................2
Option 6L: Special Lookahead Firmware ...........................................................................................................2
Option 10: Firmware Version Specification........................................................................................................2
Option 12: Analog-to-Digital Converters............................................................................................................2
Option 15: V-to-F Converter for Analog Input.....................................................................................................2
Option 16: Battery-Backed Parameter Memory ...................................................................................................2
HARDWARE SETUP .................................................................................................................................................3
Power-Supply Configuration Jumpers ......................................................................................................................3
Clock Configuration Jumpers....................................................................................................................................4
Encoder Configuration Jumpers ................................................................................................................................4
Board Reset/Save Jumpers ........................................................................................................................................5
Communication Jumpers...........................................................................................................................................5
I/O Configuration Jumpers........................................................................................................................................5
Reserved Configuration Jumpers ..............................................................................................................................6
CPU Jumper Configuration .......................................................................................................................................6
Resistor Pack Configuration: Termination Resistors ................................................................................................7
Resistor Pack Configuration: Differential or Single-Ended Encoder Selection .......................................................7
MACHINE CONNECTIONS.....................................................................................................................................9
Mounting ...................................................................................................................................................................9
Power Supplies..........................................................................................................................................................9
Digital Power Supply............................................................................................................................................9
Analog Power Supply ...........................................................................................................................................9
Overtravel Limits and Home Switches....................................................................................................................10
Resistor Pack Configuration: Flag and Digital Inputs Voltage Selection..........................................................10
Types of Overtravel Limits..................................................................................................................................10
Home Switches....................................................................................................................................................10
Motor Signals Connections (JMACH Connectors) .................................................................................................11
Incremental Encoder Connection .......................................................................................................................11
DAC Output Signals ...........................................................................................................................................11
Amplifier Enable Signal (AENAx/DIRn).............................................................................................................12
Amplifier Fault Signal (FAULTn).......................................................................................................................12
General-Purpose Digital Inputs and Outputs (JOPTO Port)....................................................................................13
Control-Panel Port I/O (JPAN Port)........................................................................................................................14
Command Inputs.................................................................................................................................................14
Selector Inputs ....................................................................................................................................................15
Alternate Use ......................................................................................................................................................15
Reset Input ..........................................................................................................................................................15
Handwheel Inputs ...............................................................................................................................................15
Optional Voltage to Frequency Converter..........................................................................................................15
Thumbwheel Multiplexer Port (JTHW Port)...........................................................................................................16
Optional Analog Inputs (JANA Port)......................................................................................................................16
Compare Equal Outputs Port (JEQU Port)..............................................................................................................17
Serial Port (JRS422 Port) ........................................................................................................................................17
Machine Connections Example...............................................................................................................................19
SOFTWARE SETUP ................................................................................................................................................21
Communications......................................................................................................................................................21
PMAC I-Variables...................................................................................................................................................21
Table of Contents i
PMAC PCI Lite Hardware Reference Manual
ii Table of Contents
PMAC PCI-Lite Hardware Reference Manual
iv Table of Contents
PMAC PCI Lite Hardware Reference Manual
INTRODUCTION
The PMAC PCI Lite is a member of the PMAC family of boards optimized for interface to traditional
servo drives with single analog inputs representing velocity or torque commands. Its software is capable
of eight axes of control, although it can have only four channels of on-board axis interface circuitry.
The PMAC PCI Lite is a full-sized PCI-bus expansion card. While capable of PCI bus communications,
with or without the optional dual-ported RAM, it does not need to be inserted into a PCI expansion slot.
Communications can be done through an RS232 or RS422 serial port. Standalone operation is possible.
The non-Turbo version of the PMAC PCI Lite board does not include ICs U140, U143 or U147.
ICs U140, U143 and U147 are not
installed in the non-Turbo version of the
PMAC Lite-PCI board.
Board Configuration
Base Version
The base version of the PMAC PCI Lite provides a 1-1/2-slot board with:
• 40 MHz DSP563xx CPU
• 128k x 24 zero-wait-state flash-backed SRAM
• 512k x 8 flash memory for f7irmware and user backup
• Latest released firmware version
• RS232/422 serial interface, 33Mhz PCI bus interface
• Four channels axis interface circuitry, each including:
• 16-bit +/-10V analog output
• 3-channel differential/single-ended encoder input
• Four input flags, two output flags
• Interface to external 16-bit serial ADC
• Display, control panel, mixed I/O, direct I/O interface ports
• Buffered expansion port
• Clock crystal with +/-100 ppm accuracy
• PID/notch/feedforward servo algorithms
• 1-year warranty from date of shipment
One manuals CD per set of one to four PMACs in shipment (cables, mounting plates, mating connectors
not included)
Option 2: Dual-Ported RAM
Dual-ported RAM provides a high-speed communications path for bus communications with the host
computer through a bank of shared memory. DPRAM is advised if more than about 100 data items per
second are to be passed between the controller and the host computer in either direction.
• Option 2 provides an 8k x 16 bank of on-board dual-ported RAM. The key component on the board
is U1.
Option 5xF: CPU Speed Options
The base PMAC PCI Lite version has a 40 MHz DSP563xx CPU. This is Option 5AF, which is provided
automatically, if no CPU speed option is specified.
• Option 5AF: 40 MHz DSP563xx CPU (80 MHz 56002 equivalent). This is the default CPU speed.
• Option 5CF: 80 MHz DSP563xx CPU (160 MHz 56002 equivalent).
• Option 5EF: 160 MHz DSP563xx CPU (320 MHz 56002 equivalent).
Introduction 1
PMAC PCI Lite Hardware Reference Manual
2 Introduction
PMAC PCI Lite Hardware Reference Manual
HARDWARE SETUP
On the PMAC, there are many jumpers (pairs of metal prongs), called E-points. Some have been shorted
together; others have been left open. These jumpers customize the hardware features of the board for a
given application and must be set up appropriately. The following is an overview of the several PMAC
jumpers grouped in appropriate categories. For a complete description of the jumper setup configuration,
refer to the CPU Board E-Point Descriptions section of this manual.
Power-Supply Configuration Jumpers
(12-24V) A+V (pin 9)
J9 (JEQU)
E89
3 1
1 3
AGND AGND
Input AENAs
V/F DACs
Flags (EQUs)
E87
GND GND
E85, E87, E88: Analog Circuit Isolation Control – These jumpers control whether the analog circuitry
on the PMAC is isolated from the digital circuitry, or electrically tied to it. In the default configuration,
these jumpers are off, keeping the circuits isolated from each other (provided separate isolated supplies
are used).
E89-E90: Input Flag Supply Control – If E90 connects pins 1 and 2 and E89 is ON, the input flags
(+LIMn, -LIMn, HMFLn) are supplied from the analog A+15V supply, which can be isolated from the
digital circuitry. If E90 connects pins 1 and 2 and E89 is OFF, the input flags are supplied from a
separate A+V supply through pin 9 of the J9 JEQU connector. This supply can be in the +12V to +24V
range, and can be kept isolated from the digital circuitry. If E90 connects pins 2 and 3, the input flags are
supplied from the digital +12V supply, and isolation from the digital circuitry is defeated.
E100: AENA/EQU Supply Control – If E100 connects pins 1 and 2, the circuits related to the AENAn,
EQUn and FAULTn signals will be supplied from the analog A+15V supply, which can be isolated from
the digital circuitry. If E100 connects pins 2 and 3, the circuits will be supplied from a separate A+V
supply through pin 9 of the J9 JEQU connector. This supply can be in the +12V to +24V range, and can
be kept isolated from the digital circuitry.
Hardware Setup 3
PMAC PCI-Lite Hardware Reference Manual
4 Hardware Setup
PMAC PCI Lite Hardware Reference Manual
Hardware Setup 5
PMAC PCI-Lite Hardware Reference Manual
E17A - E17D: Motors 1-4 Amplifier-Enable Polarity Control – Jumpers E17A through E17D control
the polarity of the amplifier enable signal for the corresponding motor 1 to 4. When the jumper is OFF
(default), the amplifier-enable line for the corresponding motor is low true so the enable state is low-
voltage output and sinking current, and the disable state is not conducting current. If the default
ULN2803A sinking driver used by the PMAC is on U37, this is the fail-safe option. This allows the
circuit to fail in the disable state. With this jumper ON, the amplifier-enable line is high true so the
enable state is not conducting current, and the disable state is low-voltage output and sinking current.
(This setting is not generally recommended.)
E28: Following-Error/Watchdog-Timer Signal Control – With this jumper connecting pins 2 and 3
(default), the FEFCO/ output on pin 57 of the J8 JMACH servo connector outputs the watchdog timer
signal. With this jumper connecting pins 1 and 2, this pin outputs the warning following error status line
for the selected coordinate system.
E101-E102: Motors 1-4 AENA/EQU Voltage Configure – The U37 driver IC controls the AENA and
EQU signals of motors 1-4. With the default sinking output driver IC (ULN2803A or equivalent) in U37,
these jumpers must connect pins 1 and 2 to supply the IC correctly. If this IC is replaced with a sourcing
output driver IC (UDN2981A or equivalent), these jumpers must be changed to connect pins 2 and 3 to
supply the new IC correctly.
Caution:
A wrong setting of these jumpers will damage the associated output IC.
E122: XIN7 Feature Selection – Jump 2-3 to bring the Power Good signal into register XIN7 at
Y:$E801 bit 7.
Reserved Configuration Jumpers
E0: Reserved for future use.
E109: Reserved for future use.
CPU Jumper Configuration
E10A-E10C: Flash Memory Bank Select Jumpers – The flash-memory IC in location U146 on the
PMAC PCI Lite board has the capacity for eight separate banks of firmware, only one of which can be
used at any given time. The eight combinations of settings for jumpers E10A, E10B, and E10C select
which bank of the flash memory is used. In the factory production process, firmware is loaded only into
Bank 0, which is selected by having all of these jumpers OFF.
E18-E20: Power-Up State Jumpers – Jumper E18 must be OFF, jumpers E19 and E20 must be ON, in
order for the CPU to copy the firmware from flash memory into active RAM on power-up/reset. This is
necessary for normal operation of the card. (Other settings are for factory use only.)
E21: Firmware Load Jumper – If jumper E21 is ON during power-up/reset, the board comes up in
bootstrap mode, which permits the loading of new firmware into the flash-memory IC on the board.
When the PMAC Executive program tries to establish communications with a board in this mode, it will
automatically detect that the board is in bootstrap mode and ask what file to download as the new
firmware. Jumper E21 must be OFF during power-up/reset for the board to come up in normal
operational mode.
E119: Watchdog Timer Jumper - Jumper E119 must be OFF for the watchdog timer to operate. This
is a very important safety feature, so it is vital that this jumper be OFF in normal operation. E1 should
only be put ON to debug problems with the watchdog timer circuit.
6 Hardware Setup
PMAC PCI Lite Hardware Reference Manual
Hardware Setup 7
PMAC PCI-Lite Hardware Reference Manual
8 Hardware Setup
PMAC PCI Lite Hardware Reference Manual
MACHINE CONNECTIONS
Typically, the user connections are made to a terminal block that is attached to the JMACH connector by
a flat cable (Accessory 8D or 8P). The pin-out numbers on the terminal block are the same as those on
the JMACH connector. The possible choices for breakout boards are:
Board Mounting Breakout Style Breakout Connector Notes
Acc-8P DIN – Rail Monolithic Terminal Block Simple Phoenix contact board
Headers for connection to option
Acc-8D DIN – Rail Monolithic Terminal Block
boards
Fully shielded for easy CE mark
Acc-8DCE DIN – Rail Modular D-sub connector
compliance
Mounting
The PMAC can be mounted in one of two ways: in the PCI bus, or using standoffs.
• PCI bus: To mount in the PCI bus, simply insert the P1 card-edge connector into the PCI socket. If
there is a standard PC-style housing, a bracket at the end of the PMAC board can be used to screw
into the housing to hold the board down firmly.
• Standoffs: At each of the four corners of the PMAC board, there are mounting holes that can be used
to mount the board on standoffs.
Power Supplies
Digital Power Supply
2A @ +5V (+/-5%) (10W)
(Eight-channel configuration with a typical load of encoders)
• The host computer provides the 5V-power supply if PMAC is installed in its internal bus.
With the board plugged into the bus, it will pull +5V power from the bus automatically and it cannot
be disconnected. In this case, there must be no external +5V supply, or the two supplies will fight
each other, possibly causing damage. This voltage could be measured between pins 1 and 3 of the
terminal block.
• In a stand-alone configuration, when PMAC is not plugged in a computer bus, it will need an external
5V supply to power its digital circuits. The +5V line from the supply should be connected to pin 1 or
2 of the JMACH connector (usually through the terminal block), and the digital ground to pin 3 or 4.
Acc-1x provides different options for the 5V-power supply.
Analog Power Supply
0.3A @ +12 to +15V (4.5W)
0.25A @ -12 to -15V (3.8W)
The analog output circuitry on PMAC is optically isolated from the digital computation circuitry, and so
requires a separate power supply. Bring this in on the JMACH connector. Bring the positive supply (+12
to +15V) in on the A+15V line on pin 59. Bring the negative supply (-12 to -15V) in on the A-15V line
on pin 60 and the analog common in on the AGND line on pin 58.
Typically, this supply can come from the servo amplifier; many commercial amplifiers provide such a
supply, or an external supply may be used. Acc-2x provides different options for the ± 15V power
supply. Even with an external supply, the AGND line should be tied to the amplifier common. It is
possible to get the power for the analog circuits from the bus, but doing so defeats optical isolation. In
this case, no new connections need to be made. However, be sure jumpers E85, E87, E88, E89, and E90
are set up for this circumstance. (The card is not shipped from the factory in this configuration.)
Machine Connections 9
PMAC PCI-Lite Hardware Reference Manual
Jumper E89, E90 and E100 must be set appropriately for the type of sensor used.
Home Switches
While normally closed-to-ground switches are required for the overtravel limits inputs, the home switches
could be either normally closed or normally open types. The polarity is determined by the home sequence
setup, through the I-variables I902, I907, ... I977. However, for the following reasons, the same type of
switches used for overtravel limits are recommended:
• Normally closed switches are proven to have greater electrical noise rejection than normally open types.
• Using the same type of switches for every input flag simplifies maintenance stock and replacements.
10 Machine Connections
PMAC PCI Lite Hardware Reference Manual
Machine Connections 11
PMAC PCI-Lite Hardware Reference Manual
The analog outputs are intended to drive high-impedance inputs with no significant current draw. The
220Ω output 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:
JMACH1
DAC1
43
DAC1/ Connect to the
45 amplifier +10V
command input
AGND
58
AENA1
47 Connect to the
AGND amplifier enable input
58
This signal could be either sinking or sourcing as determined by chips U37. (See jumpers E100-E102.)
For 24V operation, E100 must connect pins 2-3 and a separate power supply must be brought on pins 9-7
of the J9 JEQU connector. The polarity of the signal is controlled by jumpers E17A to E17D. The
default is low-true (conducting) enable. In addition, the amplifier enable signal could be controlled
manually by setting Ix00=0 and using the suggested definition of the Mx14 variable.
Amplifier Fault Signal (FAULTn)
This input can take a signal from the amplifier so PMAC knows when the amplifier is having problems,
and can shut down action. The polarity is programmable with I-variable Ix25 (I125 for motor #1) and the
return signal is analog ground (AGND). FAULT1 is pin 49. With the default setup, this signal must be
actively pulled low for a fault condition. In this setup, if nothing is wired into this input, PMAC will
consider the motor not to be in a fault condition. The amplifier fault signal could be monitored using the
properly defined Mx23 variable.
12 Machine Connections
PMAC PCI Lite Hardware Reference Manual
JMACH1
JEQU, PIN 9
FAULT1
49
Connect to the
amplifier fault
output Connect to the
12-23V
+
DC
AGND - amplifier fault
58 output
49 FAULT1
12-15 Volts signal (E100 on 1-2) 15-24 Volts signal (E100 on 2-3)
Some amplifiers share the fault output with the enable/disable status output. In this case, a special PLC
code must be written with the following sequence:
• Disable the amplifier fault input (see Ix25)
• Enable the motor (J/ command).
• Wait for the amplifier fault input to be false (monitor Mx23).
• Re-enable the amplifier fault input (see Ix25).
Machine Connections 13
PMAC PCI-Lite Hardware Reference Manual
PMAC is shipped standard with a ULN2803A sinking (open-collector) output IC for the eight outputs.
These outputs can sink up to 100mA and have an internal 3.3 kΩ pull-up resistor to go high (RP18). A
high-side voltage (+5 to +24V) may be provided to pin 33 of the JOPTO connector, and allow this to pull
up the outputs by connecting pins 1 and 2 of jumper E1. In addition, jumper E2 must connect pins 1 and
2 for a ULN2803A sinking output.
It is possible for these outputs to be sourcing drivers by substituting a UDN2981A IC for the ULN2803A.
This U13 IC is socketed, and so may be replaced easily. For this driver, the internal resistor packs pull-
down instead. With a UDN2981A driver IC, Jumper E1 must connect pins 2 and 3, and Jumper E2 must
connect pins 2 and 3.
The outputs can be configured individually to a different output voltage by removing the internal pull-up
resistor pack RP18 and connecting a separate external pull-up resistor to the desired voltage level to each
output.
Example: Standard configuration using the ULN2803A sinking (open-collector) output IC
14 Machine Connections
PMAC PCI Lite Hardware Reference Manual
Selector Inputs
The four low-true BCD-coded input lines FDP0/ (LSBit), FDP1/, FDP2/, and FDP3/ (MSBit) form a low-
true BCD-coded nibble that selects the active motor and coordinate system (simultaneously). Usually,
these are controlled from a single 4-bit motor/coordinate-system selector switch. The motor selected with
these input lines will respond to the motor-specific inputs. It will also have its position following
function turned on (Ix06 is set to 1 automatically.); the motor just de-selected has its position following
function turned off (Ix06 is set to 0 automatically.).
Alternate Use
If I2 has been set to 1, the discrete inputs can be used for parallel-data servo feedback or master position.
The Acc-39 Handwheel Encoder Interface board provides 8-bit parallel counter data from a quadrature
encoder to these inputs. Refer to the Acc-39 manual and the details on Parallel Position Feedback
Conversion in the Setting up a Motor section for more details.
Reset Input
Input INIT/ (reset) affects the entire card. It has the same effect as cycling power or a host $$$ command.
It is hard-wired, so it retains its function even if I2 is set to 1.
Handwheel Inputs
The handwheel inputs HWCA and HWCB can be connected to the second encoder counter on PMAC
with jumpers E22 and E23. If these jumpers are ON, nothing else should be connected to the Encoder 2
inputs. The signal can be interpreted either as quadrature or as pulse (HWCA) and direction (HWCB),
depending on the value of I905. I905 also controls the direction sense of this input. Make sure that the
Encoder 2 jumper E26 is set for single ended signals, connecting pins 1 and 2.
Optional Voltage to Frequency Converter
The Wiper analog input (0 to +10V on PMAC referenced to digital ground) provides an input to a
voltage-to-frequency converter (V/F) with a gain of 25kHz/V, providing a range of 0-250kHz. The
output of the V/F can be connected to the Encoder 4 counter using jumpers E72 and E73. If these
jumpers are ON, nothing else should be connected to the Encoder 4 inputs. Make sure that the Encoder 4
jumper E24 is set for single-ended signals, connecting pins 1 and 2. This feature requires Option15.
Frequency Decode
When used in this fashion, set up Encoder 4 for pulse-and-direction decode by setting I915 to 0 or 4. A
value of 4 is usually used, because with CHB4 (direction) unconnected, a positive voltage causes the
counter to count up. The encoder conversion table can then take the difference in the counter each servo
cycle and scale it, providing a value proportional to frequency, and therefore to the input voltage. Usually
this is used for feedrate override (time base control), but the resulting value can be used for any purpose.
The resulting value in the default setup can be found at X:$729,24.
Power Supply
For the V/F converter to work, PMAC must have +/-12V supply referenced to digital ground. If PMAC
is in a bus configuration, usually this comes through the bus connector from the bus power supply. In a
standalone configuration, this supply must be brought through the bus connector (or the supply terminal
block), or it must be jumpered over from the analog side with E85, E87, and E88, defeating the optical
isolation on the board.
Machine Connections 15
PMAC PCI-Lite Hardware Reference Manual
E72 24 24 24
CHA4 ENC4 1/T “Time
Wiper V/F
20 Decoder/ Encoder Base”
CHA4/ Counter Conversion Conversion
X:$723 X:$729
E73 X:$C00C+
-5Kohm I915=4 Y:$728=$400723
25 KHz/V (E24:1-2) Y:$723=$00C00C
Y:$729=Scaling
GND
26
Hardware Voltage-to- Software-Configured Software Software
Frequency Converter Hardware Counter Interpolation Differentiation
To use this value for feedrate override for a coordinate system, set the
time base source address I-Variable (Ix93 for C.S.x.) to 1833 ($729).
To use this value for some other purpose, assign an M-Variable to this
register (e.g., M60->X:$729,0-24-,U).
Scaling is set by the value in Y:$729 (for the default conversion table).
This value can be determined interactively by varying the input voltage
and noting the effect.
16 Machine Connections
PMAC PCI Lite Hardware Reference Manual
Only one pair of analog-to-digital converter registers is available to the PMAC processor at any given
time. The data appears to the processor at address Y:$FFC8. The data from the selected analog input 0 to
7 (ANAI00-ANAI07) appears in the low 12 bits; the data from the selected analog input 8 to 15
(ANAI08-ANAI15) appears in the high 12 bits (this data is present only if Option 12A has been ordered).
The input is selected and the conversion is started by writing to this same word address Y:$FFC8. A value
of 0 to 7 written into the low 12 bits selects the analog input channel of that number (ANAI00-ANAI07)
to be converted in unipolar mode (0V to +5V). A value of 0 to 7 written into the high 12 bits selects the
analog input channel numbered eight greater (ANAI08-ANAI15) in unipolar mode. If the value written
into either the low 12 bits or the high 12 bits is eight higher (8 to 15), the same input channel is selected,
but the conversion is in bipolar mode (-2.5V to +2.5V).
PMAC variables I60 and I61 allow an automatic conversion of the analog inputs. Setting I60=$FFC8 and
I61 with the number of converted registers desired minus one, the converted data can be found in registers
$0708 to $070F. See the PMAC Software Reference manual for further details.
Outputs can be configured sinking or sourcing by replacing the chips U37 and configuring the jumpers
E101-102. The voltage levels can be individually configured by removing resistor pack RP43 and
connecting an external pull-up resistor in each output to the desired voltage level.
Serial Port (JRS422 Port)
For serial communications, use a serial cable to connect the PC’s COM port to the PMAC’s J4 serial port
connector. Delta Tau provides the Acc-3D cable to connect the PMAC PCI to a DB-25 connector.
Standard DB-9-to-DB-25 or DB-25-to-DB-9 adapters may be needed for a particular setup. Jumper E110
selects between RS232 and RS422 signal types for the J4 connector. If a cable needs to be made, use a
flat cable prepared with flat-cable type connectors as indicated in the following diagram:
Machine Connections 17
PMAC PCI-Lite Hardware Reference Manual
18 Machine Connections
PMAC PCI Lite Hardware Reference Manual
Machine Connections 19
PMAC PCI-Lite Hardware Reference Manual
20 Software Setup
PMAC PCI Lite Hardware Reference Manual
SOFTWARE SETUP
Note:
The PMAC PCI Lite 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 communication tools that take advantage of the PCI bus Plug and Play feature of 32-
bits Windows® based computers. With Pewin 32 Pro, a PMAC PCI Lite board plugged in a PCI bus slot
will be recognized by the operating system when the computer is booted up. The available PCI address,
dual-ported RAM address and Interrupt lines are set automatically by the operating system and can be
checked (but not modified) in the resources page of the device manager.
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 easiest way to program, set up and troubleshoot PMAC is by using the PMAC Executive Program
Pewin and its related add-on packages P1Setup and PMAC Plot. These software packages are available
by ordering Acc-9WN.
The programming features and configuration variables for the PMAC are fully described in the
PMAC 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. This method is not compatible with the PMAC PCI Lite board and
when used will shut it down.
The operational frequency of the CPU is set in software by the PMAC I46 I- variable. If this variable is
set to 0, PMAC firmware looks at the jumper E48 to set the operational frequency. 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 possible to operate the Flex CPU board
at a frequency below its rated maximum. I46 is used only at power-up/reset. 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, in which n is the
multiplication factor from the 20MHz crystal frequency (not 10MHz). 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 40MHz operation, 4 for 80MHz operation, and 8 for 160MHz operation.
Software Setup 21
PMAC PCI-Lite Hardware Reference Manual
If the CPU’s operational frequency has been determined by (a non-zero setting of) I46, the serial
communications baud rate is determined at power-up/reset by variable I54 alone according to the
following table:
I54 Baud Rate I54 Baud Rate
0 600 8 9600
1 900 9 14,400
2 1200 10 19,200
3 1800 11 28,800
4 2400 12 38,400
5 3600 13 57,600
6 4800 14 76,800
7 7200 15 115,200*
* The CPU must be run at an exact multiple of 30MHz in order to use 115,200
baud serial communications. Otherwise, the baud rate will not be exact enough to
ensure proper communications.
The card number (0 – 15) for serial addressing of multiple cards on a daisy chain serial cable is
determined by variable I0. Jumpers E40 – E43 determine the direction of the phase and servo clocks. All
of these jumpers must be ON for the card to use its internally generated clock signals and to output these
on the serial port connector. If any of these jumpers is OFF, the card will expect to input these clock
signals from the serial port connector, and its watchdog timer will trip immediately if it does not receive
these signals.
Serial Addressing Card Number
I0 controls the card number for software addressing purposes on a multi-drop serial communications
cable. If I2 is set to 2, the PMAC must be addressed with the @n command where n matches the value of
I0 on the board, before it will respond. If the PMAC receives the @n command where n does not match
I0 on the board, it will stop responding to commands on the serial port. No two boards on the same serial
cable may have the same value of I0.
If the @@ command is sent over the serial port, all boards on the cable will respond to action commands.
However, only the board with I0 set to 0 will respond to the host with handshake characters and/or data
responses. All boards on the cable will respond to control-character action commands such as <CTRL-
R>, regardless of the current addressing.
Note:
RS422 serial interfaces must be used on all PMAC boards for multi-drop serial
communications. This will not work with RS232 interfaces. Typically, multiple
PMAC boards on the same serial cable will share servo and phase clock signals
over the serial port cable for tight synchronization. If the servo and phase clock
lines are connected between multiple PMACs, only one of the PMAC boards can
be set up to output these clocks (E40 – E43 all ON for a PMAC PCI Lite). All of
the other boards in the chain must be set up to input these clocks (one or more of
the jumpers E40 – E43 OFF for a PMAC PCI Lite).
Any PMAC PCI Lite board with one or more of E40 – E43 OFF is expecting its Servo and Phase clock
signals externally from a Card 0. If it does not receive these clock signals, the watchdog timer will
immediately shut down the board and the red LED will light.
If the PMAC PCI Lite is set to receive external Servo and Phase clock signals for synchronization
purposes, but is not using multi-drop serial communications, I0 does not need to be changed from 0.
22 Software Setup
PMAC PCI Lite Hardware Reference Manual
To set up a board to communicate as Card 1 to Card 15 on a multi-drop serial cable, first communicate
with the board as Card 0. Set I0 to specify the card number (software address) that the board will have on
the multi-drop cable. Also, set I1 to 2 to enable the serial software addressing. Store these values to the
non-volatile flash memory with the SAVE command. Then turn off power. If the board is to input its
clocks, remove any of the E40-E43 jumpers. Connect the multi-drop cable. Restore power to the system.
Option 16 Supplemental Battery-Backed Memory
If Option 16 supplemental battery-backed parameter memory is ordered, an extra bank of memory with
battery backup circuitry is provided. This option can be ordered only if the main memory is flash backed
(Option 4A, 5A, 5B, or 5C). This memory is for user parameter storage only. From PMAC programs, it
can be accessed with M-variables only (L-variables also in compiled PLCs). The on-line direct-memory
read and write commands can be used from the host computer as well.
With M-variable access, arrays can be created with indirect addressing techniques by pointing a second
M-variable to the definition of a first M-variable that points into this memory area. For example, with the
M-variable definitions:
M0->L:$A000 ; 1st long word of Opt. 16 RAM; floating point
M10->Y:$BC000,0,16 ; Low 16 bits of M0 def., with pointer address
The following code segment could load a sine table into the first 360 words of the Option 16 RAM:
P1=0
WHILE (P1<360)
M10=$A000+P1 ; Sets address that M0 points to
M0=SIN(P1) ; Puts value in register that M0 points to
P1=P1+1
ENDWHILE
Note:
This technique is not possible with L-variables in compiled PLCs. However, it is
possible with M-variables in compiled PLCs.
Physically, the Option 16 memory is a 16k x 24 bank of battery-backed static RAM. It maps into the
PMAC and PMAC2 at addresses $A000 to $BFFF, on both the X and Y data buses, an 8k x 48 block of
address space. Addresses Y:$BC00 to Y:$BFFF are double-mapped with the main flash-backed RAM for
the M-variable definitions, and should not be used for user parameter storage.
Any value written into the Option 16 memory will be retained automatically through a power-down or
reset; no SAVE operation is required. The power draw on the battery is low enough that typically battery
life will be limited only by the quoted 10-year life of the battery.
Software Setup 23
PMAC PCI-Lite Hardware Reference Manual
24 Software Setup
PMAC PCI Lite Hardware Reference Manual
A B C
E10C
Note: Low-true enable is the fail-safe option because of the sinking (open-collector) ULN2803A output driver IC.
E20
Note: With these jumpers ON, no encoder should be wired into ENC2 on JMACH1. Jumper E26 must connect
pins 1-2, because these are single-ended inputs. This function is unrelated to the encoder brought in on J2 through
Acc-39.
A8 A8 A8 A8 A8 A8
On Off Off Off Off Off 19.6608 MHz
Off On Off Off Off Off 9.8304 MHz E34 ON
Off Off On Off Off Off 4.9152 MHz
Off Off Off On Off Off 2.4576 MHz
Off Off Off Off On Off 1.2288 MHz
Off Off Off Off Off On External Clock 1 to 30MHz
maximum input on CHC4 &
CHC4/
E Point and
Location Description Default
Physical Layout
E40 B5 Install all of these jumpers for the card to use its Jumpers E40-E43
internally generated clock signals and to output installed
these on the serial port connector.
If any of these jumpers is OFF, the card will
expect to input these clock signals from the serial
port connector.
E43
Note: With these jumpers ON, no encoder should be wired into ENC4 on JMACH. E27 must connect pins
1 to 2 because these are single-ended inputs. Variable I915 should be set to 4 to create a positive voltage
(frequency) number in PMAC.
Note: SCLK out permits synchronous latching of analog encoder interpolators such as Acc-8D Option 8.
MATING CONNECTORS
This section lists several options for each connector. Choose an appropriate one for your application.
Base Board Connectors
J1 (JDISP)/Display
1. Two 14-pin female flat cable connector Delta Tau P/N 014-R00F14-0K0, T&B Ansley P/N 609-1441
2. 171-14 T&B Ansley standard flat cable stranded 14-wire
3. Phoenix varioface modules type FLKM14 (male pins) P/N 22 81 02 1
J2 (JPAN)/Control Panel
1. Two 26-pin female flat cable connector Delta Tau P/N 014-R00F26-0K0, T&B Ansley P/N 609-2641
2. 171.26.T&B Ansley standard flat cable stranded 26-wire
3. Phoenix varioface module type FLKM 26 (male pins) P/N 22 81 05 0
J3 (JTHW)/Multiplexer Port
1. Two 26-pin female flat cable connector Delta Tau P/N 014-R00F26-0K0, T&B Ansley P/N 609-2641
2. 171-26 T&B Ansley standard flat cable stranded 26-wire
3. Phoenix varioface module type FLKM 26 (male pins) P/N 22 81 05 0
J4 (JRS422)/RS232 OR 422/Serial Communications
1. Two 26-pin female flat cable connector Delta Tau P/N 014-R00F26-0K0, T&B Ansley P/N 609-2641
2. 171-26 T&B Ansley standard flat cable stranded 26-wire
3. Phoenix varioface module type FLKM 26 (male pins) P/N 22 81 05 0
J5 (JOPT)/OPTO I/O
1. Two 34-pin female flat cable connector Delta Tau P/N 014-R00F34-0k0, T&B Ansley P/N 609-3441
2. 171-34 T&B Ansley standard flat cable stranded 34-wire
3. Phoenix varioface module type FLKM 34 (male pins) P/N 22 81 06 3
J6 (JXIO)/Expansion Board
1. Two 10-pin female flat cable connector Delta Tau P/N 014-R00F10-0K0, T&B Ansley P/N 609-1041
2. 171-10 T&B Ansley standard flat cable stranded 10-wire
3. Phoenix varioface module type FLKM 10 (male pins) P/N 22 81 01 8
J8 (JMACH)/Machine Connector
1. Two 60-pin female flat cable connector Delta Tau P/N 014-R00F60-0K0, T&B Ansley P/N 609-
6041 available as Acc-8P or 8D
2. 171-60 T&B Ansley standard flat cable stranded 60-wire
3. Phoenix varioface module type FLKM 60 (male pins) P/N 22 81 09 2
Note:
Normally, J8 is used with Acc-8P or Acc-8D with Option P, which provides
complete terminal strip fan-out of all connections.
Mating Connectors 43
PMAC PCI-Lite Hardware Reference Manual
44 Mating Connectors
PMAC PCI Lite Hardware Reference Manual
CONNECTOR PINOUTS
J1: Display Port Connector
J1 JDISP (14-Pin Connector)
Front View
Connector Pinouts 45
PMAC PCI-Lite Hardware Reference Manual
46 Connector Pinouts
PMAC PCI Lite Hardware Reference Manual
Connector Pinouts 47
PMAC PCI-Lite Hardware Reference Manual
48 Connector Pinouts
PMAC PCI Lite Hardware Reference Manual
Connector Pinouts 49
PMAC PCI-Lite Hardware Reference Manual
50 Connector Pinouts
PMAC PCI Lite Hardware Reference Manual
Connector Pinouts 51
PMAC PCI-Lite Hardware Reference Manual
52 Connector Pinouts
PMAC PCI Lite Hardware Reference Manual
Connector Pinouts 53
PMAC PCI-Lite Hardware Reference Manual
Top View
54 Connector Pinouts