PComm32 Pro Installation New
PComm32 Pro Installation New
^4 3A0-09WPRO-xUx0
Table of Contents
INTRODUCTION ........................................................................................................................................ 1
A Global View of the Library .................................................................................................................... 1
Supported Operating Systems .................................................................................................................... 2
Hardware Requirements............................................................................................................................. 2
Technical Support ...................................................................................................................................... 2
APPLICATION INSTALLATION AND SETUP ..................................................................................... 3
Software Installation .................................................................................................................................. 3
Automatic Detection of Plug and Play Devices ......................................................................................... 3
Non-Plug and Play [ISA] Devices.............................................................................................................. 5
Windows 98/ME Installation Steps (Non Plug and Play [ISA] Devices)............................................... 5
Windows 2000/XP Installation Steps (Non Plug and Play [ISA] Devices)............................................ 8
Non-Plug and Play [ETHERNET] Devices – Installation for all Supported Operating Systems ........ 12
Installing [Serial] Devices in Windows Operating Systems ................................................................ 14
Installing USB to Serial COM Port [Plug and Play] .......................................................................... 15
Setting up COM Port in Pewin32PRO................................................................................................. 15
FIRST TIME USER (REGISTER THE NEWLY INSTALLED DEVICES)....................................... 17
ISA/USB Modes: DPRAM Configuration ............................................................................................ 18
PCI DPRAM and Interrupt Configuration .......................................................................................... 19
Ethernet Port DPRAM Configuration ................................................................................................. 19
Serial Port Configuration .................................................................................................................... 20
TROUBLESHOOTING THE CONFIGURATION................................................................................ 21
Registry Issues under Windows 2000 and XP ......................................................................................... 21
Part I.................................................................................................................................................... 21
Part II .................................................................................................................................................. 21
Configure/Reconfigure Parameters .......................................................................................................... 22
ISA PMACs: I/O Port Address, DPRAM and Interrupt Assignment.................................................... 22
PCI PMACs: I/O Port Address, DPRAM and Interrupt Assignment ................................................... 24
USB PMACs Configuration ................................................................................................................. 24
Serial Port Communication ................................................................................................................. 25
Higher Baud Rate Considerations ....................................................................................................... 25
USB to Serial Converter ...................................................................................................................... 25
PCMCIA/PCI to Serial Adapters ......................................................................................................... 25
Ethernet Port Communication ............................................................................................................. 25
Ethernet RJ45 Connector .................................................................................................................... 26
Changing Mode of Communication between USB and Ethernet ......................................................... 26
PComm32PRO Benchmark Times........................................................................................................... 27
FIRMWARE DOWNLOADS ................................................................................................................... 29
PMAC/PMAC2 Firmware Downloading Jumpers................................................................................... 29
Firmware Download Supported Modes ................................................................................................... 30
Firmware Download Steps ....................................................................................................................... 30
Table of Contents i
PComm32PRO Installation and Troubleshooting Procedures
ii Table of Contents
PComm32PRO Installation and Troubleshooting Procedures
INTRODUCTION
The 32-bit PComm32PRO Communication Driver is a set of more than 500 functions written as a
development tool for the creation of PMAC 32-bit applications on Windows 98/ME/2000/XP.
Nearly all methods of communication to PMAC are included. All types of PMACs (Turbo and
non-Turbo) use PComm32PRO for communication to the host computer. The routines were
designed with robustness, speed and portability in mind.
A Global View of the Library
PComm32PRO can be used for Windows 98/ME and Windows 2000/XP application
development. The library is structured so that an application using the library created for the
Windows 98/ME will also be able to run under Windows 2000/XP as long as the application itself
uses no operating system specific functions.
PComm32PRO consists of five sets of files.
• PComm32.DLL - A 32-bit DLL.
• PmacServer.EXE - A Server application, responsible for transferring the Global Data
• PmacISA.SYS, PmacPCI.SYS, PmacUSB.SYS - Windows 98/ME/2000/XP kernel drivers.
• PmacISA.SYS, PmacPCI.SYS or PmacUSB.INF - Windows Setup Information files.
• ETHConfigure.EXE, ETH2Configure.EXE, USBConfigure.EXE, and USB2Configure.EXE -
(Ethernet and USB configuration applications are responsible for boot firmware download
and the IP configuration application is responsible for USB and Ethernet modes of
communication.)
The illustration below shows how these modules are related.
Introduction 1
PComm32PRO Installation and Troubleshooting Procedures
2 Introduction
PComm32PRO Installation and Troubleshooting Procedures
3. The computer will recognize and configure the new hardware. If prompted, give the path of
driver files. Depending on the operating systems, these files are in the following folders by
default:
Windows 98/ME/XP: c:\windows\system32\drivers
Windows 2000: c:\winnt\system32\drivers
4. Proceed to the First Time User section of this manual.
Notes:
a) For Plug and Play devices, the I/O port, DPRAM base address, and
Interrupt are assigned by the operating system. There is not an option
to change or disable these parameters. However, the parameters
assigned by the operating system can be reviewed in the Resources
page of the Windows© device manager as shown in the screen below.
b) From the latest driver, the interrupts can be enabled or disabled from
the properties option of the PmacSelect() function. Proceed to
the First Time User section of this manual for details.
3. Continue through the steps of the Automatic Plug and Play Device Search Wizard.
4. Continue the installation wizard by selecting NO from the Search for New Hardware
selection on the following screen:
5. The first time the software is installed, select Other Devices from the following screen. Once
the device database is modified, Motion will be listed in the hardware types list. Select the
motion type for future device additions.
6. Once the device database is compiled, Delta Tau Data Systems, Inc. will be added to the
manufacturers list. Scroll through the manufacturers list and select Delta Tau Data Systems,
Inc.
Notes:
a) Starting with ProSuite 3.2 (Service Pack 2) and PComm32PRO
version 10.47, serial device driver has been eliminated. All PMACs
now use Microsoft’s default serial driver.
b) This allows the use of most off-the-shelf USB-to-Serial converters.
7. Select PMAC ISA Motion Controller from the Models column as show in the previous
screen. Base address, memory configuration and/or IRQ assignments are re-configurable.
Serial port configuration such as, port number, baud rate, timeouts, handshake and parity
options are completed at the application level.
8. If asked to specify the path of driver files, browse to find the Windows\System32\Drivers
folder.
9. At this stage the driver is installed on the computer. Restart the computer after the driver
installation and before further use.
The above steps are necessary to add a new device. Assigning resources (base address etc.) is
different under Windows 98/ME than Windows 2000/XP. Therefore, the following steps are
necessary to assign the appropriate resources to the PMAC ISA configuration. Steps for resource
reconfiguration are as follows:
There are essentially four configurations available for ISA BUS. They are I/O Port only, I/O Port
with DPRAM, I/O Port with DPRAM and IRQ and finally I/O Port with IRQ only. These four
configurations are mutually exclusive. Under Windows 98/ME, these resources can be changed
only from the System’s device manager. The Device Manager can be launched from the Control
Panel’s System Properties menu or directly by clicking the Properties option in My Computer on
the Desktop.
10. From the System Properties screen of the PMAC ISA Motion Controller, select the desired
configuration and change the resources according to Jumper settings and available computer
resources on the PMAC controller.
11. The following table provides the details for the different configurations:
Configuration Number Modes of Communication
Basic Configuration 0 Communication through host port only
Basic Configuration 1 Communication through host port with DPRAM
(regular size) enabled
Basic Configuration 2 Communication through host port with DPRAM
(regular size) and interrupts enabled
Basic configuration 3 Communication through host port with Interrupts
enabled
Basic Configuration 4 Communication through host port with DPRAM
(large size) enabled
Basic Configuration 5 Communication through host port with DPRAM
(large size) and interrupts enabled
A computer restart may be required once the resources have been altered. Once a device is
configured successfully, it is registered and available for use.
Registering a serial device along with its configuration, such as port number, baud rate, timeouts,
handshake and parity options is completed at the application level. Read the First Time User
section of this manual for detailed instructions
Windows 2000/XP Installation Steps (Non Plug and Play [ISA]
Devices)
1. Perform the first three steps outlined in the Software Installation section of this manual.
2. Select the Add/Remove New Hardware option from the control panel.
4. From the Choose a Hardware Device screen, select Add a New Device.
5. From the Find New Hardware screen, select No to auto-detect options and continue.
6. From the Hardware Type screen, select Other devices . (This is done for the first installation
only.) Once the operating system’s device database is updated, all motion controllers will be
listed in the hardware types list. Use this for future PMAC hardware device additions.
7. Once the device database is compiled, Delta Tau Data Systems, Inc. will be added to the
manufacturers list. Scroll through the manufacturers list and select Delta Tau Data Systems,
Inc.
8. Select the model from the available list (PMAC ISA Motion Controller). Windows 2000/XP
allows resource configuration during installation. Therefore, at this stage, base address,
DPRAM configuration and/or IRQ assignments can be configured.
The following table gives details of all configurations. By default, the basic configuration 0 is
selected.
Configuration Number Modes of Communication
Basic Configuration 0 Communication through host port only
Basic Configuration 1 Communication through host port with DPRAM (regular size) enabled
Basic Configuration 2 Communication through host port with DPRAM (regular size) and
interrupts enabled
Basic configuration 3 Communication through host port with interrupts enabled
Basic Configuration 4 Communication through host port with DPRAM (large size) enabled
Basic Configuration 5 Communication through host port with DPRAM (large size) and
interrupts enabled
9. Select the appropriate configuration and after highlighting the resource, click on Change
Setting to set the values.
10. Select the driver file PMACISA.SYS. Browse to the correct folder. For Windows 2002, it is
located in C:\WINNT\System32\Drivers and for Windows XP, it is located in
C:\Windows\System32\Drivers folder.
11. Finish the installation and restart the computer. Review and reconfigure the resources before
restarting the computer. Furthermore, these resources can be changed at any time by
launching the Device Manager and the Add/Remove Hardware Wizard and clicking
Resources.
3. Type the private area IP address (e.g. 192.6.94.2) for this card and enter the subnet mask
(255.255.255.0) in the provided spaces. Close the properties page and restart the computer.
The Ethernet card configuration on the computer is complete.
4. To configure the PMAC side, run the EthConfigure.EXE application from programs\
Pewin32PRO\ program group. This application is provided as part of the standard installation
and is placed in the c:\Program files\Delta Tau\Common\ folder. Proceed to the main screen
by clicking OK. The following message is for future use.
8. Similar to Ethernet Configuration utility, a USB configuration utility is also provided with
any standard installation. The USB configuration utility configures the communication card
for USB provided that the correct hardware type and serial number are selected.
3. Select the COM port from the PMAC Devices dialog box. Click Test to verify
communication with a PMAC device.
Firmware Downloads 17
PComm32PRO Installation and Troubleshooting Procedures
3. Once a PMAC is listed in the PMAC Select window, it is registered. After a device is registered, it
should be tested. At this time, the following screen displays and the device is ready to use in any
application.
18 Firmware Downloads
PComm32PRO Installation and Troubleshooting Procedures
Firmware Downloads 19
PComm32PRO Installation and Troubleshooting Procedures
20 Firmware Downloads
PComm32PRO Installation and Troubleshooting Procedures
Firmware Downloads 21
PComm32PRO Installation and Troubleshooting Procedures
Configure/Reconfigure Parameters
Here are some of the issues that may come out during launching a PMAC application where the
applications may fail to establish communication. The following items cover different modes of
communication individually.
ISA PMACs: I/O Port Address, DPRAM and Interrupt Assignment
Full configuration of all ISA PMACs can be viewed and modified from the Device Manager. A yellow or
a red sign next to the PMAC ISA controller means that either there is a conflict between the parameters
on PMAC and the host computer, or DPRAM is not present while the card has been configured to use
DPRAM.
The properties page of the PMAC ISA will reveal the details of the parameters. Configure the port
address, and add or remove DPRAM and interrupt according to the following table:
Configuration Number Modes of Communication
Basic Configuration 0 Communication through host port only
Basic Configuration 1 Communication through host port with DPRAM
(regular size) enabled
Basic Configuration 2 Communication through host port with DPRAM
(regular size) and interrupts enabled
Basic configuration 3 Communication through host port with Interrupts
enabled
Basic Configuration 4 Communication through host port with DPRAM
(large size) enabled
Basic Configuration 5 Communication through host port with DPRAM
(large size) and interrupts enabled
22 Firmware Downloads
PComm32PRO Installation and Troubleshooting Procedures
All ISA type PMACs are non-Plug and Play and therefore require manual configuration for I/O address,
DPRAM and Interrupt assignment. Match the port address to PMAC’s jumper settings (or switch settings
for PMAC2), map the DPRAM at an available space in the PC and assign an interrupt card. The
following figure gives the details of the parameters of the troubled PMAC ISA device.
Available, or more importantly, unavailable parameters are listed in the Device Manager menu of the
computer.
Important Note:
• If an ISA PMAC is configured for DPRAM and after firmware download has
been completed, power cycle the PMAC before the DPRAM can be used.
• Large DPRAM (64Kbytes) is supported under ISA mode of communication.
However, under Microsoft operating systems, it is configured at even
addresses only and therefore only two ranges D0000-DFFFF and E0000-
EFFFF are supported for large DPRAM option.
Firmware Downloads 23
PComm32PRO Installation and Troubleshooting Procedures
24 Firmware Downloads
PComm32PRO Installation and Troubleshooting Procedures
• For Turbo PMACs using an USB mode of communication, the DPRAM is mapped at $6C000 instead
of $60000 (for ISA and PCI PMACs). I24 determines the address of the DPRAM on a PMAC. It
must correspond to the USB address ($6C000) to establish communication. Use the serial
communication or some other mode to set I24=$6C000 before using the USB mode of
communication.
• If the UMAC CPU has the onboard DPRAM option present, reinitialize with the E3 jumper and
manually change the value of I24 to $6C000.
Future generations of USB PMACs will be available in both, with or without, DPRAM option
configurations. See the ACC-54E User manual for detailed information.
Serial Port Communication
Serial communication has its usual issues (baud rate, parity, and handshake signals). This driver requires
all of these settings to be correct for successful communication. Baud rate is the most essential of all.
• PComm32PRO will not function correctly if the baudrate on the serial port of the host computer is
different from the PMAC settings.
• Having been able to communicate via Hyper-Terminal is a necessary but not sufficient test in case
there is a problem in establishing the communication.
• Normal PMAC firmwares, with few exceptions, do not support parity. Furthermore, this driver uses
both RTS (enabled) and CTS (checked) handshake signals by default. However, it is possible to
change these settings. Once changed, the serial port may require a reset. Reboot the host computer to
ensure that the changes have taken effect.
Higher Baud Rate Considerations
For customers asking for a baud rate higher than 38400, the following table may be helpful:
PMAC CPU Speed Supported Baud Rates
All PMACs 9600, 19200, 38400 BPS
60 MHz, 90 MHz, 120 MHz, 150 MHz 9600, 19200, 38400, 57600, 115200 BPS
Note:
Most PMACs support 76800 BPS. However, 76800 BPS is non-standard for most
PCs and Microsoft Windows and is not listed in the Com Port settings.
Firmware Downloads 25
PComm32PRO Installation and Troubleshooting Procedures
26 Firmware Downloads
PComm32PRO Installation and Troubleshooting Procedures
Firmware Downloads 27
PComm32PRO Installation and Troubleshooting Procedures
28 Firmware Downloads
PComm32PRO Installation and Troubleshooting Procedures
FIRMWARE DOWNLOADS
This section describes the step-by-step procedure used to update or change the firmware for any PMAC
with flash memory (PMAC1, PMAC2, Ultralite, Turbo PMAC1, Turbo PMAC2, Turbo Ultralite, and
UMAC). All of the information in this document assumes that the user has a legal copy of the firmware
for their PMAC. If the user has any questions about uploading firmware, contact Delta Tau Data
Systems, Inc.
To change the firmware, place the card into bootstrap mode by powering up the controller with the
bootstrap jumper in place. The bootstrap jumpers are listed in the table in this section.
Use caution when changing firmware because all information will be erased from the PMAC memory
before the firmware is downloaded. Make sure there are complete backup files for the application prior to
downloading the new firmware file.
Note:
If downloading firmware via serial port communications, user must set the baud
rate to 38400 regardless of the setting of the baud rate jumpers.
PMAC2
Type CPU/Memory Part Number Re-Initialization Bootstrap
PC/VME 4 602 401/ 403/ 405-10x** E3 <CTRL-R> E3 <CTRL-O>
Flash only
PC/VME Universal
5 602 705-10x** E3 E4 (CPU)
PC/VME Turbo
6 602866-10x** E3 E7
Lite 4 602406-100 E3 <CTRL-R> E3 <CTRL-O>
Flash only
Lite 5 602406-101+ E3 E0 (2-3)
Mini Universal 602405-10x E3 E0 (2-3)
5
VME Ultralite Universal 602643-10x E3 <CTRL-R> E3 <CTRL-O>
4
PC Ultralite Flash only 602415-10x E3 E0
5
PC Ultralite Universal 602182-182 E3 E23
6
UMAC Turbo 603382-10x E3 E23
6
Turbo
Flex CPU PMAC1/PMAC2
Type CPU/Memory Part Number Re-Initialization Bootstrap
P1 -PC/VME 4 603605-10x E51 E7
Flash only
P2 -PC/VME Flash only
4 603605-10x E3 E7
MINI
PC Ultralite
VME Ultralite
Firmware Downloads 29
PComm32PRO Installation and Troubleshooting Procedures
1
Re-Initialization: This copies the factory default values of I-variables, conversion table settings, and
VME and DPRAM address settings from the firmware EPROM into active memory.
2
Bootstrap: PMAC enters a special re-initialization mode that permits the downloading of new firmware
on flash only CPUs. PMAC can communicate over the PC/STD bus port or over the serial port at a baud
rate of 38,400, regardless of the setting of the baud rate jumpers.
3
Battery-Backed CPU: There are EPROMs for the firmware, EEPROM for the basic variables (most I-
variables, conversion table settings, and VME and DPRAM address settings), and battery-backed RAM
for the rest of the I-variables, programs, definitions, buffers, and tables.
4
Flash Only CPU: This has segmented flash EEPROM that consists of two sections: one holds the
firmware and the second holds all the user settings. To bypass the firmware download procedure, send
<CTRL-R>.
5
Universal CPU: This is a CPU that can be built as a battery-backed or flash only CPU.
6
Turbo CPU: This is similar to the flash only CPU.
** CPU piggyback board
Firmware Download Supported Modes
Starting with PRO Suite 2.0, all modes of communication support firmware downloads provided that a
host port communication is available. For UMAC via USB and Ethernet, ACC-54E Revision 102 or
above is required.
Firmware Download Steps
1. Apply the bootstrap jumper as described in the previous table.
2. From Pewin32PRO menu, go to the Setup menu and select General Setup and Options.
3. Select the appropriate device and then click on the Test button.
30 Firmware Downloads
PComm32PRO Installation and Troubleshooting Procedures
4. The controller is now in bootstrap mode. Click the OK button. If Cancel is clicked, the system will
issue a CTRL^R and restore normal operation to the PMAC.
Important Note:
If an ISA PMAC is configured for DPRAM, power cycle the PMAC before the
DPRAM is used after firmware download is complete.
5. The program will then ask for a bin file which is actually the firmware binary file. The firmware file
(not provided with any installation) is required and can be purchased as an Delta Tau Option (OPT-
10). For this example, the file is for a UMAC (Turbo PMAC2 type) and is called TURBO2.BIN.
Once purchased, store the binary file in any directory. After the file is selected, click the Open
button.
6. The program will then ask for initiation of the download. Click the Begin button.
Firmware Downloads 31
PComm32PRO Installation and Troubleshooting Procedures
7. When the download file is complete, the following screen displays. There is a 5-second delay before
the Done button is available. Click the Done button.
8. The program will then establish communications with the PMAC and the following screen displays.
9. Power down the system and remove the bootstrap jumper. Then restart the controller with the new
firmware.
32 Firmware Downloads