background image

 

 

 

 

 

 

Technical support: 

Arsène Klein 

+49 (0)7223 / 9493-20 

 

 

 

 

 

Technical description 

ADDICOM PA 7400

 

Communication adapter 

 

4

th

 edition 07/1999 

Summary of Contents for ADDICOM PA 7400 Series

Page 1: ...Technical support Arsène Klein 49 0 7223 9493 20 Technical description ADDICOM PA 7400 Communication adapter 4th edition 07 1999 ...

Page 2: ...he intrusion of foreign bodies and by influence beyond the user s control Licence for ADDI DATA software products Read carefully this licence before using the standard software The right for using this software is given to the customer if he she agrees to the conditions of this licence this software can only be used for configuring ADDI DATA boards copying the software is forbidden except for arch...

Page 3: ... leaflet is not with the manual please contact us and ask for it Observe the instructions of the manual Make sure that you do not forget or skip any step We are not liable for damages resulting from a wrong use of the board Symbols used WARNING It designates a possibly dangerous situation If the instructions are ignored the board PC and or peripheral may be damaged IMPORTANT designates hints and o...

Page 4: ...he form TD7400 020 Following norms have been applied to test the product regarding electromagnetic compatibility l EN55011 03 91 l EN55022 08 94 l EN50082 2 03 95 We point out that l the conformity and herewith the permission of use expire if the user alters the product without consulting with the manufacturer l non skilled users are to have the operational area of the product and the requirements...

Page 5: ...d functions 10 Base address for the serial ports 1 and 2 11 Base address for the parallel port 11 Interrupt lines Single interrupt 12 Interrupt lines Common interrupt 12 Receiving data 13 Transmitting data 13 Controlling the transmitter 14 Controlling the receiver 15 Open circuit potential 15 Terminator 15 Setting the current source for 20 mA Current Loop 16 Reference point of the protection circu...

Page 6: ...8 3 Serial communication serial ports 1 and 2 34 8 3 1 RS232 Only serial port 1 34 Operation without the modem control signals DTRA CTSA RTSA DCDA DSRA RIA 34 Operation with the modem control signals DTRA CTSA RTSA DCDA DSRA RIA 34 8 3 2 RS422 35 Controlling the RS 422 transmitter 35 Controlling the RS 422 receiver 36 Terminators and open circuit potential for RS 422 36 RS 422 cabling serial port ...

Page 7: ...of contents PA 7400 III 8 4 Parallel communication 46 8 5 Interrupt 47 Serial port 1 and 2 47 Parallel port 47 Single interrupt Common interrupt 47 Analysing the common interrupt 47 9 DEVICE DRIVER 48 INDEX A ...

Page 8: ...c diagram of the board PA 7400 31 Fig 8 2 Operation without modem control signals 34 Fig 8 3 Operation with modem control signals 35 Fig 8 4 Enabling the RS 422 transmitter 36 Fig 8 5 Inserting a terminator and inverting the open circuit potential 37 Fig 8 6 RS 422 cabling for serial port 1 37 Fig 8 7 RS 422 cabling for serial port 2 38 Fig 8 8 Enabling the automatic transmitter with the signals D...

Page 9: ...d J39 40 14 Table 5 8 Reception control Jumper J16 7 15 Table 5 9 Open circuit potential Jumper J19 14 and J20 15 15 Table 5 10 Terminator Jumper J8 13 15 Table 5 11 Current source Jumper J22 3 and J23 4 16 Table 5 12 Protection circuitry J24 and J5 16 Table 5 13 Derivation of interference potential J9 17 Table 5 14 Setting the base address for the serial port 1 DIP2 0390H 19 Table 5 15 Setting th...

Page 10: ...RS422 RS485 or 20 mA current loop The 26 pin male connector can be connected to ribbon cable which enables the connection of the board PA 7400 with the external shielded connection cable The ribbon cable is mounted on a bracket so that the external cable can be screwed to the PC housing The connection with the external cables is to comply with the specifications metallized plastic hoods shielded c...

Page 11: ... the peripheral cable so that the differential lines described in the connector pin assignment with and are twisted in pairs Operating mode RS232 the signal lines are to be twisted in pairs with GND The housing of the peripheral connector is to be firmly screwed together with the shield of the cable is to assure a low resistance connection 100 mΩ between the shield and the housing of the PC The sh...

Page 12: ...ned in electronics are entitled to perform the following tasks installation putting into operation use maintenance 2 2 Personal protection Consider the country specific regulations about the prevention of accidents electrical and mechanical installations radio interference suppression ...

Page 13: ...PA 7400 Technical description Chapter 3 4 3 HANDLING THE BOARD Fig 3 1 Wrong handling Fig 3 2 Correct handling ...

Page 14: ... interferences 10 V 10 V WARNING The EMC tests have been carried out in a specific appliance configuration We guarantee these limit values only in this configuration Consider the following aspects your test program must be able to detect operation errors your system must be set up so that you can find out what caused errors 4 2 Physical set up of the board The board is assembled on a 4 layer print...

Page 15: ...e with 1 x RS232 without optical isolation 2 x RS422 RS485 with optical isolation 1 parallel interface PA 7400 VC 2 port serial interface with 1 x RS232 without optical isolation 2 x 20 mA Current Loop with optical isolation 1 parallel interface 4 5 Limit values Operating temperature 0 to 60 C Storage temperature 25 to 70 C Relative humidity 30 to 95 non condensing Minimum PC requirements operatin...

Page 16: ...stop bits Transfer rates RS 232 max 19200 Baud only serial port 1 RS 422 RS 485 max 112000 Baud 20 mA current loop max 19200 Baud Load resistance 20mA current loop 300 ohm Overvoltage protection RS 422 RS 485 Breakdown voltage 6 5 V VCL1 11 3 V at Ipp2 35 4 A in 1 ms test Ppp3 SURGE 300 W 1 ms All lines are protected against short circuit through PTC resistors 20mA current loop Breakdown voltage 2...

Page 17: ...at logic 1 min 2 2 V Output at logic 0 max 0 4 V 6 mA Output at logic 1 min 2 4 V 6 mA Addressing LPT1 3 Interrupt lines IRQ5 IRQ7 Safety Optical isolation 1000 V Overvoltage protection through transil diodes Voltage reversal protection through transil diodes Protection against short circuit for RS422 RS485 through PTC ...

Page 18: ...Technical description Chapter 5 PA 7400 9 5 SETTINGS 5 1 Component scheme Fig 5 1 Component scheme of the PA 7400 ...

Page 19: ...PORTANT The instructions about addresses bits jumpers and pins refer to serial port 1 and 2 The instructions for serial port 2 are in brackets e g Base S1 2 6 7 Jumper J11 6 ê ê êê ê ê Port 1 2 1 2 1 2 WARNING Do not operate the board simultaneously in several modes Otherwise you may destroy the board PC and or the peripheral Make sure to set only the jumpers required for the respective functions ...

Page 20: ...tings at delivery COM1 3F8H IRQ4 XT 4 COM2 2F8H IRQ3 XT COM3 3E8H IRQ10 AT COM4 2E8H IRQ11 AT Table 5 2 Setting the base address for the serial port 2 Description Address Corresponding interrupt line Jumper settings Settings at delivery COM1 3F8H IRQ4 XT COM2 2F8H IRQ3 XT 4 COM3 3E8H IRQ10 AT COM4 2E8H IRQ11 AT Base address for the parallel port Table 5 3 Setting the base address for the parallel ...

Page 21: ... the interrupt lines for the parallel port Description Jumper settings Settings at delivery IRQ 7 4 IRQ5 No IRQ Interrupt lines Common interrupt You can save interrupt lines in your system by operating both serial ports through a common interrupt Jumper J31 You can set the jumper for common interrupt as you wish either up or down Fig 5 4 Common interrupt Example with IRQ3 ...

Page 22: ...op Preparation for receiving data Current does not flow in rest state J1 Serial port 1 J2 Serial port 2 20 mA Current Loop Preparation for receiving data Current flows in rest state J1 Serial port 1 J2 Serial port 2 Transmitting data Table 5 6 20 mA Current Loop Transmitting data Mode Jumper settings Description Delivery 20 mA Current Loop Current does not flow in rest state Current flows in rest ...

Page 23: ...usly controls the hardware pin RTSA B of the DUART RS485 Automatic control RS485 transmitter disabled transmitter is disabled after the transmission of a mark or a group of marks Control with bit DTRA B Bit D0 of the Modem Control Register A B J39 40 No function DTRA B 0 Transmitter disabled Reset value DTRA B 1 Transmitter enabled The bit DTRA B simultaneously controls the hardware pin DTRA B of ...

