Interface for industrial controller network card
First Claim
1. An interface for a network card that is replaceably attached to an industrial controller to transmit messages sent from the industrial controller to a network and to receive messages from the network for the industrial controller, the interface comprising:
- a first and second buffer;
a valid buffer register holding a value indicating the first or second buffer;
a consumer access register holding a value indicating the first or second buffer, or when cleared neither of the first nor second buffers;
an electronic computer executing a stored program to;
(a) prior to reading one of the first and second buffers;
(i) copy a value of the valid buffer register to the consumer access register;
(ii) confirm that the value of the consumer access register equals the value of the valid buffer register;
(b) upon confirmation, read a buffer indicated by the consumer access register; and
(c) upon completion of the reading, clear the consumer access register.
1 Assignment
0 Petitions
Accused Products
Abstract
An interface between a network communication card and an industrial controller allows rapid asynchronous buffering using two buffers and two associated registers for each data direction. A reading of the buffers is proceeded by an attempt to copy from the write designation register to the read designation register checking the equality of the register values and then reading from the buffer designated by their common value. Conclusion of the reading sets the write destination register to zero. Writing of the buffers is proceeded by a checking of the read designation register for zero value and then writing to other than the last buffer indicated by the write designation register. If the read designation register is non-zero, then the writing occurs to the opposite buffer of that in the read designation register. The write designation register is then updated to indicate the buffer written to.
-
Citations
11 Claims
-
1. An interface for a network card that is replaceably attached to an industrial controller to transmit messages sent from the industrial controller to a network and to receive messages from the network for the industrial controller, the interface comprising:
-
a first and second buffer;
a valid buffer register holding a value indicating the first or second buffer;
a consumer access register holding a value indicating the first or second buffer, or when cleared neither of the first nor second buffers;
an electronic computer executing a stored program to;
(a) prior to reading one of the first and second buffers;
(i) copy a value of the valid buffer register to the consumer access register;
(ii) confirm that the value of the consumer access register equals the value of the valid buffer register;
(b) upon confirmation, read a buffer indicated by the consumer access register; and
(c) upon completion of the reading, clear the consumer access register. - View Dependent Claims (2, 3, 4, 5, 9)
(d) prior to reading one of the first and second buffers;
(i) copying a value of the valid buffer register to the consumer access register;
(ii) confirming that the value of the consumer access register equals the value of the valid buffer register;
(e) reading a buffer indicated by the consumer access register; and
(f) upon completion of the reading, clearing the consumer access register.
-
-
6. A interface for a network card that is replaceably attached to an industrial controller to transmit messages sent from the industrial controller to the network and to receive messages from the network for the industrial controller, the interface comprising:
-
a first and second buffer;
a valid buffer register holding a value indicating the first or second buffer;
a consumer access register holding a value indicating the first or second buffer, or when cleared, neither of the first nor second buffers;
an electronic computer executing a stored program to;
(a) prior to a writing to one of the first and second buffers, read the consumer access register;
(b) when the consumer access register indicates a reading of one of the first and second buffers;
(i) write the value of the consumer access register to the valid buffer register (ii) write to a buffer that is not indicated by the consumer access register;
(iii) write the value of the written buffer in the valid buffer register upon completion of writing;
(c) when the consumer access register indicates neither of the first and second buffers, (i) read the valid buffer register;
(ii) write to a buffer that is not indicated by the valid buffer register; and
(iii) write a value of the written buffer in the valid buffer register upon completion of the writing. - View Dependent Claims (7, 8)
-
-
10. A method of interfacing a network card to a host industrial controller, the interface communicating messages sent from the industrial controller to the network and receiving messages from the network for the industrial controller, the interface further including:
-
a first and second buffer;
a valid buffer register holding a value indicating the first or second buffer;
a consumer access register holding a value indicating the first or second buffer, or when cleared neither of the first nor second buffers, and an electronic computer communicating with the first and second;
the method comprising operating the electronic computer to perform the steps of (a) prior to reading one of the first and second buffers;
(i) copy a value of the valid buffer register to the consumer access register;
(ii) confirm that the value of the consumer access register equals the value of the valid buffer register;
(b) read a buffer indicated by the consumer access register; and
(c) upon completion of the reading, clear the consumer access register;
(d) prior to a writing to one of the first and second buffers read the consumer access register;
(e) when the consumer access register indicates one of the first and second buffers;
(i) write the value of the consumer access register to the valid buffer register (ii) write to a buffer that is not indicated by the consumer access register;
(iii) write the value of the written buffer in the valid buffer register;
(f) when the consumer access register indicates neither of the first and second buffers, (i) read the valid buffer register;
(ii) write to a buffer that is not indicated by the valid buffer register; and
(iii) write a value of the written buffer in the valid buffer register. - View Dependent Claims (11)
(d) prior to reading one of the first and second buffers;
(i) copying a value of the valid buffer register to the consumer access register;
(ii) confirming that the value of the consumer access register equals the value of the valid buffer register;
(e) reading a buffer indicated by the consumer access register; and
(f) upon completion of the reading, clearing the consumer access register.
-
Specification