background image

SERIES IOS-521 I/O SERVER MODULE                            EIA/TIA-422B SERIAL COMMUNICATION MODULE 
__________________________________________________________________________________________

 

- 9 - 

signal.  The four modem control inputs (CTS, DSR, DCD, and RI) 
are disconnected from their receiver input paths.  In addition, the 
four modem control outputs (DTR, RTS, OUT1, and OUT2) do 
not have transmitter output paths. 

 
Bit-

3 of this register must be set to a logic “1” to enable 

the corresponding port to issue an interrupt.

 

 

Modem Control Register 

MCR Bit 

FUNCTION 

PROGRAMMING 

Data Terminal 
Ready Output 
Signal (DTR) 

0= DTR* Not Asserted (Inactive) 
1= DTR* Asserted (Active) 
A DTR signal path is NOT 
SUPPORTED by this model.  
Instead, this output is used to 
enable the receiver of the port 
RxD.  

Ready to Send 
Output Signal 
(RTS) 

0 = RTS* Not Asserted (Inactive) 
1 = RTS* Asserted (Active) 
A RTS signal path is NOT 
SUPPORTED by this model.  
Instead, the output is used to 
enable the transmitter of the port 
TxD. 

Not Used 

No Effect on External Operation 

Port Interrupt 
Disable/Enable 

0 = Interrupt Disabled for this  
      port. 
1 = Interrupt Enabled for this 
      port. 

Loop-back

1

 

0 = Loop-back Disabled 
1 = Loop-back Enabled 

5

2

 

Xon Control 

0 = Disable Xon 
1 = Enable any Xon function.  In 
this mode any RX character 
received will enable Xon. 

6

2

 

Not Used 

Must be logic 0 

7

2

 

Divide by Four 

0 = Divide by one. The crystal 
frequency is unchanged. 
1 = Divide by four.  After the 
crystal frequency is divided by 16 
it is further divided by 4 (see 
Table 3.2). 

 

Notes (Modem 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 1 state), and the UART receiver serial data 
input is disconnected from the RxD receiver path.  The 
output of the UART transmitter shift register is then looped 
back into the receiver shift register input.  The control output 
(RTS) is internally connected to the control input DSR (while 
its associated pin is forced to its high/inactive state).  Thus, 
in the loopback diagnostic mode, transmitted data is 
immediately received, permitting the host processor to verify 
the transmit and receive data paths of the selected serial 
channel.  In this mode, interrupts are generated by 
controlling the state of the four lower order MCR bits 
internally, instead of by the external hardware paths.  
However, no interrupt requests or interrupt vectors are 
actually served in loopback mode, and interrupt pending 
status is only reflected internally. 

2.   Bits 5-7 are only programmable when the EFR bit 4 is set to 

“1”.  The programmed values for these bits are latched when 

EFR bit 4 is cleared, preventing existing software from 
inadvertently overwriting the extended functions.  However, 
these MCR bits can not be set if the LCR is set to BF hex. 

 

A power-up or system reset sets all MCR bits to 0. 

 

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Содержание IOS-521 Series

Страница 1: ...G INCORPORATED Tel 248 295 0310 30765 South Wixom Road Fax 248 624 9234 P O BOX 437 Wixom MI 48393 7037 U S A solutions acromag com Copyright 2009 2011 Acromag Inc Printed in the USA Data and specific...

Страница 2: ...pecially 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 and Acromag that this i...

Страница 3: ...ver Modules installed on Acromag Industrial I O Server systems This software Model IOSSW DEV WIN consists of a low level driver and Windows 32 Dynamic Link Libraries DLLS that are compatible with a nu...

Страница 4: ...nd which is typically common to safety chassis ground when mounted on a carrier board and inserted in a backplane As such be careful not to attach signal ground to safety ground via any device connect...

Страница 5: ...1 R W Xoff 2 High Byte BF Hex 0E 11 1F Not Driven1 Port B Registers Organized as Port A3 10 1E 21 2F Not Driven1 Port C Registers Organized as Port A3 20 2E 31 3F Not Driven1 Port D Registers Organize...

Страница 6: ...lag in the LSR register will be set to a logic 1 when at least one FIFO location is available DLL DLM Divisor Latch Registers Ports A H R W The Divisor Latch Registers form the divisor used by the int...

Страница 7: ...ansitions from a logic 0 to a logic 1 RTS is not output by this module Instead RTS is used to enable the transmitter of the port This interrupt should always be disabled 71 0 Disable CTS Interrupt 1 E...

Страница 8: ...register control the format of the data character as follows Line Control Register LCR Bit FUNCTION PROGRAMMING 1 0 Word Length Sel 0 0 5 Data Bits 0 1 6 Data Bits 1 0 7 Data Bits 1 1 8 Data Bits 2 S...

Страница 9: ...ne The crystal frequency is unchanged 1 Divide by four After the crystal frequency is divided by 16 it is further divided by 4 see Table 3 2 Notes Modem Control Register 1 MCR Bit 4 provides a local l...

Страница 10: ...f the FIFO Line Status Register continued LSR Bit FUNCTION PROGRAMMING 4 Break Interrupt BI 0 No Break 1 Break the received data input has been held in the space logic 0 state for more then a full wor...

Страница 11: ...1 IOS module The EXAR UART maintains compatibility with the industry standard 16C554 654 and 68C554 654 UARTs and provides new features to enhance serial communication operation The new features provi...

Страница 12: ...nformation includes unique information required for the module The IOS 521 ID Space does not contain any variable e g unique calibration information ID Space bytes are addressed using only the even ad...

Страница 13: ...ive FIFO s simply hold characters and the Line Status Register must be read to determine the channel status FIFO Polled Mode Resetting all Interrupt Enable Register IER bits to 0 with FIFO Control Reg...

Страница 14: ...H then port A in a last serviced last out fashion Priority continues to shift in the same fashion if Port B or Port C was the last interrupt serviced This is useful in preventing continuous interrupt...

Страница 15: ...s the first step to enable the receiver line status interrupt Note bit 3 of the MCR must also be set to logic 1 to enable interrupts The line status interrupt is used to signal error cases such as par...

Страница 16: ...gic 1 by a negative voltage The line receivers convert these signals to the conventional TTL level associations EIA TIA 422B BINARY 0 SPACE OFF BINARY 1 MARK ON SIGNAL A to B to Positive Differential...

Страница 17: ...serted An Asterisk is used to indicate an active low signal IOS 521 OPERATION Connection to each serial port is provided through connector P2 refer to Table 2 1 These pins are tied to the inputs and o...

Страница 18: ...ake adequate measures UART EXAR XR16C654 RS422 RS485 PORTS Channel Configuration Eight independent non isolated EIA TIA 422B serial ports with a common signal return connection Data Rate 921 6K bits s...

Страница 19: ...COMMON GND IOS 521 BLOCK DIAGRAM T T T B R R R R I O RS 422B INTERFACE RxD RS 422 485 DRIVERS RECEIVERS RxD TxD PORT I O CONTROL BUS ADDRESS BUS 5V CONTROL LOGIC SUPPLY FILTERING NOTE TERMINATION RES...

Страница 20: ...TE OF THE TxD RxD DATA PAIRS ARE HIGH ON TxD RxD THIS CORRESPONDS TO A MARK 1 ON THE DATA LINE NOTES CONCERNING RESISTOR PLACEMENT AND REMOVAL FOR RT AND RB 4 THE TxD LINE SOURCED FROMA PORT CAN BE PE...

Страница 21: ...PORT C RxD H TERMINATION TxD C TERMINATION RxD C TERMINATION 120 OHM 120 OHM 120 OHM PORT E TxD E TERMINATION PORT H PORT E RxD E TERMINATION TxD H TERMINATION 120 OHM 120 OHM 120 OHM PORT B RxD B TER...

Отзывы: