Ovation 1C31169G01 Скачать руководство пользователя страница 17

2-4. Interface Connections

U3-1021

2-10

 2/99

Westinghouse Proprietary Class 2C

Figure 2-4. Terminal Block RS-485/RS-422 Four-Wire Serial Interface (1C31169G02)

(Non-CE Mark)

Com
RES
RX+
RX-

RES
TX+
TX-

SH

Earth GND

Com
RES
RX+
RX-

RES
TX+
TX-

SH

Earth GND

Remote Shield Grounding

Local Shield Grounding

Base Unit Terminal Block

Base Unit Terminal Block

Third Party Device

Third Party Device

Add jumper if parallel
termination resistor is desired.

Add jumper if parallel
termination resistor is desired.

Com

TX+
TX-

RX+
RX-

Com

TX+
TX-

RX+
RX-

Содержание 1C31169G01

Страница 1: ...erface Connections 2 6 2 4 1 Terminal Block Wiring Information 2 6 2 4 2 Applications Port Terminal Block Field Connections 2 9 2 4 3 Applications Port J2 Field Connections 2 14 2 4 4 Generic Cabling...

Страница 2: ...mming and Operation 4 1 Section Overview 4 1 4 2 LC Programming Approach 4 2 4 2 1 Application Programming for the LC Module 4 3 4 3 Application Notes 4 7 Appendix A Link Controller Programming Exampl...

Страница 3: ...n I O module consists of an electronics module and a personality module These modules are plug in components with built in fault tolerance and diagnostics They are able by combining different personal...

Страница 4: ...6 7 8 1 2 3 4 5 6 7 8 1 2 3 4 5 6 7 8 1 2 3 4 5 6 7 8 IOIC Cards 1 and 2 Controller Controller Power Supply Power Supply Power Distribution Module Two modules per base Terminator ROP Panel Note Trans...

Страница 5: ...r COM2 serial port see Section 2 The LC processor is similar to an IBM compatible personal computer and uses a modified IBM PC Basic Input Output System BIOS and the DOS operating system Because the L...

Страница 6: ...e provides information about the hardware and the wiring used to provide communication between an Ovation Controller and a third party device via the Link Controller module Section 3 Link Controller I...

Страница 7: ...140 Ovation Record Types Reference Manual Discusses Ovation process points and record fields R3 1150 Ovation I O Reference Manual Provides information about all the Ovation I O modules U3 1000 Plannin...

Страница 8: ...ller module which consists of three parts refer to Figure 2 1 Base Unit containing the field terminations Electronics Module Personality Module 2 2 1 Base Unit The base unit containing two terminal bl...

Страница 9: ...must be less than 10 meters 32 8 ft Group Two Personality Module Group Two 1C31169G02 provides for an RS 485 RS 422 four wire full duplex serial link J1 Port is an RS 232 Programming Port which is us...

Страница 10: ...o configure the Electronics module fits into the base unit beside the appropriate Electronics module Note that the Personality module is installed in the base unit first Then the Electronics module is...

Страница 11: ...8 9 10 11 12 13 14 15 16 17 18 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 A B C P C E I 1 2 3 4 5 6 7 8 DIN Rail Module Base Connectors DIN Rail Mounting Sc...

Страница 12: ...connector OR 1C31169G02 RS 485 RS 422 signal levels four wire link RS 485 RS 422 transmitter receiver Resistor terminations are user selectable Applications serial port baud rate 300 600 1200 2400 48...

Страница 13: ...rminal block in the base unit The following table lists and defines the abbreviations used in the diagram Abbreviation Definition BAU Programming port baud rate select jumper BT Link Controller boot u...

Страница 14: ...s 2C SH Applications port cable assembly shield connection for remotely grounded shields for non CE Mark certified systems TX RS 232 Transmit Data Output TX RS 485 RS 422 Transmit Data Output TX RS 48...

Страница 15: ...SEL and BAU 4 For RS 485 RS 422 four wire applications connect a wire jumper for the following A To use a transmitter termination resistor connect a jumper between RES B14 and TX B15 B To use a recei...

Страница 16: ...Connections Non CE Mark Certified Systems Figure 2 3 Terminal Block RS 232 Interface 1C31169G01 Non CE Mark Com RI CTS DSR RTS RX DCD TX DTR SH Earth GND Com RI CTS DSR RTS RX DCD TX DTR SH Earth GND...

Страница 17: ...CE Mark Com RES RX RX RES TX TX SH Earth GND Com RES RX RX RES TX TX SH Earth GND Remote Shield Grounding Local Shield Grounding Base Unit Terminal Block Base Unit Terminal Block Third Party Device T...

Страница 18: ...Base Unit Terminal Block Base Unit Terminal Block Third Party Device Third Party Device Add jumper if parallel termination resistor is desired Add jumper if parallel termination resistor is desired C...

Страница 19: ...nal Block RS 232 Interface 1C31169G01 CE Mark Com RI CTS DSR RTS RX DCD TX DTR SH Earth GND Local Grounding Base Unit Terminal Block Third Party Device All field wiring must be braid shielded and grou...

Страница 20: ...2 CE Mark Com RES RX RX RES TX TX SH Earth GND Local Shield Base Unit Terminal Block Third Party Device Add jumper if parallel termination resistor is desired Com TX TX RX RX Grounding All field wirin...

Страница 21: ...DSR RTS RX DCD TX DTR Local Grounding J2 Applications Port Third Party Device Note If the Personality module s J2 RS 232 Applications port DB9 connector is used in place of the base unit terminal blo...

Страница 22: ...Interface Pin Number Signal Name Function Signal Direction 1 DCD Data Carrier Detect Input 2 RX Receive Data Input 3 TX Transmit Data Output 4 DTR Data Terminal Ready Output 5 Com Isolated Common 6 DS...

Страница 23: ...ort DB9 connector is used in place of the base unit terminal block only local shield grounding may be implemented The cable assembly metal hood must be in electrical contact with the cable s shield If...

Страница 24: ...prietary Class 2C Table 2 3 Pin Assignments for J2 Applications Port RS 485 RS 422 Four Wire Interface Pin Number Signal Name Function Signal Direction 1 RX Input 2 RX Input 3 TX Output 4 TX Output 5...

Страница 25: ...S 232 Applications port DB9 connector is used in place of the base unit terminal block only local shield grounding may be implemented The cable assembly metal hood must NOT be in electrical contact wi...

Страница 26: ...Interface Pin Number Signal Name Function Signal Direction 1 DCD Data Carrier Detect Input 2 RX Receive Data Input 3 TX Transmit Data Output 4 DTR Data Terminal Ready Output 5 Com Isolated Common 6 DS...

Страница 27: ...ng may be implemented The cable assembly metal hood must NOT be in electrical contact with the cable s shield If parallel termination resistors are desired jumpers must be added to the terminal block...

Страница 28: ...prietary Class 2C Table 2 5 Pin Assignments for J2 Applications Port RS 485 RS 422 Four Wire Interface Pin Number Signal Name Function Signal Direction 1 RX Input 2 RX Input 3 TX Output 4 TX Output 5...

Страница 29: ...l or signal pair is connected to the transmit of the other device Generic RS 232 and RS 485 RS 422 cables are shown in Figure 2 12 and Figure 2 13 Many manufacturers use DB 9 or DB 25 connectors for t...

Страница 30: ...9 Pin Female J2 Applications Port D Connector at G02 Other Device Personality Module RXD 1 RXD 2 GND 5 Signal Name Pin Number Signal Name TXD TXD GND RTS RTS CTs 1 Use loopbacks only if needed by dev...

Страница 31: ...s pairs The RS 485 RS 422 Group 2 personality module includes terminating resistors which can be placed across each signal pair by jumpering the base unit terminal block between B14 and B15 for transm...

Страница 32: ...pically these jumpers are not used since DOS is installed on the LC module at the factory However if the module s RAM disk becomes corrupted the jumpers must be installed so that the module can be rel...

Страница 33: ...terface to the LC module must meet the following requirements Must be an IBM compatible computer Must have a DOS 5 0 Operating System or have a DOS 5 0 bootable floppy available Must be equipped with...

Страница 34: ...al Flash memory by either removing the module from the Base Unit and then replacing it or by using the key sequence Control Shift Delete at an external Personal Computer which has already established...

Страница 35: ...Connections U3 1021 2 28 2 99 Westinghouse Proprietary Class 2C Figure 2 14 Connection Between Link Controller Module and Personal Computer Ovation I O Cabinet LC Module J1 Port in Personal Computer C...

Страница 36: ...Grounding J1 Programming Port IBM Compatible PC COM1 or COM2 Notes 1 For the Personality module s J1 Programming port only local shield grounding may be implemented The cable assembly metal hood must...

Страница 37: ...2 30 2 99 Westinghouse Proprietary Class 2C Table 2 7 Pin Assignments for J1 Interface Pin Number Signal Name Function Signal Direction 1 2 RX Receive Data Input 3 TX Transmit Data Output 4 5 Com Log...

Страница 38: ...for reporting point specific fault information and optionally as an expansion configuration register Address word 15 F in Hex is used for the module Electronic ID information This location and its us...

Страница 39: ...yield an Attention status Bits 2 in the status register is reset if the internal application program is not present or is not operating properly It is set if an internal application program is present...

Страница 40: ...t 1 of the internal Electronics module Board Control register I Red Internal Fault LED Lit whenever the Force Error bit Bit 1 of the Configuration Register is active or when a timeout of the I O bus w...

Страница 41: ...an external personal computer RLCFLASH EXE provided on disk RLC10A Backs up the Link Controller s RAM disk to flash non volatile memory RLCEXTPC EXE provided on disk RLC20A The external Personal Compu...

Страница 42: ...al programming or any later action requiring keyboard CRT I O a serial port J1 on the LC is linked to the external personal computer s COM1 or COM2 port In this configuration code generated on the ext...

Страница 43: ...he LC module does not have DOS 5 0 installed on it or its RAM memory has become corrupted use Procedure 2 described in Section 3 3 2 to initialize the LC module It is recommended that all LC initializ...

Страница 44: ...e configuration files 5 Run RLCEXTPC EXE from Drive A using the command line syntax shown below A RLCEXTPC EXE port baud where port COM1 or COM2 default COM1 baud 9600 or 19200 default 19200 with no j...

Страница 45: ...is completed all LEDs except P and C should be off The 640 Kbytes of user RAM will be tested The amount tested will be displayed on the external personal computer If the test encounters an error LED 1...

Страница 46: ...RLCFLASH EXE program at this time If this is not done then the data on the LC internal disk will be lost 11 To auto start the application reboot the LC by removing it from the Base Unit and then repl...

Страница 47: ...e following files to Drive C on the PC RLCFLASH EXE program on RLC10A disk RLCEXTPC EXE program on RLC 20A disk Any applicable LC executable programs Any applicable configuration files 2 Place the LC...

Страница 48: ...pplicable configuration files 6 Install the following jumper in the Base Unit terminal block of the LC module in order to communicate with the external PC and to boot from the external PC disk Wire ju...

Страница 49: ...owing command line specifies that the LC is linked to COM1 and that the baud rate is 19200 A RLCEXTPC EXE COM1 19200 If the port and baud rate are not specified the default values will apply port COM1...

Страница 50: ...ed will be displayed on the external personal computer If the test encounters an error LED 1 will be lit and an error message will be written to the external personal computer The LC will now enter it...

Страница 51: ...C internal disk will be lost 16 At this time remove the wire jumper between C7 and C8 on the LC Base Unit terminal block This tells the LC to boot from the internal disk Reboot the LC by removing it f...

Страница 52: ...ing of the LC is highly application dependent However in order to design an effective LC application the user must be aware of how the LC communicates through the Ovation I O Bus OIOB This section pro...

Страница 53: ...in OIOB accessible dual port RAM or read data placed in dual port RAM by the OIOB Create the Controller application program to place the OIOB information into Ovation process points or write point da...

Страница 54: ...gorithms see Ovation Algorithms Reference Manual R3 1100 For information on Ovation point record types and fields see Ovation Record Types Reference Manual R3 1140 For general information on Controlle...

Страница 55: ...ion between the register numbers and memory addresses Figure 4 4 illustrates the correlation between the buffers and memory addresses Figure 4 3 Registers Numbers and Memory Addresses LC Algorithms Re...

Страница 56: ...ponding LC Dual Port Memory Address A0000H A0200H A0E00H A0800H A0A00H A0C00H 0 1 7 4 5 6 A0400H 2 A0600H 3 First 6 words of each buffer are reserved each buffer can hold up to 500 bytes of data Buffe...

Страница 57: ...LC static RAM starting at a user specified register Each digital point occupies one data register equivalent to the 1W record field SLCDOUT writes up to 16 digital point values to an LC or redundant p...

Страница 58: ...include this command in the module s AUTOEXEC BAT file This variable informs the application program that no floating point chip is installed 4 When the LC is linked to the external personal computer...

Страница 59: ...by the user application All other I O addresses are reserved for Westinghouse use 10 The LC incorporates a watchdog timer which can be used by the application if desired The timer will time out after...

Страница 60: ...tary Class 2C Figure 4 5 LC Memory Map Starting Address Ending Address 640 KBYTES SRAM DUAL PORT RAM FLASH MEMORY WINDOW HIGH SRAM NOT USED RESERVED 9FFFFH A3FFFH A7FFFH ABFFFH EFFFFH FFFFFH A0000H A4...

Страница 61: ...ED 6 1 lit 0 not lit Bit 6 LED 7 1 lit 0 not lit Bit 7 LED 8 1 lit 0 not lit Board Option Register Read only 0A00H 8 bits Bit 0 BOOT_SELECT 1 Boot up the LC from internal Flash memory 0 Boot up the LC...

Страница 62: ...en detected by application program 1 External error has been detected by application program Bit 2 Not used Bit 3 Not used Note Bit 4 PWRUPRDY is cleared upon module power up and should remain in that...

Страница 63: ...8 bits Data does not matter see Application Note 10 Notes 1 When using the LC module status values equivalent to the board status register bits with the exception of bit 5 are available to the Contro...

Страница 64: ...his appendix contains example application programs for the LC These examples written in C language illustrate the following Functions used to transfer values to and from the Ovation IO Bus OIOB regist...

Страница 65: ...et_fm0 int reg int far base int far 0xa0000000 return reg base store integer value format 0 in OIOB register void str_fm0 int reg int value int far base int far 0xa0000000 reg base value get real valu...

Страница 66: ...gister void str_fm2 int reg format2 value int far base int far 0xa0000000 format2 reg base value set LED state void lc_led char status outp 0x980 status read LC status int lc_stat return inp 0x0a00 wr...

Страница 67: ...f struct int status float ireal format2 real with status int get_fm0 int reg void str_fm0 int reg int value get integer value store integer value float get_fm1 int reg void str_fm1 int reg float value...

Страница 68: ...integer real or real with status from a specified OIOB access register Display the LC status register value Set the LC status LEDs to a specified hexadecimal value To use this program the external pe...

Страница 69: ...Real with status in Controller Buffer Area n printf 6 Retrieve Real with status from Controller Buffer Area n printf 7 Read LC Status Register n printf 8 Write to LC LED Register n printf 0 EXIT n pr...

Страница 70: ...R TO RETRIEVE REAL scanf d reg data1 get_fm1 reg printf n Real in reg d is f n n reg data1 break case 5 printf ENTER REGISTER NUMBER STATUS REAL VALUE reg 0xhex value scanf d x f reg data2 status data...

Страница 71: ...ietary Class 2C case 7 status lc_stat printf nLC Status register value is 02x n n status break case 8 printf nENTER STATUS TO DISPLAY ON LEDs hex scanf x status lc_led status printf n break printf n n...

Страница 72: ...31 CPU_EXT ERR 4 11 CPU_INT ERR 4 11 D Diagnostic LEDs 2 33 E Electronic ID 2 31 Electronics module 2 1 G generic cabling 2 23 groups 2 2 H hardware configuration memory 4 9 OIOB interface 4 3 I init...

Страница 73: ...3 7 RLCFLASH EXE 3 3 3 7 ROP Transition Panel 1 2 RS 232 wiring 2 9 2 12 2 14 2 18 2 22 RS 422 wiring 2 13 2 16 2 20 2 23 RS 485 wiring 2 13 2 16 2 20 2 23 S SLC algorithms 4 4 SLCAIN algorithm 4 6 SL...

Отзывы: