How to send Part Programs from Aspan to the Kvara or Xilog NC and vice versa

program: ASPAN, TASK

The Kvara and Xilog NCs do not directly allow a link for sending/receiving programs. Anyway as the Kvara and Xilog NCs are PCs that run Windows 95, and Aspan5 is running in a PC with Windows 95/98/NT, you have several possibilities in order to establish a link.<> This same link can be useful for sending Part Programs to the NC, receiving Part Programs from the NC and importing the configuration from the NC.1)

1) Insert a network card in the NC

The Network Card can be any standard 16 bit half size ISA card. Refer to the NC Hardware manual for further details. After the card is inserted in the NC and connected to the local network, you will have to install and enable the Software Drivers and Protocols (ask to Morbidelli for details). Obviously, the PC running Aspan must be connected to the same local network. Refer to you PC hardware & software technician for how to do this in the Aspan PC. Once the link is established and the sharing options are correctly set, you will be able to directly send part programs to the NC, or to directly read the part programs stored in the NC.

Example: the Kvara drive letter, seen by Aspan is F: you can send a part Program to the kvara, by telling Aspan to generate it directly in the Kvara NC, let's say F:\Morbi2)

2) Establish a Direct Cable Connection

If you don't want to buy a network card, you may use the Windows 95/98 utility 'Direct Cable Connection'. It is possible that this utility is not installed on the Kvara NC, or in the PC where Aspan is running, so you have to check in both the NC and the Aspan PC: Start -> Programs -> Accessories -> Direct Cable Connection If this utility is not installed, please refer to Morbidelli or ESA on how to do this on the NC and to your PC technician on how to install this utility in the Aspan PC. Warning: this utility is only available in Windows 95 or successive versions. If the Direct Cable Connection is available, you will have to connect a 'null-modem full' serial cable in both the NC and the PC running Aspan. See NOTE [1] for serial cables specifications. When the connection is started and the sharing options are correctly activated, you will be able to use this connection as a standard network link.

Example: the Kvara drive letter, seen by Aspan is F: you can send a part Program to the kvara, by telling Aspan to generate it directly in the Kvara NC, let's say F:\Morbi3)

3) Use a terminal emulation program

If you don't want to set a lot of parameters using the Direct Cable Connection, you may use any Terminal Emulation Program. Windows 95/98 (or later) has a program called 'Hyper Terminal': you may use it or install a different one if you wish. It is possible that this utility is not installed on the NC, or in the PC where Aspan is running, so you have to check in both the NC and the Aspan PC: Start -> Programs -> Accessories -> Hyper Terminal
If this utility is not installed, please refer to Morbidelli on how to do this on the NC and to your PC technician on how to install this utility in the Aspan PC. Warning: this utility is only available in Windows 95 or later. A different possibility is to install a different communication program. When a terminal emulation program is installed and running in both the NC and the PC, you will have to connect a 'null-modem' serial cable in both the NC and the PC running Aspan. See [NOTE 1] for serial cables specifications.
The type of connection and of protocol depends on the type of cable used.
Let's say, as an example, that it may configured this way:
Cable: 3 wires null modem (the same cable used for TRIA)
Connect to: Direct to Com1 (or Com2)
Bits per Second: 9600
Data bits: 8
Parity: NONE
Stop Bits: 1
Flow Control: NONE => it is important to set NONE
Then select: Transfer -> Send File select the filename Protocol: Zmodem (or any other protocol)
Obviously all the parameters must be the same except for the serial port Com1/Com2 that may be different in the NC and in the PC.

4) Last, and obvious possibility: use a diskette rather than the serial transmission.

[NOTE 1]: Cable: PC <-> Tria (null-modem, 3 wires, PC side shorted)

 

PC side (female connector) <-----> TRIA/KVARA

DB9 DB25 name link name DB25 DB9
3 2 TxD <----> RxD 3 2
2 3 RxD <----> TxD 2 3
7
8
4
5
RTS
CTS
<-|
<-|
     
6
4
6
20
DSR
DTR
<-|
<-|
     
5 7 GND <----> GND 7 5
  • connectors DB9: cortocircuitare i piedini 7 e 8 tra loro ed i piedini 6 e 4 tra loro; collegare 3 e 2, 2 e 3, 5 e 5  tra loro
  • connectors DB25: Shorts for the PC-side connector: 4-5, 6-20; Between the two connectors: 2-3, 3-2, 7-7

Cable: PC <-> Tria (null-modem full):

Summary (for DB25 <-> DB25)

 

PC side (female connector) <-----> TRIA/KVARA

DB9 DB25 name link name DB25 DB9
3 2 TxD <----> RxD 3 2
2 3 RxD <----> TxD 2 3
7 4 RTS <----> CTS 5 8
8 5 CTS <----> RTS 4 7
6 6 DSR <----> DTR 20 4
4 20 DTR <----> DSR 6 6
6
1
6
8
DSR
DCD
<-|
<-|
DSR
DCD
6
8
6
1
5 7 GND <----> GND 7 5
  • Between the two connectors: 2-3, 3-2, 4-5, 5-4, 7-7, 6-20, 20-6 
  • Shorts for both side connectors: 6-8 (optional)

Important note:

for best results, the cable should be shielded with "low reactive capacitance" (i.e. a good quality shielded cable). You should use a three wires + shield cable. The three wires (Rx, Tx, and GND) must be connected to the indicated connector pins. The cable shield should be connected to the serial connector shield (casing earth) of the two connectors (DB25 and/or DB9). Please note that shielded cables are not cheap and they can not be used for long cables due to their "reactive capacitance" that loads the RS232 drivers. Shielded cables are of great help in noisy environments (from the electrical point of view) if limiting the cable length to 10..20 meters/yards.

Read 1323 times
More in this category: Serial Port still doesn't work »