Page 24: ...0 must be disabled Control with bits RD EN 1 2 on address BASE S1 7 IMPORTANT RS485 J11 6 J39 40 must be disabled Open circuit potential Table 5 9 Open circuit potential Jumper J19 14 and J20 15 Mode Jumper settings Description Delivery RS422 RS485 The receiving lines RxA RxB and RxA RxB are connected in RS422 RS485 at an open circuit potential through 1 kΩ resistors 4 Inverted open circuit potent...

Page 25: ...ception The board supplies the reception loop with current Passive reception The peripheral supplies the reception loop with current 4 Reference point of the protection circuitry Table 5 12 Protection circuitry J24 and J5 Port Settings Description Delivery Serial port 1 Derivation of interference potential through secondary ground GNDA of the DC DC converter 4 Derivation of interference potential ...

Page 26: ...Technical description Chapter 5 PA 7400 17 Derivation of interference potential Table 5 13 Derivation of interference potential J9 Mode Settings Delivery Output port 4 Reading the external data ...

Page 27: ...llel ports are already used by your PC Load the DEBUG program Are recognised COM1 COM2 LPT1 LPT2 for DOS 3 3 and COM1 COM4 LPT1 LPT2 for DOS 4 0 Enter On the screen Meaning C debug return d40 0 return F8 03 F8 02 00 00 00 00 78 03 address 03F8 COM1 address 02F8 COM2 address 0378 LPT1 q return COM1 03F8 COM2 02F8 LPT1 0378 are used in this example by the PC You can set the base address of the seria...

Page 28: ...5 14 and 5 15 Decoding examples for the serial ports Table 5 14 Setting the base address for the serial port 1 DIP2 0390H Fig 5 5 Block of DIP switches DIP2 Table 5 15 Setting the base address for the serial port 2 DIP1 0300H Fig 5 6 Block of DIP switches DIP1 ...

Page 29: ...off the PC 2 Install the first board 3 Start the PC 4 Install the software once is enough 5 Configure the board 6 Switch off the PC 7 Install the second board 8 Start the PC 9 Configure the board etc You will find additional information to these different steps in the sections 6 1 to 6 5 IMPORTANT You have installed already one or more ADDI DATA boards in your computer and you wish to install an a...

Page 30: ...he PC manufacturer 6 1 2 Selecting a free slot Fig 6 1 Types of slots See in the PC manual which types of slots are free 1 Decide in which type of slot to insert the board 2 Remove the back cover of the selected slot according to the instructions of the PC manufacturer Keep the back cover You will need it if you remove the board 3 Discharge yourself from electrostatic charges 4 Take the board out ...

Page 31: ... Discharge yourself from electrostatic charges Insert the board vertically into the chosen slot Fig 6 3 Inserting the board Fig 6 4 Securing the board at the back cover Tighten all the loosen screws 6 1 4 Closing the PC Close your PC as described in the manual of the PC manufacturer ...

Page 32: ...ry content is stored in several sub directories Disk1 Disk2 Disk3 Insert the first diskette into a driver and change to this drive Enter INSTALL The installation program gives you further instructions 6 2 2 Software installation under Windows NT 95 Select the directory PA7400 32bit Disk1 Start the set up program setup exe double click Select one of the 3 parameters 1 typical 2 compact 3 custom Pro...

Page 33: ...ogram is called up the following dialog box appears Fig 6 5 ADDIREG registration program Table The table in the middle lists the registrated boards and their respective parameters Board name Names of the different registrated boards e g APCI 3120 When you start the program for the first time no board is registrated in this table Base address Selected base address of the board PCI slot Used PCI slo...

Page 34: ...esses are listed The used base addresses do not appear in this box Interrupt name When the board must support different interrupt lines common or single interrupts you can select them in this box Interrupt Selection of the interrupt number which the board uses DMA name When the board supports 2 DMA channels you can select which DMA channel is to be changed DMA channel Selection of the used DMA cha...

Page 35: ...t Sets the standard parameters of the board More information You can change the board specific parameters like the identifier string the COM number the operating mode of a communication board etc If your board does not support these information you cannot activate this button Save Saves the parameters and registrates the board Restore Reactivates the last saved parameters and registration Test reg...

Page 36: ...e test has been successfully completed you can quit the ADDIREG program The board is initialised with the set parameters and can now be operated In case the registration data is to be modified it is necessary to boot your PC again A message asks you to do so When it is not necessary you can quit the ADDIREG program and directly begin with your application 6 3 3 Changing the registration of a board...

