Download W&T Centronics/RS232
Transcript
W&T Centronics > Serial Interfaces Manual Centronics > Serial Interfaces Model W&T Subject to error and alteration Release 28000 26000 24000 1.0 17 W&T Centronics > Serial Interfaces © 08/2004 by Wiesemann & Theis GmbH Subject to errors and changes: Since we can make mistakes, none of our statements should be used without checking. Please let us know of any mistakes or misunderstandings you are aware of, so that we can recognize and eliminate them quickly. Perform work on and with W&T products only as described here and only if you have read and understood the manual fully. Unauthorized use can result in hazards. We are not liable for the consequences of unauthorized use. When in doubt, check with us or consult you dealer! 18 W&T Subject to error and alteration Centronics > Serial Interfaces 19 W&T Centronics > Serial Interfaces Contents Contents Interface Centronics > RS232, Model 28000 ......................... 21 Interface Centronics > RS422, Model 26000 ......................... 25 Interface Centronics > 20mA, Model 24000 .......................... 29 20 W&T Centronics > Serial Interfaces Interface Centronics > RS232, Model 28000 Function The W&T-Interface 28000 allows uni-directional connection of peripherals equipped with an RS232 port to the parallel port on a computer. Setting the Interface Before first using, the RS232 parameters for the interface need to be set using the DIL switches inside the Interface housing. The baud rate, data format and handshake procedure need to be set to the values which the connected peripheral uses. The DIL switch settings can be found in the following table: baudrate SW2 SW3 SW4 SW5 150 ON ON off off hardware off 300 off off ON off XON/XOFF ON 600 ON off ON off 1200 off ON ON off parity 2400 ON ON ON off no off off 4800 off off off ON odd off ON 9600 ON off off ON even ON ON 19200 off ON off ON 38400 ON ON off ON data bit 76800 off off ON ON 7 off 8 ON Subject to error and alteration handshake SW1 SW7 SW8 SW 6 21 W&T Centronics > Serial Interfaces Pin assignments for the RS232 interface The RS232 interface is implemented as a DB25 male with DTE configuration. The pin configuration is shown in the following table: pin# funktion 2 data output (TxD) 3 XON/XOFF input (RxD) 5 handshake input (CTS) 7 signal GND Pin assignments for the Centronics interface The RS232 interface is implemented as a 36-pin Centronics female. The pin configuration is shown in the following table: pin# 1 2..9 strobe data 0 .. data 7 10 acknowledge 11 busy 12 paper empty (LOW) 13 select (High) 14 auto linefeed (n.c.) 16 signal GND 17 chassis GND 18 (n.c.) 19..30 22 function signal GND 31 init (n.c.) 32 error (High) 36 select in (n.c.) W&T Centronics > Serial Interfaces Connecting the Interface The Interface has a Centronics input and an RS232 output. Centronics interface The Centronics input of the Interface corresponds in its wiring and signal characteristics to the input of a parallel printer. This means that any normal printer cable permitting connection of the data source with a Centronics printer can be used to connect the Interface input to the data sender. RS232 interface Since peripherals also as a rule have RS232 ports configured as DTE, the connection between the Interface and the peripheral can usually be made using a serial printer cable configured as follows: Interface 3 2 20 7 5 6 Printer data data handshake signal GND handshake 2 3 5 6 7 20 Supply voltage The Interface is powered using the supplied AC adapter. The adapter provides a regulated voltage of 5 V ±5%. Commercially available, unregulated AC adapters are not suitable for powering the Interface. Subject to error and alteration 23 W&T Centronics > Serial Interfaces Technical Data Baud rate: Data format: Handshake: Current draw: Supply voltage: Input: Output: Housing: Weight: Scope of delivery: 24 150 .. 76800 baud 7,8 data bits, No,Even,Odd Parity DTR- and XON-/XOFF - Handshake approx. 60mA AC adapter provided 36-pole Centronics female incl. 0.5 m connection cable on the device 25-pin SUB-D male in housing Plastic enclosure, 124x74x21 mm 425 g incl. AC adapter 1x Interface Centronics > RS232 1x AC adapter for office use W&T Centronics > Serial Interfaces Interface Centronics > RS422, Model 26000 Function The W&T-Interface 26000 allows uni-directional connection of peripherals equipped with an RS422 port to the parallel port on a computer. Setting the Interface Before first using, the RS422 parameters for the interface need to be set using the DIL switches inside the Interface housing. The baud rate, data format and handshake procedure need to be set to the values which the connected peripheral uses. The DIL switch settings can be found in the following table: baudrate SW2 SW3 SW4 SW5 150 ON ON off off hardware off 300 off off ON off XON/XOFF ON 600 ON off ON off 1200 off ON ON off parity 2400 ON ON ON off no off off 4800 off off off ON odd off ON 9600 ON off off ON even ON ON 19200 off ON off ON 38400 ON ON off ON data bit 76800 off off ON ON 7 off 8 ON Subject to error and alteration handshake SW1 SW7 SW8 SW 6 25 W&T Centronics > Serial Interfaces Pin assignments for the RS422 interface The RS422 Interface is implemented as a DB25 male with DTE configuration. The pin configuration is shown in the following table: pin# 1 function Shield 10 Data Out A (-) 11 Data In A (-) 14 Signal GND 17 Handshake In A (-) 18 Handshake In B (+) 22 Data Out B (+) 23 Data In B (+) Pin assignments for the Centronics interface The Centronics interface is implemented as a 36-pin Centronics female. The pin configuration is shown in the following table: pin# 1 2..9 strobe data 0 .. data 7 10 acknowledge 11 busy 12 paper empty (LOW) 13 select (High) 14 auto linefeed (n.c.) 16 signal GND 17 chassis GND 18 (n.c.) 19..30 26 function signal GND 31 init (n.c.) 32 error (High) 36 select in (n.c.) W&T Centronics > Serial Interfaces Connecting the Interface The Interface has a Centronics input and an RS422 output. Centronics interface The Centronics input of the Interface corresponds in its wiring and signal characteristics to the input of a parallel printer. This means that any normal printer cable permitting connection of the data source with a Centronics printer can be used to connect the Interface input to the data sender. RS422 Interface Information regarding connecting the RS422 Interface can be found in the following wiring examples: RS422 hardware handshake application Centronics 10 22 11 23 17 18 RxD A (-) RxD B (+) TxD A (-) TxD B (+) DTR A (-) DTR B (+) RS422 device PC 26000 RS422 DOut A DOut B DIn A DIn B HIn A HIn B RS422 software handshake application Subject to error and alteration DOut A DOut B DIn A DIn B 10 22 11 23 RxD A (-) RxD B (+) TxD A (-) TxD B (+) RS422 device RS422 26000 PC Centronics 27 W&T Centronics > Serial Interfaces Supply voltage The Interface is powered using the supplied AC adapter. The adapter provides a regulated voltage of 5 V ±5%. Commercially available, unregulated AC adapters are not suitable for powering the Interface. Technical Data Baud rate: Data format: Handshake: Current draw: Supply voltage: Input: Output: Housing: Weight: Scope of delivery: 28 150 .. 76800 baud 7,8 data bits, No,Even,Odd Parity DTR- and XON-/XOFF - Handshake approx. 110mA AC adapter provided 36-pole Centronics female incl. 0.5 m connection cable on the device 25-pin SUB-D male in housing Plastic enclosure, 124x74x21 mm 425 g incl. AC adapter 1x Interface Centronics > RS422 1x AC adapter for office use W&T Centronics > Serial Interfaces Interface Centronics > RS422, Model 24000 Function The W&T-Interface 24000 allows uni-directional connection of peripherals equipped with a 20mA port to the parallel port on a computer. Setting the Interface Before first using, the 20mA parameters for the interface need to be set using the DIL switches inside the Interface housing. The baud rate, data format and handshake procedure need to be set to the values which the connected peripheral uses. The DIL switch settings can be found in the following table: baudrate SW2 SW3 SW4 SW5 handshake SW1 150 ON ON off off XON/XOFF ON 300 off off ON off 600 ON off ON off parity 1200 off ON ON off no off off 2400 ON ON ON off odd off ON 4800 off off off ON even ON ON 9600 ON off off ON 19200 off ON off ON data bit SW7 SW8 SW 6 7 off 8 ON The speeds 38.4 kBaud and 78.6 kBaud can in principle be set on the DIL switches, but correct function of the Interface cannot be guaranteed in these modes. Subject to error and alteration 29 W&T Centronics > Serial Interfaces Pin assignments for the 20mA interface The 20mA Interface is implemented as a DB25 male. The pin configuration is shown in the following table: pin# function 12 Data In (XON/XOFF) + 13 Data Out - 14 Signal GND 24 Data In (XON/XOFF) - 25 Data Out + Pin assignments for the Centronics interface The Centronics interface is implemented as a 36-pin Centronics female. The pin configuration is shown in the following table: pin# 1 2..9 strobe data 0 .. data 7 10 acknowledge 11 busy 12 paper empty (LOW) 13 select (High) 14 auto linefeed (n.c.) 16 signal GND 17 chassis GND 18 (n.c.) 19..30 30 function signal GND 31 init (n.c.) 32 error (High) 36 select in (n.c.) W&T Centronics > Serial Interfaces Connecting the Interface The Interface has a Centronics input and a 20mA output. Centronics interface The Centronics input of the Interface corresponds in its wiring and signal characteristics to the input of a parallel printer. This means that any normal printer cable permitting connection of the data source with a Centronics printer can be used to connect the Interface input to the data sender. 20mA Interface Information regarding connecting the 20mA Interface can be found in the following wiring examples: Data input active Data output active S2.1 = "ON" S2.2 = "ON" +5V +5V IN+ 12 OUT+ 25 IN- 24 OUT- 13 GND 14 GND 14 Interface 24000 Interface 24000 Data output passive Data input passive S2.2 = "OFF" S2.1 = "OFF" +5V +5V OUT+ 25 IN+ 12 + IN- 24 OUT- 13 Interface 24000 Subject to error and alteration Interface 24000 31 W&T Centronics > Serial Interfaces Supply voltage The Interface is powered using the supplied AC adapter. The adapter provides a regulated voltage of 5 V ±5%. Commercially available, unregulated AC adapters are not suitable for powering the Interface. Technical Data Baud rate: Data format: Handshake: Current draw: Supply voltage: Input: Output: Housing: Weight: Scope of delivery: 32 150 .. 19200 baud 7,8 data bits, No,Even,Odd Parity DTR- and XON-/XOFF - Handshake approx. 50mA AC adapter provided 36-pole Centronics female incl. 0.5 m connection cable on the device 25-pin SUB-D male in housing Plastic enclosure, 124x74x21 mm 425 g incl. AC adapter 1x Interface Centronics > 20mA 1x AC adapter for office use