1. Field of the Invention
This invention pertains generally to display devices and, more particularly, to display devices including plural communication ports. The invention also relates to display systems including a display device.
2. Background Information
The INCOM (INdustrial COMmunications) Network provides two-way communication between an INCOM network master and a variety of products such as, for example, electrical interrupting devices, circuit breakers, digital meters, motor overload relays, monitoring units and a wide range of industrial products. Control and monitoring is carried out over a network consisting of dedicated twisted pair wires. Preferably, a semi-custom integrated circuit provides a simple, low cost interface to the network. For example, a Sure Chip Plus™ microcontroller enables the electrical interrupting device to communicate with the INCOM network. This integrated circuit provides various network functions such as, for example, carrier generation and detection, data modulation/demodulation, address decoding, and generation and checking of a 5-bit cyclic redundant BCH error code.
An INCOM communication module, which may be otherwise known as a PONI “Product Operated Network Interface,” may act as an interface device between a remote personal computer PC and the electrical meter, protector or control communicating device that does not have a built-in INCOM transceiver.
The INCOM network employs a simple two-wire asynchronous communication line, which is daisy chained to the several devices. A master device digitally addresses each of the slave devices in a master/slave relationship for the purpose of gathering the data generated by the individual units for central processing. An INCOM network can have one master and up to 1000 slaves. The INCOM communications protocol is based on 33-bit message packets. A typical INCOM network transaction consists of one or more 33-bit message packets transmitted by the master, and one or more 33-bit message packets transmitted by a slave in response.
Examples of the INCOM network and protocol are disclosed in U.S. Pat. Nos. 4,644,547; 4,644,566; 4,653,073; 5,315,531; 5,548,523; 5,627,716; 5,815,364; and 6,055,145, which are incorporated by reference herein.
Any suitable computer or programmable device (e.g., with an RS-232C communications port; PC XT/AT bus) may function as an INCOM network master. An RS-232C based INCOM network master employs a gateway device such as the MINT (Master INCOM Network Translator). The gateway device converts the 10 byte ASCII encoded hexadecimal RS-232C messages to or from 33-bit binary messages used on the INCOM local area network.
An IBM XT or AT compatible personal computer alternatively employs the CONI (Computer Operated Network Interface) for interfacing to the INCOM network. The CONI employs a direct PC-bus interface, which provides a more efficient network interface than that of the MINT.
There are two basic types of INCOM messages: control messages and data messages. The messages are 33 bits in length and are sent with the Least Significant Bit (LSB) first. An INCOM chip, for example, generates a number of the bits including the Start bits, Stop bit and BCH error detection code. The format for an INCOM-control message is shown in Table 1.
The format for an INCOM-Data message is shown in Table 2.
There are two types of INCOM slave devices (products): a stand-alone slave, and an expanded mode slave. The stand-alone slave is a device on an INCOM network that can control one digital output and monitor up to two status (digital) inputs. An example of a stand-alone slave device is an addressable relay marketed by Eaton Electrical, Inc. of Pittsburgh, Pa. A stand-alone slave device uses INCOM control messages exclusively for communications.
The expanded mode slave is a device on an INCOM network that can send and/or receive data values over the INCOM network including, for example, analog and digital I/O data, configuration or setpoint information, and trip data. Examples of such devices include IQ Data Plus II Line Metering Systems, Digitrip RMS 700 and 800 Trip Units, and IQ 1000 and IQ 500 Motor Protection Systems, all marketed by Eaton Electrical, Inc. An expanded mode slave device uses INCOM control messages and INCOM data messages for communications.
There are seven examples in which an expanded mode slave product, in response to a command from the master, may send a return-command message to the master. These include: (1) Acknowledge (ACK) Reply; (2) Negative Acknowledge (NACK) Reply; (3) Product Buffer Not Yet Available; (4) Sub-network Product Not Responding; (5) Checksum Error; (6) Downloaded Value Out of Range; and (7) Product Not in a State That Allows the Requested Action.
Some INCOM commands require the product to transmit an acknowledge (ACK) message. The positive acknowledge indicates that the product accepted the present command or the data transmission was completed successfully. The format of the ACK message, ignoring the Start bits, Stop bit and BCH error detection code, includes: (1) C/D=1; (2) INST=3; (3) COMM=1; (4) ADDRESS=address of slave (some products may employ address 000H or FFFH; other products can assume any address in the 12 bit address space); and (5) SCOMM=0. The product will transmit a negative acknowledge (NACK), rather than an ACK, in response to certain conditions. The negative acknowledge indicates that the product has not accepted the COMM and SCOMM command request. The format of the NACK message, ignoring the Start bits, Stop bit and BCH error detection code, includes: (1) C/D=1; (2) INST=3; (3) COMM=1; (4) ADDRESS=address of slave (some products may employ address 000H or FFFH; other products can assume any address in the 12 bit address space); and (5) SCOMM=1.
For example, some conditions for which a product will respond with a NACK include: (1) the product received an INCOM control message that it does not recognize (e.g., an INCOM control message with INST=3, and COMM and SCOMM values that it does not support); and (2) the PONI received an INCOM control message that it cannot process due to a communications failure between the PONI and the product. Products only respond to INCOM messages containing a good BCH value.
Examples of standard master-to-slave commands for the Integrated Monitoring, Protection, And Control Communication (IMPACC) protocol are shown below, in Table 3. All of these commands employ C/D=1 and, thus, only the INST, COMM, and SCOMM specifications are provided. The words transmit and receive in the command definitions are with respect to the product. If the message is a transmit command, then the result will be the transmission of data from the product to the master. On the other hand, a receive command that is transmitted from the master to the product will be followed by data transmissions from the master, which are to be received by the product. Table 3 shows six classes of standard master-to-expanded mode slave commands.
A few examples of these communications data buffers are discussed, below. A standard data buffer includes a specification for the formatting of analog data in engineering units. For example, the IMPACC 24-Bit Floating Point Number Format permits the IMPACC family to include a number of products that send similar analog parameters (e.g., currents, voltages). Each parameter is sent as a single data transmission with the three bytes defined as follows: (1) BYTE0 is the low-order byte of 16-bit magnitude; (2) BYTE1 is the high-order byte of 16-bit magnitude; and (3) BYTE2 is the scale byte, wherein the BYTE2 bit definitions (b7-b0) are as follows: (a) for bit b7: 0 indicates that the value in BYTE0 and BYTE1 is a 16-bit unsigned integer, and 1 indicates that the value in BYTE0 and BYTE1 is a 16-bit signed integer; (b) for bit b6: 0 indicates that the data is invalid, and 1 indicates that the data is valid; (c) for bit b5: 0 indicates a multiplier as a power of 2, and 1 indicates a multiplier as a power of 10, and (d) the bits b4-b0 represent the multiplier's exponent in 5-bit signed integer form. This allows a magnitude of multiplier to range from 2−16 to 2+15 (for b5=0), or 10−16 to 10+15 (for b5=1).
Table 4 shows the Standard Expanded Mode Slave-Buffer Transmissions (for COMM=0 and SCOMM=0−F).
Table 5 shows the Buffer Numbers for the Receive Expanded Transmit Buffer Number Command (for COMM=0 and SCOMM=F).
The Transmit All Standard Buffers command definition (3 0 3 of Table 4) covers the standard buffers as defined by INST=3, COMM=0, and SCOMM=5 through A.
The Transmit Current Buffer (3 0 5 of Table 4) response consists of four data messages, each containing an IMPACC 24-bit Floating Point Number, with the current units being expressed in amperes. The four messages respectively include: (1) phase current IA; (2) phase current IB; (3) phase current IC; and (4) current IX, which is usually ground current, although for some products there is no ground current and the current IX may be either a fourth pole current or a neutral current.
The Transmit Line-to-Line Voltage Buffer (3 0 6 of Table 4) response consists of three data messages, each containing an IMPACC 24-bit Floating Point number, with the voltage units being expressed in volts. The three messages respectively include: (1) line-to-line voltage VAB; (2) line-to-line voltage VBC; and (3) line-to-line voltage VCA.
The Transmit Line-to-Neutral Voltage Buffer (3 0 7 of Table 4) response consists of three data messages, each containing an IMPACC 24-bit Floating Point number, with voltage units being expressed in volts. The three messages respectively include: (1) line-to-neutral voltage VAN; (2) line-to-neutral voltage VBN; and (3) line-to-neutral voltage VCN.
The Transmit Expanded Buffer (3 0 F of Table 4) command allows for the use of additional standard responses beyond those covered by INST=3, COMM=0, and SCOMM=3 to E. The Expanded Buffer command consists of the following communications sequence. First, the Master sends the Slave a Transmit Expanded Buffer Number command. Second, the Slave responds with an ACK. Next, the Master sends the Slave a single data message containing the expanded buffer number. Finally, the Slave sends the requested buffer as a series of data messages. The first byte, BYTE0, of the first data message specifies the total number data messages (e.g., up to about 43) to be sent. The expanded buffer number, N, is sent as a 24 bit binary number.
For example, for the Currents Buffer (N=3), there are seven data messages including: (1) Number of additional messages (BYTE0=6); (2) Phase A current; (3) Phase B current; (4) Phase C current; (5) Ground current; (6) Neutral current; and (7) Average phase current.
Although it is known to request, receive and display information from a plurality of slave devices at a host device, there exists a need for user interaction with a different display and for locally or manually requested display information.
Accordingly, there is room for improvement in display devices and in display systems including a display device.
These needs and others are met by the present invention, which provides a local or user display, separate from a host device, that allows a user to view information from one or more slave devices on a second communication network with minimal disruption of host device/slave device communications originating from a first communication network.
In accordance with one aspect of the invention, a display device comprises: a first communication port adapted to communicate with a host device; a second communication port adapted to communicate with a plurality of slave devices; a processor circuit including a processor, an interface to the first and second communication ports, an output device and an input device; and a communication routine cooperating with the processor circuit, the communication routine including a first mode of operation and a second mode of operation, the first mode of operation adapted to receive a first message from the host device to the first communication port and to repeat the first message from the second communication port to a first one of the slave devices, and adapted to receive a second message from the first one of the slave devices to the second communication port and to repeat the second message from the second communication port to the host device, the second mode of operation adapted to interrupt the first mode of operation, to send at least one third message from the second communication port to a second one of the slave devices, to receive at least one fourth message including information from the second one of the slave devices to the second communication port, and to output the information to the output device.
The slave devices may include a plurality of types. The communication routine may further be adapted to send a request from the second communication port to each of the slave devices, and to receive a response from each of the slave devices to the second communication port, the response defining one of the types for a corresponding one of the slave devices.
Each of the slave devices may include an address associated with the second communication port. The request may include the address of a corresponding one of the slave devices. The response may include the type of the corresponding one of the slave devices. The processor circuit may further include a memory storing the address and the type of the corresponding one of the slave devices.
The communication routine may further be adapted to periodically send the at least one third message, to periodically receive the at least one fourth message, and to periodically output the information to the output device.
The communication routine may further be adapted to determine if no message has been received from the host device to the first communication port for a predetermined time before disabling the first mode of operation and enabling the second mode of operation.
The communication routine may further be adapted to determine if a predetermined message has been received from the host device to the first communication port before disabling the first mode of operation and enabling the second mode of operation.
The communication routine may further be adapted to disable the second mode of operation and enable the first mode of operation after one of the at least one fourth message has been received from the second one of the slave devices to the second communication port.
The communication routine may further be adapted to disable the second mode of operation and enable the first mode of operation after no message has been received from the second one of the slave devices to the second communication port after a predetermined time.
The at least one third message may include a plurality of third messages. The at least one fourth message may include a plurality of fourth messages. The communication routine may further be adapted to disable the first mode of operation and enable the second mode of operation before sending one of the third messages from the second communication port to the second one of the slave devices and to disable the second mode of operation and enable the first mode of operation after one of the fourth messages has been received from the second one of the slave devices to the second communication port.
The communication routine may further be adapted to output the information for all of the fourth messages to the output device after all of the fourth messages are received from the second one of the slave devices to the second communication port.
As another aspect of the invention, a display system comprises: a host device; a first communication network; a plurality of slave devices; a second communication network; and a display device comprising: a first communication port communicating with the host device over the first communication network, a second communication port communicating with the slave devices over the second communication network, a processor circuit including a processor, an interface to the first and second communication ports, an output device and an input device, and a communication routine cooperating with the processor circuit, the communication routine including a first mode of operation and a second mode of operation, the first mode of operation receiving a first message from the host device to the first communication port and repeating the first message from the second communication port to a first one of the slave devices, and receiving a second message from the first one of the slave devices to the second communication port and repeating the second message from the second communication port to the host device, the second mode of operation interrupting the first mode of operation, sending at least one third message from the second communication port to a second one of the slave devices, receiving at least one fourth message including information from the second one of the slave devices to the second communication port, and outputting the information to the output device.
A full understanding of the invention can be gained from the following description of the preferred embodiments when read in conjunction with the accompanying drawings in which:
The present invention is described in association with INCOM communication networks, although the invention is applicable to a wide range of communication ports, networks and systems.
Referring to
The processor circuit 18 also includes a memory 28 and a power supply 30. Preferably, the processor circuit 18 further includes a watchdog timer circuit 32, which “wakes up” the processor 20 if it detects an extended period of processor inactivity.
The memory 28 includes a communication routine 34 cooperating with the processor circuit 18. As will be discussed in greater detail, below, in connection with
The second mode of operation of the communication routine 34 interrupts the first mode of operation, sends one or more third messages 44 from the second communication port 16 to one of the slave devices 8, receives one or more fourth messages 46 including information 48 from such one of the slave devices 8 to the second communication port 16, and outputs such information 48, as information 50, to the output device 24. In this manner, during the second mode of operation (e.g., interleave mode), the messages between the display device 12 and the slave devices 8 are interleaved between the messages between the host device 4 and the slave devices 8.
The first and second communication ports 14,16 may be INCOM communication ports.
The host device 4 may be an INCOM host device. The first communication port 14 may include an INCOM transceiver 52 adapted to communicate with the INCOM host device 4. Here, the interface 22 to the first and second communication ports 14,16 is a dual serial-to-parallel/parallel-to-serial decoder. Alternatively, a separate processor interface (not shown) may be provided for each of the first and second communication ports 14,16.
The slave devices 8 may be INCOM slave devices. The second communication network 10 may be an INCOM communication network. The second communication port 16 may include an INCOM transceiver 54 adapted to communicate with the INCOM slave devices 8 on the INCOM communication network 10. The INCOM slave devices 8 have addresses unique to the display device 12 and to the host device 4. For example, the slave addresses may be in the range of 1 through FFH (1 through 255).
The slave devices 8 may include a circuit breaker 56, a motor overload relay 58 and a digital meter 60. Alternatively, any suitable electronic device adapted to respond to a suitable host device on a suitable communication network may be employed.
Each of the slave devices 8 may include an address 62 (e.g., #1, #2, #3, #n) associated with the second communication port 16. The message 44 may be a request including the address 62 of a corresponding one of the slave devices 8. The message 46 may be a response including the information 48, which, in this example, identifies the type (e.g., type of circuit breaker; type of motor overload relay; type of digital meter) of the corresponding one of the slave devices 8. Also, in this example, the communication routine 34 stores the address and the type of the corresponding one of the slave devices 8 in the processor circuit memory 28.
As a refinement of Example 5, as will be discussed below in connection with
The first messages 36,38 from the host device 4 may include one of a plurality of commands (e.g., as were discussed, above, in connection with Tables 3-5) operatively associated with the slave devices 8. The second messages 40,42 from the corresponding one of the slave devices 8 may include a response to the first messages 36,38.
As is shown in
As is shown in
Continuing to refer to
The functions of the display device 12 of
The display device 12 provides views of slave device information from the monitor menu 76 of
Preferably, the configure menu selections 84,86,88 are password-protected. A default password (e.g., 00000) may be saved in the non-volatile memory 28 (
Referring to
As shown in
For example, in
As shown with reference to
In the example of
In the example of
Referring to
After the password is properly entered for the auto learn function 84, a warning screen (not shown) may be displayed. This warning screen alerts the user to the fact that communications between the host device 4 and the slave devices 8 of
The auto learn function 84 may operate to append addresses of new slave devices 8 to the non-volatile memory 28 of
The delete a device function 86 of
The user may return to the previous screen at any time by pressing the menu button 62.
The modify a device function 88 applies and changes labels, such as 98 (
If step 122 determines that the user selected the monitor function 80, then at 130, the active device list of the monitor menu 76 of
If step 124 determines that the user selected the configure function 82 (
Referring to
The host transmit (Tx) buffer (HT) 179 of the memory 28 of
Referring to
Next, at 190, it is determined if the corresponding one of the slave devices 8 did not timely respond to the message sent at step 188. For example, a suitable timer (not shown) (e.g., about 40 ms) is started at 188 and is checked at 190. If the slave device response did not time out, then, at 192, it is determined if there was a response from the corresponding one of the slave devices 8 by checking the corresponding portion of the SR buffer 173 of the memory 28. If there was no slave device response, then step 190 is repeated. On the other hand, if there was a slave response, then, at 194, the interleave mode is reset and the pass-through mode is set. Next, at 196, it is determined if any additional ones of the one or more third messages 44 need to be sent from the ST 135 in the memory 28 of
On the other hand, if there was a slave device response timeout at 190, then, at 200, the interleave mode is reset and the pass-through mode is set. Finally, after either 198 or 200, at 202, it is determined if the menu button 62 of
The interleave mode permits both the host device 4 and the display device 12 on the first communication network 6 to communicate with one or more of the slave devices 8 on the second communication network 10 of
In the pass-through mode of operation, the display device 12 operates as a simple repeater. Messages received from the first communication network 6 are re-transmitted on the second (slave sub-network) communication network 10 without interpretation. Alternately, messages transmitted from a slave device are re-transmitted to the host device 4. This is the default mode of operation for the display device 12.
In the interleave mode of operation, the user may request and view data on the display device 12 from a supported one of the slave devices 8 while operating in unison with the host device 4. The display device 12 accomplishes this by interleaving messages 44,46 between host messages 38 to one of the slave devices 8.
The rules for entering the interleave mode of operation are as follows: (1) the user enters a request for information from the keyboard 26 of the display device 12; (2) the display device 12 monitors activity on the first and second communication ports 14,16; and (3) the display device 12 enters the interleave mode if one of the following conditions is met: (a) 100 ms of dead time is observed on both communications ports 14,16, or (b) the host device 4 issues a “300” command to address “0”. After the display device 12 has entered the interleave mode, this mode will remain in effect until a response is received from the corresponding slave device 8 or a slave device timeout occurs.
An interleave session may include one or more interleaved messages since a request for information may issue one or more corresponding messages. Interleaving is performed on a per message basis until all responsive messages are received from the corresponding slave device 8. Each message first passes the interleaving rules before the interleave mode is entered. This allows the host device 4 to maintain control of the second communication network 10 until it has completed its communications session before the display device 12 gains control of the second communication network 10. This is done to reduce the probability of receiver timeout errors at the host device 4 while it is gathering data from one of the slave devices 8. The display device 12 acquires and displays information from the slave devices 8 (e.g., up to 100) on the second communication network 10 without the need for the host device 4. Information is viewed at the display device 12 while sharing the second communication network 10 with the host device 4. Information acquired by the display device 12 during the interleave mode is not re-transmitted or shared with the host device 4.
Since the display device 12 functions in a transparent fashion, it does not require an operating address and is not directly issued commands from the host device 4. All messages received by the display device 12 on the first communication network 6 are re-transmitted to the slave devices 8 on the second communication network 10 during pass-through mode. Alternately, all messages received on the second communication network 10 are re-transmitted on the first communication network 6 during pass-through mode. Except as was discussed above in connection with step 184 of
The interleave mode allows the user to view information from one of the slave devices 8 on the second communication network 10 with minimal disruption of host/slave device communications. After the response is received from the corresponding slave device 8, which response satisfies the original request, the display device 12 returns to pass-through mode until the next interleave session. This sequence continues until reset by the operator or by timeout due to operator inactivity. The host device 4 may need to retry following its initial transmission while the display device 12 completes its current transmission sequence.
Non-limiting examples of the slave devices 8 of
IQ Energy Sentry II devices, for example, are assigned a unique, non-zero address that may be recognized by the display device 12 through the auto learn function 84 (
For example, for the monitor menu 76 of
Table 6, below, lists example buffers supported by the display device 12 for certain of the slave devices 8.
While for clarity of disclosure reference has been made herein to the exemplary display 24 for displaying slave device information 50, it will be appreciated that such information may be stored, printed on hard copy, be computer modified, or be combined with other data. All such processing shall be deemed to fall within the terms “display” or “displaying” as employed herein.
While specific embodiments of the invention have been described in detail, it will be appreciated by those skilled in the art that various modifications and alternatives to those details could be developed in light of the overall teachings of the disclosure. Accordingly, the particular arrangements disclosed are meant to be illustrative only and not limiting as to the scope of the invention which is to be given the full breadth of the claims appended and any and all equivalents thereof.