Executing downloaded user programs in a programmable controller
First Claim
1. In a programmable controller, a method of operating an I/O module for controlling machine interface outputs which, during operation, are connected to I/O devices on controlled equipment, the machine interface outputs being controlled in response to signals received through a plurality of machine interface inputs which, during operation, are connected to I/O devices on controlled equipment, the method comprising:
- executing a first group of instructions within the I/O module to control the logic state of a machine interface output on the I/O module, said logic state being controlled in response to logic states sensed for the signals from machine interface inputs on the I/O module;
receiving a second group of instructions within a memory in the I/O module, said second group of instructions being received from a processor-based program node, and said second group of instructions including an output instruction for controlling the logic state of the machine interface output in response to logic states sensed for the signals from the machine interface inputs; and
translating said output instruction in said second group of instructions within the I/O module into a form for execution with said first group of instructions within the I/O module for controlling the logic state of the machine interface output on the I/O module in response to logic states sensed for the signals from the machine interface inputs on the I/O module.
0 Assignments
0 Petitions
Accused Products
Abstract
A program in a higher-level language for a programmable controller is stored as a hex-coded file in a memory in a main processor unit. The file is downloaded to a processor-based I/O logic module that translates the program into a multi-table data structure for relating the state of output devices on controlled equipment to the state of input devices on the equipment. After translation, an I/O control routine of lower-level, machine-language processor instructions is executed every 500 microseconds to control the output devices in response to changing conditions at the input devices and in response to the output functions embedded in the data structure as a result of translating the downloaded program. In a first embodiment the higher-level language is of the ladder-diagram type, while in a second embodiment the higher-level language incorporates state transition logic.
58 Citations
30 Claims
-
1. In a programmable controller, a method of operating an I/O module for controlling machine interface outputs which, during operation, are connected to I/O devices on controlled equipment, the machine interface outputs being controlled in response to signals received through a plurality of machine interface inputs which, during operation, are connected to I/O devices on controlled equipment, the method comprising:
-
executing a first group of instructions within the I/O module to control the logic state of a machine interface output on the I/O module, said logic state being controlled in response to logic states sensed for the signals from machine interface inputs on the I/O module; receiving a second group of instructions within a memory in the I/O module, said second group of instructions being received from a processor-based program node, and said second group of instructions including an output instruction for controlling the logic state of the machine interface output in response to logic states sensed for the signals from the machine interface inputs; and translating said output instruction in said second group of instructions within the I/O module into a form for execution with said first group of instructions within the I/O module for controlling the logic state of the machine interface output on the I/O module in response to logic states sensed for the signals from the machine interface inputs on the I/O module. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8)
-
-
9. In a programmable controller, a method of operating an I/O module for controlling machine interface outputs which, during operation, are connected to I/O devices on controlled equipment, wherein the machine interface outputs are controlled in response to signals received from a plurality of machine interface inputs which, during operation, are connected to I/O devices on controlled equipment, the method comprising:
-
receiving a file of higher-level instructions within a I/O module, said file of higher-level instructions being received from a processor-based program node, and said file of higher-level instructions including an output instruction for executing an output function and for controlling a machine interface output according to the output function; translating said file of higher-level instructions to a data structure which, according to the output function, relates a logic state for the machine interface output to logic states sensed for signals received through the plurality of machine interface inputs; and after translating said file of higher-level instructions, executing an I/O control routine of lower-level instructions for controlling the logic state of the machine interface output in response to logic state sensed from signals from the inputs and according to the relationship established in said data structure during the translating step. - View Dependent Claims (10, 11, 12, 13, 14, 15, 16, 17, 18, 19)
-
-
20. An I/O module with machine interface inputs and machine interface outputs for connection to I/O devices on controlled equipment and with means for connection to a controller processor through a communication link, the I/O module comprising:
-
means on the I/O module for receiving a program downloaded from the controller processor, the program including output instructions for determining logic states of the machine interface outputs in response to logic states of the machine interface inputs on the I/O module; storage means on the I/O module for storing the program received from the controller processor; means on the I/O module coupling said means for receiving to said storage means for communicating said program to said storage means; means on the I/O module coupled to the storage means for executing the output instructions in the program to control the logic states of the machine interface outputs on the I/O module in response to the logic states of the machine interface inputs on the I/O module to complete a control loop through the machine interface inputs to the machine interface outputs of the I/O module. - View Dependent Claims (21, 22, 23, 24, 25, 26, 27, 28, 29, 30)
-
Specification