background image

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

- 12 -

MSR - Modem Status Register  continued

MSR BIT

FUNCTION

4

CTS - the complement of the CTS* input from the
modem indicating that the modem is ready to
receive data.  If the channel is in the loopback
mode (MCR bit 4 = 1), then the state of RTS in the
MCR is reflected

5

DSR - the complement of the DSR* input from the
modem indicating that the modem is ready to
provide received data to the serial channel receiver
circuitry.  If the channel is in the loopback mode
(see MCR bit 4 description), then the state of DTR
in the MCR is reflected

6

RI - the complement of the RI* input from the
modem.  If the channel is in the loopback mode
(see MCR bit 4 description), this bit reflects the
state of OUT1 in the MCR

7

DCD - the current status of the DCD* input from the
modem (a “1” indicates DCD* is asserted)If the
channel is in the loopback mode (see MCR bit 4
description), this bit reflects the value of OUT2 in
the MCR

An Asterisk (*) is used to indicate an active-low signal

Note that reading MSR clears the delta-modem status

indications (bits 0-3), but has no effect on the other status bits.
For the MSR & LSR registers, the setting of the status bits during
a status register read operation is inhibited (the status bit will not
be set until the trailing edge of the read)However, if the same
status condition occurs during a read operation, that status bit is
cleared on the trailing edge of the read instead of being set again

In Loopback Mode, when the modem status interrupts are

enabled, the CTS*, DSR*, RI*, and DCD* inputs are ignored.
However, a modem status interrupt can still be reflected by
writing to MCR bits 3-0 (see Loopback Mode Operation section
for details)

A power-up or system reset sets MSR bits 0-3 to 0 (bits 4-7

are determined by the corresponding input signals)

SCR - Scratch Pad/Interrupt Vector Register, Ports A & B
(R/W)

This 8-bit read/write register has no effect on the operation of

either serial channel.  It is provided as an aide to the programmer
to temporarily hold data.  Alternately, it stores the interrupt vector
for the serial port

If interrupt generation is desired, then this port is used to

store the interrupt vector for the serial port In response to an
interrupt select cycle, the IP module will execute a read of this
register for the interrupting port (see Interrupt Generation section
for more details)

LPT - Line Printer Data Register (Read/Write)

This register reads or writes the parallel 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)

If the extended mode bit is 0, then the compatibility mode is

selected and reads to the LPT register return the last data that
was written to the port, while write operations immediately output
data to the parallel data lines

If the extended mode bit is 1, then read operations return

either the last data written to the port (if the direction bit of the
LPC register is set to write/0), or the data that is present in the
port (if the direction bit is set to read/1)Write operations to this
port always latch data into the output register, but only drive the
parallel data lines when the direction bit is set to write

The following table summarizes the functionality of this port

based on the logic states of the extended mode bit and data
direction bit (bit 5 of LPC):

Extended Mode
Bit (LEM Bit 0)

Data Direction
Bit (LPC Bit 5)

Parallel Port
Function

0

X

PC/AT Mode - Output

1

0

PS/2 Mode - Output

1

1

PS/2 Mode - Input

LPS - Line Printer Status Register (Read Only)

This is a read-only status register that contains interrupt and

printer status of the line printer interface pins.  These pins are
defined as follows:

Line Printer Status Register

LPS Bit

FUNCTION

PROGRAMMING

0

Reserved

Read as 1

1

Reserved

Read as 1

2

Printer
Interrupt Status
Bit (PRINT*)

When low, indicates that the
printer has acknowledged the
previous transfer with an ACKN
handshake (if bit 4 of LPC is set
to 1)This bit is set to 0 on the
active-to-inactive transition of the
ACKN* signal.  The default value
is “1” and this bit is set to 1 after a
read of the status port

3

Error Status Bit
(ERR*)

Active low, corresponds to ERR*
input line state

4

Select Status
Bit (SLCT)

Corresponds to SLCT input line
state

5

Paper-Empty
Status Bit (PE)

Corresponds to the PE input line
state

6

Acknowledge
Status bit
(ACKN*)

Active low, corresponds to the
ACKN* input line state

7

Busy Status Bit
(BUSY*)

Active low, corresponds to the
active high BUSY input line state

An Asterisk (*) is used to indicate an active-low signal

Note that bits 0 & 1 are always high, bit 2 defaults to high,

and the state of bits 3-7 are dependent upon the printer device
inputs.  Refer to Section 40 (Theory of Operation) for a detailed
description of the Centronics port signal functions

LPC - Line-Printer Control Register (Read/Write)

This is a Line-Printer Control register (LPC) used to control

the data direction of the parallel data lines and drive the printer
control lines.  Write operations set or reset these bits, while read
operations return the state of the last write operation to this
register.  The functions of these bits are defined as follows:

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: