background image

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

- 13 -

LPC - Line-Printer Control Register

LPC Bit

FUNCTION/PORT SIGNAL

0

STB - Printer-Strobe Control Bit
 0 = Signal Negated
 1= The Active Low Strobe Signal STB* is
 asserted on the printer interface

1

AFD - Auto-Feed Control Bit
 0 = Signal Negated
 1 = The Active Low Auto-Feed Signal AFD* is
asserted on the printer interface

2

INIT - Initialize Printer Control Bit
 0 = The Active Low INIT* is asserted on the
printer interface
 1 = Signal Negated

3

SLIN - Select Input Control Bit
 0 = Signal Negated
 1 = The Active Low SLIN* signal pin is asserted
on the printer interface

4

INTREQ EN - Interrupt Request Enable
 0 = Disables interrupts from the printer port
 1 = Enables interrupts from the printer port
whenever the ACKN* signal is released

5

DIR - Direction Control Bit (used only when the
 LEM register Extended Mode Bit is set to 1)
 1 = Disables the output buffers of the printer port,
 allowing data driven by external sources to be
 read from the port
 0 = The printer port is in the output (write) mode

6,7

Reserved (Reads as zero)

LEM - Line Printer Extended Mode Select (Read/Write)

Bit 0 of this register allows the printer enhanced mode to be

selected.  This bit drives the PEMD line of the UART and is set
low (not asserted) following a reset.  Programming this bit low
enables the connection between the Line Printer Data Register
(Write) and the parallel data lines (default mode of
operation)Setting this bit high selects the Extended Mode of
operation which allows direction control of the parallel data lines
using the direction control bit of the Line Printer Control Register
(LPC)The following table summarizes the action of the extended
mode bit and the direction control bit of the LPC register with
respect to the parallel data lines:

LEM BIT 0/PEMD

DIRECTIO
N

PARALLEL DATA LINES

L

X

PC/AT Mode - OUTPUT

H

0

PS/2 Mode - OUTPUT

H

1

PS/2 Mode - INPUT

In Extended Mode, read operations return either the last data

written to the port (if direction bit of LPC register is set to write/0),
or the data that is present in the port (if direction bit is set to
read/1)

Bits 1-7 of this register are not used and pullups on the

carrier board data bus will cause these bits to always read high.
After power-up or a system reset, this bit is cleared (bit 0 = 0) and
normal write-only operation is assumed

LIM - Line Printer Interrupt Mode Select (Read/Write)

This register allows selection of the parallel port 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
UART and is set high (not asserted) following a reset

Setting bit 0 of this register low enables the AT Mode of
interrupts.  In the AT mode, INTREQ0* will bedriven by the
ACKN* input line of the parallel port.  Setting LIM bit 0 high
selects the PS-2 Mode of interrupts (default mode)In PS-2 Mode,
INTREQ0* is driven by the PRINT* bit of the Line-Printer Status
Register (LPS bit 2)INTREQ0* is latched low on the rising edge of
the ACKN* parallel port signal.  Then INTREQ0* is held low until
the Line Printer Status Register is read, which resets the PRINT*
status bit and INTREQ0* high

LIV - Line Printer Interrupt Vector Register (R/W)

This 8-bit read/write register operates the same as the serial

port SCR register and is used to store the interrupt vector for the
parallel port.   In response to an interrupt select cycle, the IP
module will execute a read of this register for a parallel port
interrupt (see Interrupt Generation section for more details) After
power-up or a system reset, this register is cleared

IP Identification PROM - (Read Only, 32 Odd-Byte Addresses)

Each IP module contains an identification (ID) PROM that

resides in the ID space per the IP module specification.  This
area of memory contains 32 bytes of information at most.  Both
fixed and variable information may be present within the ID
PROM.  Fixed information includes the "IPAC" identifier, model
number, and manufacturer's identification codes.  Variable
information includes unique information required for the module.
The IP503 ID PROM does not contain any variable (e.g. unique
calibration) information.  ID PROM bytes are addressed using
only the odd addresses in a 64 byte block (on the “Big Endian”
VMEbus)Even addresses are used on the “Little Endian” PC bus.
The IP503 ID PROM contents are shown in Table 32Note that the
base-address for the IP module ID space (see your carrier board
instructions) must be added to the addresses shown to properly
access the ID PROM.  Execution of an ID PROM Read requires 1
wait state

Table 32: IP503 ID Space Identification (ID) PROM

Hex Offset

From ID

PROM Base

Address

ASCII

Character

Equivalen

t

Numeric

 Value

 (Hex)

Field Description

01

I

49

All IP's have

'IPAC'

03

P

50

05

A

41

07

C

43

09

A3

Acromag ID Code

0B

07

IP Model Code

1

0D

00

Not Used

(Revision)

0F

00

Reserved

11

00

Not Used (Driver

ID Low Byte)

13

00

Not Used (Driver

ID High Byte)

15

0C

Total Number of

ID PROM Bytes

17

04

CRC

19 to 3F

yy

Not Used

Notes (Table 32):
1 The IP model number is represented by a two-digit code within

the ID PROM (the IP503 model is represented by 07 Hex)

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: