Black Box IC183C, RS-422, RS-485 manual Why Use An Isp?

Page 8

RS-422/485 SERIAL INTERFACE PLUS, 4-PORT

2.4.2MODEM CONTROL SIGNALS

Some software packages require the use of modem handshake signals such as CTS or DCD. Refer to your application software manual to determine the requirements for modem control signals. If no requirements are mentioned, a safe configuration is to tie DTR to DSR and DCD, and tie RTS to CTS. This configuration will typically satisfy the modem control-signal requirements for most communications software.

2.4.3INTERRUPTS

A good analogy of a PC interrupt would be a phone ringing. The phone “bell” is a request for us to stop what we are currently doing and take up another task (speak to the person on the other end of the line). This is the same process the PC uses to alert the CPU that a task must be performed. The CPU, upon receiving an interrupt, makes a record of what the processor was doing at the time and stores the information in the “stack”; this allows the processor to resume its predefined duties after the interrupt is handled, exactly where it left off. Every main subsystem in the PC has its own interrupt, frequently called an IRQ (short for Interrupt ReQuest).

2.4.4 WHY USE AN ISP?

An Interrupt Status Port (ISP) is a read-only, 8-bit register that sets a corresponding bit when an interrupt is pending. Port 1 interrupt line corresponds with Bit D0 of the status port, Port 2 with D1, etc. The use of this port means that the software designer now only has to poll a single port to determine if an interrupt is pending.

The ISP is at Base+7 on each port (Example: Base=280 Hex, Status Port=287, 28F...etc.). The RS-422/485 Serial Interface Plus Card will allow any one of the available locations to be read to obtain the value in the status port. All four status ports on the Card are identical, so any one of the four can be read.

Example: This indicates that Port 2 has an interrupt pending.

Bit Position:

7

6

5

4

3

2

1

0

Value Read:

0

0

0

0

0

0

1

0

10

Image 8
Contents RS-422/485 Serial Interface Plus, 4-Port RS-422/485 Serial Interface PLUS, 4-PORT EMC Directive StatementContents RS-422/485 Serial Interface PLUS, 4-PORT Specifications Factory-Default Settings IntroductionOverview What’s IncludedTechnical Description WHY USE AN ISP? Card Setup Address SelectionSwitch OFF Jumper Selections IRQ Selection5 6 7 9 10 11 12 Interrupt ModesJ1A J2A RS-485 Enable Modes Interface Mode Examples J1D J4D Headers J1D J4D, RS-422Headers J1D J4D, RS-485 Auto Enabled, with Echo Headers J1D J4D, RS-485 RTS Enabled, with Echo Line TerminationClock Modes Name FunctionDIV1 DIV2 DIV4 13. Clocking Mode Divide By Installation Software InstallationHardware Installation Troubleshooting RS-422/485 Serial Interface PLUS, 4-PORT Appendix a Connector Pin Assignments Table A-2. DB37 Pin Assignments J1A J1B RS-485 Appendix C Electrical InterfaceRS-422 Figure D-1. Asynchronous Communications Bit Diagram Appendix D Asynchronous CommunicationsRS-422/485 Serial Interface PLUS, 4-PORT Copyright 2000. Black Box Corporation. All rights reserved
Related manuals
Manual 17 pages 33.48 Kb Manual 68 pages 25.69 Kb Manual 22 pages 44.9 Kb Manual 20 pages 11.67 Kb