Page 37: ...Settings Control panel click the icon Add Remove programs The window Add Remove Programs Properties appears In the lower list select ADDIREG and click Add Remove Proceed as indicated on the screen until the complete removing of ADDIREG 6 4 Error analysis per Internet Do not hesitate to visit us or e mail your questions Our Internet page is accessed per e mail info addi data de per Internet http ww...

Page 38: ...hnical description Chapter 7 PA 7400 29 7 CONNECTION TO THE PERIPHERAL 7 1 Connector pin assignments Fig 7 1 25 pin SUB D male connector for the serial port 1 Table 7 1 Pin assignment for the serial port 1 ...

Page 39: ...PA 7400 Technical description Chapter 7 30 Fig 7 2 9 pin SUB D male connector for the serial port 2 Table 7 2 Pin assignment for the serial port 2 Fig 7 3 26 pin male connector for the parallel port ...

Page 40: ...Technical description Chapter 8 PA 7400 31 8 FUNCTIONS OF THE BOARD 8 1 Block diagram Fig 8 1 Bloc diagram of the board PA 7400 ...

Page 41: ...ER A Base S1 7 INT2 INT1 DATA DIR 2 DATA DIR 1 RD EN 2 DATA DIR 2 RD EN 1 DATA DIR 1 D7 D6 D1 D0 D3 D2 D1 D0 You will find the meaning of write and read data on addresses Base S1 0 to Base S1 6 Address byte Base S1 7 write DATA DIR 1 Control bit of the transmitter for RS 485 serial port 1 See RS485 transmitter control RD EN 1 Control bit of the receiver for RS 485 serial port 1 See RS485 receiver ...

Page 42: ...se S2 2 INTERRUPT IDENTIFICATION REGISTER B Base S2 3 LINE CONTROL REGISTER B Base S2 4 MODEM CONTROL REGISTER B RTSB DTRB Base S2 5 LINE STATUS REGISTER B Base S2 6 MODEM STATUS REGISTER B Base S2 7 SCRATCH PAD REGISTER B SCRATCH PAD REGISTER B 8 2 3 I O map parallel port Table 8 3 I O map Parallel port I O Read I O Write Base P 0 PORT REGISTER PORT REGISTER Base P 1 STATUS REGISTER Base P 2 CONT...

Page 43: ...odem control signals DTRA CTSA RTSA DCDA DSRA RIA If the communication software does not support the control of the modem control signals èthe following cabling is sufficient Fig 8 2 Operation without modem control signals Operation with the modem control signals DTRA CTSA RTSA DCDA DSRA RIA If the communication software supports the control of the modem control signals If the cabling is limited t...

Page 44: ...ting jumper J11 6 in position B1 Controlling the RS 422 transmitter If the board is connected to a RS 422 network the transmitter has to be disabled after transmission This occurs by controlling the transmitter with jumper J21 10 1 Bit DTRA B is the bit D0 of the MODEM CONTROL REGISTER A B on address Base S1 2 4 of the DUART component DTRA B 0 Transmitter disabled reset value DTRA B 1 Transmitter ...

Page 45: ...set value RD EN 1 2 1 Reception is not possible Terminators and open circuit potential for RS 422 The receive lines RxA RxB and RxA RxB are in RS 422 at an open circuit potential through 1 K ohm resistors If the board is located at the end of the network insert a terminator through jumper J18 13 J18 13 in pos A 120 Ω terminator J18 13 in pos B 100 Ω terminator IMPORTANT If the board does not recei...

Page 46: ...erial port 1 Fig 8 6 RS 422 cabling for serial port 1 If the communication software controls the modem control signals è connect the modem control signals as follows to the connector RTSA CTSA DTRA DSRA DCDA RIA RS 422 cabling serial port 2 The modem control signals are connected on the board as follows RTSB CTSB DTRB DSRB DCDB RIB ...

Page 47: ...he RS 485 transmitter Refer to Chapter 5 2 Jumper settings and functions Fig 8 8 Enabling the automatic transmitter with the signals DTRA B RTSA B or DATA DIR 1 2 through jumper J11 6 Make sure that the values of data bits D2 D7 are not overwritten when writing in the MODEM CONTROL REGISTER A B on Base S1 2 4 ...

Page 48: ...1 7 settings at delivery RD EN 1 2 0 Reception possible reset value RD EN 1 2 1 Reception not possible After a system reset bit RD EN 1 2 0 The system is in the receiving mode Fig 8 9 Enabling the receiver with jumper J16 7 Terminators and open circuit potential in RS 485 The receive lines RxA RxB and RxA RxB are in RS 485 at an open circuit potential through 1 K ohm resistors See Chapter 5 2 Jump...

Page 49: ...r and inverting the open circuit potential RS 485 cabling serial port 1 Fig 8 11 RS 485 cabling for serial port 1 If the communication software supports the control of the modem control signals è connect the modem control signals as follows to the connector RTSA CTSA DTRA DSRA DCDA RIA RS 485 cabling serial port 2 The modem control signals are connected on the board as follows RTSB CTSB DTRB DSRB ...

Page 50: ...ing corresponds to the peripheral current loop Setting the current sources Active mode The current sources of the board deliver the necessary 20mA current loop on the receive and transmit line Passive mode The current sources of the peripheral deliver the necessary 20mA current loop on the receive and transmit line According to the configuration the mode is set as an active transmission reception ...

Page 51: ...n software supports the control of the modem control signals Connect the modem control signals to the connector as follows RTSA CTSA DTRA DSRA DCDA RIA Serial port 2 The modem control signals are connected on the board as follows RTSB CTSB DTRB DSRB DCDB RIB Fig 8 13 Active transmission active reception ...

Page 52: ...Technical description Chapter 8 PA 7400 43 Fig 8 14 Active transmission passive reception ...

Page 53: ...PA 7400 Technical description Chapter 8 44 Fig 8 15 Passive transmission active reception Fig 8 16 Passive transmission passive reception ...

Page 54: ...positive temperature coefficient resistors 20mA current loop The current loops are protected with TRANSIL damping diodes Breakdown voltage 26V Serial port 1 Select the reference point of the protection circuitry through jumper J24 IMPORTANT Make sure that pin 1 of the 25 pin SUB D connector is earthed externally Fig 8 17 Selecting the reference point of the protection circuitry serial port 1 If pi...

Page 55: ... The parallel port has the same function as a standard printer interface CENTRONICS You can program and control the parallel port through standard device drivers programming languages C PASCAL or through direct I O procedures J9 in pos B The PORT REGISTER on address Base P 0 is configured as an output port Reading external data through the PORT REGISTER Base P 0 Set jumper J9 in pos A Fig 8 18 Jum...

Page 56: ...TION REGISTER of the DUART component or with bits INT1 and INT2 Bits D7 and D6 of address Base S1 7 Table 8 4 I O map I O Read I O Write Base S1 2 1 INTERRUPT ENABLE REGISTER A B Base S1 2 2 INTERRUPT IDENTIFICATION REGISTER A B Base S1 7 INT2 INT1 DATA DIR 2 DATA DIR 1 RD EN 2 DATA DIR 2 RD EN 1 DATA DIR 1 D7 D6 D1 D0 D3 D2 D1 D0 Establish with the status bits INT1 and INT2 which serial port has ...

Page 57: ... please use the standard drivers which are delivered with Windows NT 4 0 You can read additional information about the Windows API functions for the settings and the use of the serial interfaces in SERIAL COMMUNICATION in WIN32 Moreover you will find application examples in Delphi 2 0 and VC 5 0 ...

Page 58: ...arallel port 33 port 1 32 port 2 33 insulation voltage 7 Internet error analysis 28 interrupt 46 47 common interrupt 47 I O map 47 parallel port 47 port 1 47 single interrupt 47 limit values 6 8 energy requirements 6 load resistance 7 mode current loop 41 45 open circuit potential RS 422 36 RS 485 39 overvoltage protection against 7 parallel communication 45 46 parallel port I O map 33 interrupt 4...

Page 59: ...ircuitry port 1 45 port 2 45 RS 422 open circuit potential 36 receiver 36 terminator 36 transmitter 35 RS 422 cabling port 1 37 port 2 37 RS 485 open circuit potential 39 receiver 39 terminator 39 transmitter 38 RS 485 cabling 40 41 port 1 40 port 2 41 single interrupt 47 slot selecting a 21 types 21 terminator RS 422 36 RS 485 39 transfer rate 7 transmitter RS 35 RS 485 38 voltage insulation 7 ...

Reviews: