background image

SERIES IP503 INDUSTRIAL I/O PACK                  EIA/TIA-232E & CENTRONICS COMMUNICATION MODULE
___________________________________________________________________________________________

- 7 -

Serial Port B Registers  continued:
Base
Addr+

MSB

D15D08

LSB

D07 D00

Base
Addr+

14

Not Driven

1

READ - IIR

Port B Interrupt

Identification Register

15

14

Not Driven

1

WRITE - FCR

Port B FIFO Control

Register

15

16

Not Driven

1

R/W - LCR

Port B Line Control

Register

17

18

Not Driven

1

R/W - MCR

Port B Modem Control

Register

19

1A

Not Driven

1

R/W - LSR

Port B Line Status Register

1B

1C

Not Driven

1

R/W - MSR

Port B Modem Status

Register

1D

1E

Not Driven

1

R/W - SCR

Port B Scratch

Pad/Interrupt Vector

Register

1F

Centronics Parallel Port Registers
Base
Addr+

MSB

D15D08

LSB

D07 D00

Base
Addr+

20

Not Driven

1

READ/WRITE - LPT

Line-Printer Data Port

21

22

Not Driven

1

READ ONLY - LPS

Line-Printer Status

23

24

Not Driven

1

READ/WRITE - LPC

Line-Printer Control

25

26

Not Driven

1

INVALID

(NOT USED

2

)

27

28

Not Driven

1

R/W - LEM

Line Printer

Extended Mode Select

29

2A

Not Driven

1

R/W - LIM

Line Printer

Interrupt Mode Select

2B

2C

Not Driven

1

INVALID

(NOT USED

2

)

2D

2E

Not Driven

1

R/W - LIV

Line Printer

Interrupt Vector Register

2F

30

7E

NOT USED

2

31

7F

Notes (Table 31):
1 The upper 8 bits of these registers are not driven and pullups

on the carrier data bus will cause these bits to read high (1’s)

2 The IP will not respond to addresses that are "Not Used"
3 All I/O Reads and writes are 2 wait states, except ID PROM

reads which are 1 wait state

This board operates in two different modes.  In one mode,

this device remains software compatible with the industry
standard 16C450 family of UART’s and provides double-buffering
of data registers.  In 16C450 mode, holding and shift registers
eliminate the need for precise synchronization between the host
CPU and the serial data.  In the FIFO mode (enabled via bit 0 of
the FCR register), data registers are FIFO-buffered so that read
and write operations can be performed while the UART is
performing serial-to-parallel and parallel-to-serial conversions

Two FIFO modes are possible: FIFO Interrupt Mode and FIFO
Polled Mode.  Some registers operate differently between the
available modes and this is noted in the following paragraphs

RBR - Receiver Buffer Register, Ports A & B (READ Only)

The Receiver Buffer Register (RBR) is a serial port input data

register that receives the input data from the receiver shift
register and holds from 5 to 8 bits of data, as specified by the
character size programmed in the Line Control Register (LCR bits
0 & 1)If less than 8 bits are transmitted, then data is right-justified
to the LSB.  If parity is used, then LCR bit 3 (parity enable) and
LCR bit 4 (type of parity) are required.  Status for the receiver is
provided via the Line-Status Register (LSR)When a full character
is received (including parity and stop bits), the data-received
indication bit (bit 0) of the LSR is set to 1The host CPU then
reads the Receiver Buffer Register, which resets LSR bit 0 to 0If
the character is not read prior to a new character transfer
between the receiver shift register and the receiver buffer
register, the overrun-error status indication is set in LSR bit 1If
there is a parity error, the error is indicated in LSR bit 2If a stop
bit is not detected, a framing error indication is set in bit 3 of the
LSR

Serial asynchronous data is input to the receiver shift register

via the receive data line (RxD)From the idle state, this line is
monitored for a high-to-low transition (start bit)When the start bit
is detected, a counter is reset and counts the 16x clock to 7-1/2
(which is the center of the start bit)The start bit is judged valid if
RxD is still low.  This is known as false start bit detection.  By
verifying the start bit in this manner, it helps to prevent the
receiver from assembling an invalid data character due to a low-
going noise spike on RxD.  If the data on RxD is a symmetrical
square wave, the center of the data cells will occur within 

±

3125%

of the actual center (providing an error margin of 46875%)Thus,
the start bit can begin as much as one 16x clock cycle prior to
being detected

THR - Transmitter Holding Register, Ports A & B (WRITE
Only)

The Transmitter Holding Register (THR) is a serial port output

data register that holds from 5 to 8 bits of data, as specified by
the character size programmed in the Line Control Register.  If
less than 8 bits are transmitted, then data is entered right-justified
to the LSB.  This data is framed as required, then shifted to the
transmit data line (TxD)In the idle state, TxD is held high.  In
Loopback Mode, this data is looped back into the Receiver Buffer
Register

DLL & DLM - Divisor Latch Registers, Ports A & B (R/W)

The Divisor Latch Registers form the divisor used by the

internal baud-rate generator to divide the 8MHz system clock to
produce an internal sampling clock suitable for synchronization to
the desired baud rate.  The output of the baud generator (RCLK)
is sixteen times the baud rate.  Two 8-bit divisor latch registers
per port are used to store the divisors in 16-bit binary format.  The
DLL register stores the low-order byte of the divisor, DLM stores
the high-order byte.  These registers must be loaded during
initialization

Note that bit 7 of the LCR register must first be set high to

access the divisor latch registers (DLL & DLM) during a read/write
operation

Summary of Contents for Series IP503

Page 1: ...tion Module USER S MANUAL ACROMAG INCORPORATED 30765 South Wixom Road P O BOX 437 Wixom MI 48393 7037 U S A Tel 248 624 1541 Fax 248 624 9234 Copyright 1995 Acromag Inc Printed in the USA Data and spe...

Page 2: ...toring system This is especially important where economic property loss or human life is involved It is important that the user employ satisfactory overall system design It is agreed between the Buyer...

Page 3: ...m performance with precision analog I O applications The X suffix of the model number denotes the length in feet Model 5029 944 IP503 Serial Communication Cable A 5 foot long flat 50 pin cable with a...

Page 4: ...n assignments are unique to each IP model see Table 21 and normally correspond to the pin numbers of the field I O interface connector on the carrier board you should verify this for your carrier boar...

Page 5: ...ground to safety ground via any device connected to these ports or a ground loop will be produced and this may adversely affect operation The communication cabling of the P2 interface carries digital...

Page 6: ...ing Little Endian uses even byte addresses to store the low order byte As such use of this module on an ISAbus PC AT carrier board will require the use of the even address locations to access the 8 bi...

Page 7: ...transmitted then data is right justified to the LSB If parity is used then LCR bit 3 parity enable and LCR bit 4 type of parity are required Status for the receiver is provided via the Line Status Reg...

Page 8: ...gh to low transition start bit When the start bit is detected a counter is reset and counts the 16x sampling clock to 7 1 2 which is the center of the start bit The receiver then counts from 0 to 15 t...

Page 9: ...NOT supported by this model FIFO Control Register FCR BIT FUNCTION 0 When set to 1 this bit enables both the Tx and Rx FIFO s All bytes in both FIFO s can be cleared by resetting this bit to 0Data is...

Page 10: ...m Control Register 1 MCR Bit 4 provides a local loopback feature for diagnostic testing of the UART channel When set high the UART serial output connected to the TXD driver is set to the marking logic...

Page 11: ...d by a read of the IIR Line Status Register continued LSR Bit FUNCTION PROGRAMMING 6 Transmitter Empty TEMT 0 Not Empty 1 Transmitter Empty set when both the Transmitter Holding Register THR and the T...

Page 12: ...data lines This register is either output only or bi directional depending on the state of the extended mode bit bit 0 of the LEM register and the data direction control bit bit 5 of the LPC register...

Page 13: ...interrupt source the ACKN line of the parallel port or bit 2 of the LPS register The serial ports and the parallel port interrupts drive INTREQ0 Bit 0 of this register drives the ENIRQ line of the UA...

Page 14: ...atus of each channel can be read by the host CPU at any time during operation Two registers are used to report the status of a serial channel the Line Status Register LSR and the Modem Status Register...

Page 15: ...s the last stop bit time when the following occurs Bit 5 of the LSR THRE is 1 and there is not a minimum of two bytes at the same time in the transmit FIFO since the last time THRE 1The first transmit...

Page 16: ...Divisor Latch Access bit to permit access to the two divisor latch bytes used to set the baud rate These bytes share addresses with the Receive and Transmit buffers and the Interrupt Enable Register...

Page 17: ...puters are considered DTE devices while modems are DCE devices The EIA TIA 232E interface is the fifth revision of this standard and defines an unbalanced single ended transmission standard for unidir...

Page 18: ...ver a null modem cable connection is required to connect two like configured DTE ports due to the imbalance of drivers and receivers see Drawing 4501 572 Pins 1 18 of field I O connector P2 provide co...

Page 19: ...S INPUT BUSY Pin 11 Input Line Printer Busy Active high signal from the printer that is asserted when the printer is not ready to accept more Data The state of this bit is monitored via Bit 7 of the L...

Page 20: ...o obtain parts and repair PRELIMINARY SERVICE PROCEDURE Before beginning repair be sure that all of the procedures in Section 2 Preparation For Use have been followed Also refer to the documentation o...

Page 21: ...t maximum Choose shielded or unshielded cable according to model number The unshielded cable is recommended for digital I O while the shielded cable is recommended for optimum performance with precisi...

Page 22: ...Boards Application This panel converts the high density ribbon cable connectors coming from the APC8600 carrier board Acromag cable Model 5029 900 to screw terminals for direct wired interfaces This p...

Page 23: ......

Page 24: ......

Page 25: ......

Page 26: ......

Page 27: ......

Page 28: ......

Page 29: ......

Page 30: ......

Page 31: ......

Reviews: