US4326207A - Programmable sequence controller - Google Patents

Programmable sequence controller Download PDF

Info

Publication number
US4326207A
US4326207A US06/139,760 US13976080A US4326207A US 4326207 A US4326207 A US 4326207A US 13976080 A US13976080 A US 13976080A US 4326207 A US4326207 A US 4326207A
Authority
US
United States
Prior art keywords
output
gate
input
column
sequence
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Lifetime
Application number
US06/139,760
Inventor
Hiroharu Suda
Keiji Hideshima
Kazuyoshi Asada
Masaoki Takaki
Isao Yasuda
Atsutaro Kamei
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Hitachi Ltd
Nissan Motor Co Ltd
Original Assignee
Hitachi Ltd
Nissan Motor Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Priority claimed from JP52137920A external-priority patent/JPS5952444B2/en
Application filed by Hitachi Ltd, Nissan Motor Co Ltd filed Critical Hitachi Ltd
Application granted granted Critical
Publication of US4326207A publication Critical patent/US4326207A/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B19/00Programme-control systems
    • G05B19/02Programme-control systems electric
    • G05B19/04Programme control other than numerical control, i.e. in sequence controllers or logic controllers
    • G05B19/05Programmable logic controllers, e.g. simulating logic interconnections of signals according to ladder diagrams or function charts
    • G05B19/056Programming the PLC
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B2219/00Program-control systems
    • G05B2219/10Plc systems
    • G05B2219/13Plc programming
    • G05B2219/13004Programming the plc
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B2219/00Program-control systems
    • G05B2219/10Plc systems
    • G05B2219/13Plc programming
    • G05B2219/13048Display of ladder, RLD, RLL, KOP
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B2219/00Program-control systems
    • G05B2219/10Plc systems
    • G05B2219/15Plc structure of the system
    • G05B2219/15107Linesolver, columnsolver

Definitions

  • the present invention relates to a sequence control system and in particular to a sequence control system which allows programming of a sequence with the aid of a visible image of a sequence circuit diagram.
  • a relay circuit With the sequence control, a relay circuit is set up through a combination of relay elements and is destined to make logical decisions in a sequentially repeated manner.
  • the sequence control of the old generation has been implemented in a "hard-wired" configuration.
  • the logical decisions executed heretofore by the relay circuit tend to be performed through logical computation which is primarily executed through digital processing particularly with the aid of programmable computer referred to also as a programmable logic controller (PLC).
  • PLC programmable logic controller
  • One of the advantages of digital processing is derived from the fact that a control program can be software prepared with instruction codes to thereby facilitate various sequence controls in a flexible manner.
  • Sequence Control System discloses a sequence control system of a digital logic circuit type in which a desired sequence instruction is read out from a sequence program unit and processing of the sequence is executed by an operation and control circuit.
  • a memory unit is employed for storing "ON" or "OFF" states of relay points constituted by branching points formed through interconnections of input contacts or relay contacts of output relays of a sequence circuit diagram and for additionally storing a level corresponding to the number of relay points which have been encountered before attaining a given relay point to which access is being made.
  • the prior art sequence control system needs a memory unit of a great storage capacity for storing the "ON"/"OFF" states of the relay points as well as the level described above, involving great expense and difficulties in practical implementation.
  • An object of the invention is to provide an inexpensive sequence control system which eliminates the need for storing "ON"/"OFF” states for every relay point and allows many and various sequences to be controlled easily with the aid of a visible development of a sequence relay circuit connection.
  • a grid or matrix chart is provided on a screen of a display unit such as a CRT (cathode ray tube) and a plurality of column registers are provided each for each of the column lines of the grid for storing "ON" or "OFF" states of branching points on the associated column line.
  • a PLC machine instruction is prepared and executed for a desired sequence control.
  • FIG. 1 is a block diagram showing a programmable sequence controller according to the invention.
  • FIG. 2 shows a format of a machine code or instruction employed in a sequence control system according to the invention.
  • FIG. 3 shows a grid or matrix chart which is displayed on a CRT or the like and used for preparing a sequence circuit diagram in a visible image.
  • FIG. 4 illustrates a variety of branchings of the sequence shown in FIG. 3.
  • FIG. 6 is a diagram to illustrate the processing order for preparing a sequence circuit diagram.
  • FIG. 7 is a block diagram of an operation and control unit shown in FIG. 1.
  • FIG. 8 is a table listing a systematic series of instructions used in an exemplary embodiment of the invention.
  • FIG. 9 illustrates a programmed sequence circuit diagram according to the invention.
  • FIG. 10 shows a table of a program for executing the sequence circuit diagram shown in FIG. 9.
  • FIG. 11 is an illustration of variations in contents in the column registers taking place in the course of executing the program shown in FIG. 10 through the operation and control unit of FIG. 7.
  • the sequence controller comprises four units in total, that is a main memory unit 4 for storing therein a sequence program, an operation and control unit 10 for decoding a sequence instruction and executing a relevant operation, an input unit 1 for fetching an input signal representative of a process state to be controlled and an output unit 2 for producing an output signal for controlling the process.
  • the main memory unit 4 stores therein a sequence program and sends sequence instructions to the operation and control unit 10 in a sequential manner to execute an operation in accordance with the instruction as received.
  • Data information required for the operation is supplied from the input unit 1.
  • the result of the executed operation is transferred to the output unit 2.
  • the input unit 1 supplies to the operation and control unit 10 data relative to the input location identified in a number field of an instruction format, while the output unit 2 furnishes the result of the operation to an output location designated in the number field of the instruction format.
  • the term "number field” represents the field of an instruction format from which an operand or OP field is excluded.
  • the OP field is denoted by 141 while the number field is designated by reference numeral 142.
  • the executing order of a sequence is at first from the left to the right and then from above to below, as is shown in FIG. 6.
  • the "ON" or "OFF" states of the branching points are stored in the registers provided in one-to-one correspondence with the columns.
  • the sequence is executed starting from the left common line along the first horizontal line or first row in the order of 1st column, 2nd column, . . . , 8th column in the rightward direction.
  • a sequence is executed along the second row starting from the left common line in the rightward direction.
  • a sequence is carried out along the next row in a similar manner. Thus, this process is repeated.
  • the column registers are provided in one-to-one correspondence with the individual columns as described above. Accordingly, when the branching point is encountered during execution along one and the same row, the "ON" or “OFF” state at that branching point will be stored in the column register associated with the column at which the branching point exists. Next, when the branching from the upper row is found during execution of the lower row, the "ON" or "OFF" state data stored in the associated column register during the execution of the upper row read out and utilized as the branching information from the upper row.
  • the column register When the contents of the column register as loaded during execution of the upper row have been utilized as the branching information during execution of the lower row, the column register is then cleared and can be used again for storing the "ON" or "OFF" state of the branching point encountered during execution of the lower row.
  • FIG. 8 shows a table of a systematic series of instructions for use in the exemplary embodiment of the invention now being described.
  • X represents an input point or location as designated by the number field 142
  • SQAC corresponds to SQAC 154 shown in FIG. 7 and is constituted by a one-bit flip-flop
  • Y represents an output point or location designated by the number field 142
  • R 1 represents one column register as designated by the number field 142.
  • Each of the column registers 151 may be constituted by a one-bit flip-flop and each register is provided for one of the columns or vertical grid lines on a CRT display.
  • Sign "+” indicates a logical sum (inclusive OR operation), while the sign ".” represents a logical product (AND operation). Description will be made below of nine types of instructions by referring to FIG. 8.
  • the contact instruction read out from the main memory unit 4 is stored in the instruction register 150.
  • the OP code is decoded by a decoder 155, whereby AND gate 156 is opened.
  • the input point as designated by the number field 142 is loaded through the input unit 1 and subjected to an AND operation at the AND gate 152 with SQAC.
  • the result or the logic product is stored again in SQAC 154 through AND gate 156 and OR gate 162.
  • the output instruction read out from the main memory unit 4 is stored in the instruction register 150.
  • OP code is decoded by the decoder 155 and the AND gate 153 is opened.
  • Contents of SQAC is sent to the output unit 2 through the AND gate 153 and hence to an output point or location designated by the number field 142.
  • a binary code "1" is stored in SQAC.
  • OP code 141 of this instruction read out from the main memory unit 4 is decoded to open AND gates 159 and 160.
  • Contents of SQAC 154 is stored in the i-th flip-flop constituting the column register 151 designated by the number field 142 of the instruction register 150 through the opened AND gates 159 and 160.
  • a binary code "1" is stored in SQAC flip-flop.
  • This branching instruction of No. 6 read out from the main memory unit 4 is stored in the instruction register 150.
  • OP code of this instruction is decoded by the decoder 155 to open AND gates 159 and 160.
  • the contents of SQAC 154 are transferred to the column register 151 through AND gates 159 and 160 and stored in the i-th flip-flop 154 of the column register 151 designated by the number field 142 of the instruction register 150.
  • the instruction decoded in a similar manner causes AND gates 157, 159 and 160 to be opened.
  • the contents in the column register 151 designated by the number field 142 of the instruction pass through AND gate 157.
  • the contents in SQAC 154 are supplied to OR gate 161 through AND gate 159 where the logical sum is determined from the contents of the designated column register 151 and the contents of SQAC 154.
  • the resulted logical sum is stored again in the column register 151 through AND gate 160.
  • a binary code "1" is stored in SQAC 154.
  • This instruction decoded in a simlar manner causes AND gates 157, 158, 159 and 160 to be opened.
  • the contents in the column register 151 designated by the number field 142 of the instruction pass through AND gate 157.
  • the contents of SQAC 154 pass through AND gate 159 to be inputted to OR gate 161, at which the logical sum is determined from the contents of the column register 151 and SQAC 154.
  • the result of the inclusive-or operation is stored in SQAC 154 and the column register 151 through the gates 158 and 160, respectively.
  • FIG. 9 shows an example of a sequence circuit.
  • X denotes input contacts.
  • the numbers attached to X correspond to the numbers assigned to the input points or locations.
  • Reference letter Y denotes output locations or points with attached numbers representing the identification numbers assigned or alloted to these output locations or points.
  • Reference letters R 0 to R 3 denote the positions and numbers of the column registers.
  • the branching instructions lying on the same vertical line as R 0 are intended to use the flip-flop of the 0-th column register. In the same sense, the 3rd flip-flop is used for the instructions for R 3 .
  • FIG. 10 shows a table programming the sequence circuit shown in FIG. 9. The order of programming is at first from the left to the right and then from above to below as described.
  • FIG. 11 shows a variation in the contents of various registers as brought about as the program shown in FIG. 10 is orderly executed.
  • the column registers can store effectively "ON” or "OFF” states of the individual branching points thereby to readily output the final state of the sequence circuit.
  • the invention makes it possible to prepare a relay sequence circuit diagram in an image in a facilitated manner with column registers provided in one-to-one correspondence with the columns of a grid on a display screen without the need of a great number of memory elements for storing "ON" and "OFF” states as well as potential levels of the individual branching points.
  • the invention has thus proposed an improved and inexpensive sequence processor system which is capable of preparing relay sequences as images on the screen of a CRT or the like.

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Automation & Control Theory (AREA)
  • Programmable Controllers (AREA)

Abstract

A sequence control system includes a main memory unit for storing therein a sequence program, an operation and control unit for decoding the sequence instruction and executing the designated operations, an input unit for fetching states of a process to be controlled as inputs, and an output unit for producing an output signal to control the process.

Description

This is a continuation of application Ser. No. 906,986, filed May 17, 1978, now abandoned.
BACKGROUND OF THE INVENTION
1. Field of the Invention
The present invention relates to a sequence control system and in particular to a sequence control system which allows programming of a sequence with the aid of a visible image of a sequence circuit diagram.
2. Description of the Prior Art
With the sequence control, a relay circuit is set up through a combination of relay elements and is destined to make logical decisions in a sequentially repeated manner. The sequence control of the old generation has been implemented in a "hard-wired" configuration. However, as the technologies of electronics have made significant progress lately, the logical decisions executed heretofore by the relay circuit tend to be performed through logical computation which is primarily executed through digital processing particularly with the aid of programmable computer referred to also as a programmable logic controller (PLC). One of the advantages of digital processing is derived from the fact that a control program can be software prepared with instruction codes to thereby facilitate various sequence controls in a flexible manner.
Japanese Laid-Open Patent Application No. 49-135097 laid open Dec. 26, 1974 corresponding to Koyamagi, et al., U.S. Pat. No. 3,944,987, issued Mar. 16, 1976 under the title "Sequence Control System" discloses a sequence control system of a digital logic circuit type in which a desired sequence instruction is read out from a sequence program unit and processing of the sequence is executed by an operation and control circuit. In this prior art system, a memory unit is employed for storing "ON" or "OFF" states of relay points constituted by branching points formed through interconnections of input contacts or relay contacts of output relays of a sequence circuit diagram and for additionally storing a level corresponding to the number of relay points which have been encountered before attaining a given relay point to which access is being made. With such arrangement, it is possible to process appropriately many and various sequence controls. However, the prior art sequence control system needs a memory unit of a great storage capacity for storing the "ON"/"OFF" states of the relay points as well as the level described above, involving great expense and difficulties in practical implementation.
SUMMARY OF THE INVENTION
An object of the invention is to provide an inexpensive sequence control system which eliminates the need for storing "ON"/"OFF" states for every relay point and allows many and various sequences to be controlled easily with the aid of a visible development of a sequence relay circuit connection.
According to an essential feature of the invention, a grid or matrix chart is provided on a screen of a display unit such as a CRT (cathode ray tube) and a plurality of column registers are provided each for each of the column lines of the grid for storing "ON" or "OFF" states of branching points on the associated column line. On the basis of the stored states, a PLC machine instruction is prepared and executed for a desired sequence control.
These and other objects, features and advantages of the invention will become apparent from the following description of the embodiments ot the invention when taken in conjunction with the accompany drawings.
BRIEF DESCRIPTION OF THE DRAWINGS
FIG. 1 is a block diagram showing a programmable sequence controller according to the invention.
FIG. 2 shows a format of a machine code or instruction employed in a sequence control system according to the invention.
FIG. 3 shows a grid or matrix chart which is displayed on a CRT or the like and used for preparing a sequence circuit diagram in a visible image.
FIG. 4 illustrates a variety of branchings of the sequence shown in FIG. 3.
FIG. 5 illustrates branching and connection of sequence carried out according to the teachings of the invention.
FIG. 6 is a diagram to illustrate the processing order for preparing a sequence circuit diagram.
FIG. 7 is a block diagram of an operation and control unit shown in FIG. 1.
FIG. 8 is a table listing a systematic series of instructions used in an exemplary embodiment of the invention.
FIG. 9 illustrates a programmed sequence circuit diagram according to the invention.
FIG. 10 shows a table of a program for executing the sequence circuit diagram shown in FIG. 9.
FIG. 11 is an illustration of variations in contents in the column registers taking place in the course of executing the program shown in FIG. 10 through the operation and control unit of FIG. 7.
DESCRIPTION OF THE PREFERRED EMBODIMENTS
Referring to FIG. 1 which schematically shows a general arrangement of a sequence controller apparatus according to the invention, the sequence controller comprises four units in total, that is a main memory unit 4 for storing therein a sequence program, an operation and control unit 10 for decoding a sequence instruction and executing a relevant operation, an input unit 1 for fetching an input signal representative of a process state to be controlled and an output unit 2 for producing an output signal for controlling the process.
The main memory unit 4 stores therein a sequence program and sends sequence instructions to the operation and control unit 10 in a sequential manner to execute an operation in accordance with the instruction as received. Data information required for the operation is supplied from the input unit 1. The result of the executed operation is transferred to the output unit 2. The input unit 1 supplies to the operation and control unit 10 data relative to the input location identified in a number field of an instruction format, while the output unit 2 furnishes the result of the operation to an output location designated in the number field of the instruction format. In this connection, it is intended that the term "number field" represents the field of an instruction format from which an operand or OP field is excluded. For example, in the case of the instruction format 140 of FIG. 2, the OP field is denoted by 141 while the number field is designated by reference numeral 142.
In accordance with the teachings of the invention, a grid or matrix such as shown in FIG. 3 is prepared for indication of a relay sequence, on which grid a circuit diagram is to be drawn. In FIG. 3, the leftmost vertical or column line represents a common line at a positive potential, while the rightmost vertical line represents a common line at a ground potential. Contacts and output coils are inscribed on and along the horizontal broken lines or row lines of the grid between successive vertical lines. The vertical broken lines or column lines are destined to be inscribed with branchings in the relay circuit. An example of such inscription is illustrated in FIG. 3. There are nine patterns of the branching in a circuit diagram, as is shown in FIG. 4. In the case of the illustrated embodiment, it is however assumed prescriptively that the circuit current is allowed only to flow at first in the horizontal direction from the left to the right and then in the vertically downward direction. Such order is adopted in linguistical expressions such as writing in the English language or the like, and thus is favorable to human perception. Under the above prescriptive assumption, two branching symbols, that is, a first symbol " " and a ninth symbol " " in the illustration of FIG. 4 are not actually realized. Concerning the seven remaining branches, a summarized illustration is made in FIG. 5. More particularly, in the first place, the inlet to a branching point from the left side gives an indication for connection of "ON" or "OFF" state of a left-adjacent connection to that branching point. Secondly, the inlet to a branching point from the upper side gives an indication for connection of "ON" or "OFF" state of the upper-adjacent connection to that branching point. Next, the exit (outlet) of the branching point to the right gives indication for connection of "ON" or "OFF" state of that branching point to a right-adjacent connection. Finally, the exit of the branching point gives an indication for connection of "ON" or "OFF" state of that branching point to the lower-adjacent connection. The nine kinds of branchings shown in FIG. 4 can be obtained from mere combinations of four directions of connections illustrated in FIG. 5. In a sequence controller in which branchings at the cross points or intersections between the vertical broken lines and horizontal broken lines are to be written, there are provided one-bit registers in one-to-one correspondence with the vertical broken lines or columns. In other words, the branching symbols represent that "ON" or "OFF" states at the branching points of a sequence are stored in the column registers provided in one-to-one correspondence with the columns. Accordingly, in the case of eight columns, there are provided eight column registers. External connection from a branching point is equivalent to the external connection of contents in the associated column register.
The executing order of a sequence is at first from the left to the right and then from above to below, as is shown in FIG. 6. The "ON" or "OFF" states of the branching points are stored in the registers provided in one-to-one correspondence with the columns. The sequence is executed starting from the left common line along the first horizontal line or first row in the order of 1st column, 2nd column, . . . , 8th column in the rightward direction. When the execution along the first row has been completed, then a sequence is executed along the second row starting from the left common line in the rightward direction. When the execution of a sequence along the second row is completed, a sequence is carried out along the next row in a similar manner. Thus, this process is repeated.
The column registers are provided in one-to-one correspondence with the individual columns as described above. Accordingly, when the branching point is encountered during execution along one and the same row, the "ON" or "OFF" state at that branching point will be stored in the column register associated with the column at which the branching point exists. Next, when the branching from the upper row is found during execution of the lower row, the "ON" or "OFF" state data stored in the associated column register during the execution of the upper row read out and utilized as the branching information from the upper row. When the contents of the column register as loaded during execution of the upper row have been utilized as the branching information during execution of the lower row, the column register is then cleared and can be used again for storing the "ON" or "OFF" state of the branching point encountered during execution of the lower row. This means that the same number of storage registers as the number of columns will be sufficient for the execution of sequence along any number of rows. In the case of the application illustrated in FIG. 6, provision of eight column registers is sufficient.
FIG. 7 shows an exemplary embodiment of the operation and control unit 10 shown in FIG. 1. The sequence instructions stored in the main memory unit 4 are sequentially read out to be fed to the operation and control unit 10 at which the received instruction is first stored in an instruction register 150. The instruction register 150 is divided into an instruction operand code (OP) field 141 and number field 142. The latter is connected to the input unit 1, the output unit 2 and the column registers 151. The input unit 1 sends information or data at the input location designated by the number field or stage 142 to an AND gate 152. On the other hand, the output unit 2 sends the output from an AND gate 153 to an output location designated by the number field 142.
FIG. 8 shows a table of a systematic series of instructions for use in the exemplary embodiment of the invention now being described. In the table, X represents an input point or location as designated by the number field 142, SQAC corresponds to SQAC 154 shown in FIG. 7 and is constituted by a one-bit flip-flop, Y represents an output point or location designated by the number field 142, and R1 represents one column register as designated by the number field 142. Each of the column registers 151 may be constituted by a one-bit flip-flop and each register is provided for one of the columns or vertical grid lines on a CRT display. Sign "+" indicates a logical sum (inclusive OR operation), while the sign "." represents a logical product (AND operation). Description will be made below of nine types of instructions by referring to FIG. 8.
No. 1 CONTACT INSTRUCTION:
X.SQAC→SQAC
The contact instruction read out from the main memory unit 4 is stored in the instruction register 150. The OP code is decoded by a decoder 155, whereby AND gate 156 is opened. The input point as designated by the number field 142 is loaded through the input unit 1 and subjected to an AND operation at the AND gate 152 with SQAC. The result or the logic product is stored again in SQAC 154 through AND gate 156 and OR gate 162.
No. 2 OUTPUT INSTRUCTION:
(1) SQAC→Y
(2) 1→SQAC
The output instruction read out from the main memory unit 4 is stored in the instruction register 150. OP code is decoded by the decoder 155 and the AND gate 153 is opened. Contents of SQAC is sent to the output unit 2 through the AND gate 153 and hence to an output point or location designated by the number field 142. Finally, a binary code "1" is stored in SQAC.
No. 3 BRANCHING INSTRUCTION:
Ri→SQAC
(Where i is an integer number including zero.)
In a similar manner, OP code 141 of this instruction read out from the main memory unit 4 is decoded, whereby AND gates 157 and 158 are opened. The contents in the i-th flip-flop constituting the column register 151 which is designated by the number field 142 is stored in SQAC 154 through AND gates 157 and 158.
No. 4 BRANCHING INSTRUCTION:
Ri→SQAC
Similar processing as is in the case of No. 3 instruction is carried out.
No. 5 BRANCHING INSTRUCTION:
(1) SQAC→Ri
(2) 1→SQAC
OP code 141 of this instruction read out from the main memory unit 4 is decoded to open AND gates 159 and 160. Contents of SQAC 154 is stored in the i-th flip-flop constituting the column register 151 designated by the number field 142 of the instruction register 150 through the opened AND gates 159 and 160. Finally, a binary code "1" is stored in SQAC flip-flop.
No. 6 BRANCHING INSTRUCTION
SQAC→Ri
This branching instruction of No. 6 read out from the main memory unit 4 is stored in the instruction register 150. OP code of this instruction is decoded by the decoder 155 to open AND gates 159 and 160. The contents of SQAC 154 are transferred to the column register 151 through AND gates 159 and 160 and stored in the i-th flip-flop 154 of the column register 151 designated by the number field 142 of the instruction register 150.
No. 7 BRANCHING INSTRUCTION:
(1) SQAC⊕Ri →Ri
(2) 1→SQAC
The instruction decoded in a similar manner causes AND gates 157, 159 and 160 to be opened. The contents in the column register 151 designated by the number field 142 of the instruction pass through AND gate 157. The contents in SQAC 154 are supplied to OR gate 161 through AND gate 159 where the logical sum is determined from the contents of the designated column register 151 and the contents of SQAC 154. The resulted logical sum is stored again in the column register 151 through AND gate 160. Finally, a binary code "1" is stored in SQAC 154.
No. 8 BRANCHING INSTRUCTION:
SQAC+Ri →Ri, SQAC
This instruction decoded in a simlar manner causes AND gates 157, 158, 159 and 160 to be opened. The contents in the column register 151 designated by the number field 142 of the instruction pass through AND gate 157. Concurrently, the contents of SQAC 154 pass through AND gate 159 to be inputted to OR gate 161, at which the logical sum is determined from the contents of the column register 151 and SQAC 154. The result of the inclusive-or operation is stored in SQAC 154 and the column register 151 through the gates 158 and 160, respectively.
No. 9 BRANCHING INSTRUCTION:
SQAC+Ri →Ri, SQAC
Similar operation is carried out as is in the case of the No. 8 instruction.
FIG. 9 shows an example of a sequence circuit. In this figure, X denotes input contacts. The numbers attached to X correspond to the numbers assigned to the input points or locations. Reference letter Y denotes output locations or points with attached numbers representing the identification numbers assigned or alloted to these output locations or points. Reference letters R0 to R3 denote the positions and numbers of the column registers. For example, the branching instructions lying on the same vertical line as R0 are intended to use the flip-flop of the 0-th column register. In the same sense, the 3rd flip-flop is used for the instructions for R3.
FIG. 10 shows a table programming the sequence circuit shown in FIG. 9. The order of programming is at first from the left to the right and then from above to below as described.
FIG. 11 shows a variation in the contents of various registers as brought about as the program shown in FIG. 10 is orderly executed. As will be seen from the table of FIG. 11, the column registers can store effectively "ON" or "OFF" states of the individual branching points thereby to readily output the final state of the sequence circuit.
As will be appreciated from the foregoing description, the invention makes it possible to prepare a relay sequence circuit diagram in an image in a facilitated manner with column registers provided in one-to-one correspondence with the columns of a grid on a display screen without the need of a great number of memory elements for storing "ON" and "OFF" states as well as potential levels of the individual branching points. The invention has thus proposed an improved and inexpensive sequence processor system which is capable of preparing relay sequences as images on the screen of a CRT or the like.

Claims (7)

We claim:
1. In a programmable sequence controller which is responsive to the states of a plurality of contacts for controlling one or more output elements, said sequence controller being programmable so as to simulate a circuit formed as a matrix consisting of contacts interconnected in rows, and columns forming branch points between rows of contacts, with said output elements being connected in selected rows of contacts, said matrix including a first voltage node at one marginal column, contacts or output elements between successive ones of said columns, and a second voltage node at the other marginal column, with branch points at selected crosspoints of the rows and the columns at which a signal passing from the first voltage node along the rows is branched along the corresponding column, said programmable sequence controller comprising:
input selection means for selectively providing on-off state signals indicating the operational state of selected contacts;
sequence program storage means for storing programmed sequence instructions which simulate said circuit formed as a matrix;
logical processing means connected to said input selection means and said sequence program storage means for generating an output control signal on the basis of said programmed sequence instructions and said on-off state signals, including
(1) second storage means for storing an on-off condition signal relating to the on-off condition of a crosspoint at the output of a contact including initially setting the stored value in accordance with the programmed sequence instructions,
(2) first logical operation means connected to said input selection means and said second storage means for producing said on-off condition signals by a first logical operation between the content of said second storage means and an on-off state signal from said input selection means and for storing the result of said first logical operation in said second storage means as the new content thereof in accordance with the execution of said programmed sequence instructions,
(3) a plurality of column flip-flops provided in one-to-one correspondence with each of said simulated matrix columns except for said marginal columns thereof for temporarily storing said on-off condition signals for those crosspoints at which there is a branch point in said simulated sequence circuit, and
(4) second logical operation means connected to said second storage means and said column flip-flops for producing said on-off condition signals by a second logical operation between the content of said second storage means and the on-off condition signal stored in a column flip-flop and for storing the result of said second logical operation in either said second storage means or said column flip-flops or both as new contents thereof in accordance with the execution of said programmed sequence instructions, and
(5) means for providing the result of the logical operation by said first or second logical operation means as said output control signal; and
output control means connected to said logical processing means for controlling a selected output element on the basis of said output control signal.
2. A programmable sequence controller according to claim 1, wherein said logical processing means includes an instruction register connected to said sequence program storage means for receiving programmed sequence instructions having an operation code field and an address field, and decoder means connected to receive said operation code field of said instruction register for controlling said first and second logical operation means.
3. A programmable sequence controller according to claim 2, wherein said logical processing means further includes means for applying the address field of said instruction register to said input selection means, said output control means and said plurality of column flip-flops to effect selection control thereof.
4. A programmable sequence controller according to claim 3, wherein said first logical operation means includes an AND gate having one input connected to the output of said input selection means and another input connected to the output of said second storage means, and means responsive to said decoder means for applying the output of said AND gate to the input of said second storage means.
5. A programmable sequence controller according to claim 4, wherein said second logical means includes an OR gate, means responsive to said decoder means for applying the output of said second storage means to one input of said OR gate and the output of a selected column flip-flop to another input of said OR gate, and means for applying the output of said OR gate to said selected column flip-flop and said second storage means.
6. In a programmable sequence controller which is responsive to the states of a plurality of contacts for controlling one or more output elements, said sequence controller being programmable so as to simulate a circuit formed as a matrix consisting of contacts interconnected in rows, and columns forming branch points between rows of contacts, with said output elements being connected in selected rows of contacts, said matrix including a first voltage node at one marginal column, contacts or output elements between successive ones of said columns, and a second voltage node at the other marginal column, with branch points at selected crosspoints of the rows and the columns at which a signal passing from the first voltage node along the rows is branched along the corresponding column, said programmable sequence controller comprising;
input selection means for selectively providing on-off signals indicating the operational state of selected contacts on the basis of an applied address;
sequence program storage means for storing a plurality of programmed sequence instruction, each instruction including an operation code field and a number field;
an instruction register connected to said sequence program storage means for storing instructions;
a decoder responsive to the operation code field of an instruction stored in said instruction register for generating various gate enable signals on selected ones of a plurality of outputs;
a status flip-flop having an input and an output;
a plurality of column flip-flops which are individually enabled in response to an applied address;
output selection means for providing control signals to selected ones of a plurality of output elements on the basis of an applied address;
means for applying the number field of an instruction stored in said instruction register as said applied address to said input selection means, said plurality of column flip-flops and said output selection means;
a first AND gate having an input connected to the output of said input selection means and another input connected to the output of said status flip-flop;
a second AND gate having an input connected to the output of said first AND gate and another input connected to an output of said decoder so as to be enabled by one of said gate enable signals;
a first OR gate having an input connected to the output of said second AND gate and an output connected to the input of said status flip-flop;
a third AND gate having an input connected to the outputs of said column flip-flops and another input connected to an output of said decoder so as to be enabled by one of said gate enable signals;
a second OR gate having an input connected to the output of said third AND gate;
a fourth AND gate having an input connected to the output of said second OR gate and another input connected to an output of said decoder so as to be enabled by one of said gate enable signals, and having an output connected to another input of said first OR gate;
a fifth AND gate having an input connected to the output of said status flip-flop and another input connected to an output of said decoder so as to be enabled by one of said gate enable signals, and an output connected to another input of said second OR gate;
a sixth AND gate having an input connected to the output of said second OR gate and another input connected to an output of said decoder so as to be enabled by one of said gate enable signals, and an output connected to the inputs of said column flip-flops; and
a seventh AND gate having an input connected to the output of said status flip-flop and another input connected to an output of said decoder so as to be enabled by one of said gate enable signals, and an output connected to the input of said output selection means.
7. A programmable sequence controller according to claim 6, wherein said plurality of column flip-flops are provided in one-to-one correspondence to each of said simulated matrix columns except for said marginal columns thereof for storing the on-off state of each one of said branch points in accordance with the execution of said programmed sequence instructions.
US06/139,760 1977-11-18 1980-04-14 Programmable sequence controller Expired - Lifetime US4326207A (en)

Applications Claiming Priority (3)

Application Number Priority Date Filing Date Title
JP52-137920 1977-11-18
JP52137920A JPS5952444B2 (en) 1977-11-18 1977-11-18 Sequence control device
US90698678A 1978-05-17 1978-05-17

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
US90698678A Continuation 1977-11-18 1978-05-17

Publications (1)

Publication Number Publication Date
US4326207A true US4326207A (en) 1982-04-20

Family

ID=26471079

Family Applications (1)

Application Number Title Priority Date Filing Date
US06/139,760 Expired - Lifetime US4326207A (en) 1977-11-18 1980-04-14 Programmable sequence controller

Country Status (1)

Country Link
US (1) US4326207A (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP0112427A1 (en) * 1982-12-28 1984-07-04 International Business Machines Corporation Programmable logic controller
WO1987003974A1 (en) * 1986-07-07 1987-07-02 Bbc Aktiengesellschaft Brown, Boveri & Cie. Software tool for automatic production of a logical function diagram
US5005152A (en) * 1989-04-05 1991-04-02 Allen-Bradley Company Industrial controller with decompilable user program
US5034899A (en) * 1986-07-07 1991-07-23 Bbc Brown Boveri Ag Software tool for automatically generating a functional-diagram graphic
US5237652A (en) * 1990-11-30 1993-08-17 Mcmanus Kirby L Programming system for programmable logic controller
EP0555513A2 (en) * 1992-02-13 1993-08-18 Koyo Electronics Industries Co., Ltd. Control method in programmable controller
US5392444A (en) * 1987-06-06 1995-02-21 Omron Tateisi Electronics Co. Programmable controller for completing the execution of a block of user programs within a set time period

Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US3275988A (en) * 1961-08-21 1966-09-27 Du Pont Programmed batch sequence controller
US3434115A (en) * 1966-07-15 1969-03-18 Ibm Timed operation sequence controller
US3744029A (en) * 1969-04-25 1973-07-03 Atlas Copco Ab Programmable sequential control means having a plurality of control circuits for controlling a respective plurality of discrete suboperations
US3828317A (en) * 1972-02-28 1974-08-06 Graphico Precision Works Ltd Cleaning process sequence controller
US3832696A (en) * 1972-07-31 1974-08-27 Toyoda Machine Works Ltd General purpose sequence controller
US3939453A (en) * 1974-04-29 1976-02-17 Bryant Grinder Corporation Diagnostic display for machine sequence controller
US3944987A (en) * 1973-05-07 1976-03-16 Mitsubishi Denki Kabushiki Kaisha Digital logical sequence controller
US3974484A (en) * 1975-03-31 1976-08-10 Allen-Bradley Company Programmable sequence controller
US3978454A (en) * 1974-06-20 1976-08-31 Westinghouse Electric Corporation System and method for programmable sequence control
US3996565A (en) * 1974-04-19 1976-12-07 Toyoda Koki Kabushiki Kaisha Programmable sequence controller
US4048622A (en) * 1975-09-11 1977-09-13 Toyoda-Koki Kabushiki-Kaisha Programmable sequence controller

Patent Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US3275988A (en) * 1961-08-21 1966-09-27 Du Pont Programmed batch sequence controller
US3434115A (en) * 1966-07-15 1969-03-18 Ibm Timed operation sequence controller
US3744029A (en) * 1969-04-25 1973-07-03 Atlas Copco Ab Programmable sequential control means having a plurality of control circuits for controlling a respective plurality of discrete suboperations
US3828317A (en) * 1972-02-28 1974-08-06 Graphico Precision Works Ltd Cleaning process sequence controller
US3832696A (en) * 1972-07-31 1974-08-27 Toyoda Machine Works Ltd General purpose sequence controller
US3944987A (en) * 1973-05-07 1976-03-16 Mitsubishi Denki Kabushiki Kaisha Digital logical sequence controller
US3996565A (en) * 1974-04-19 1976-12-07 Toyoda Koki Kabushiki Kaisha Programmable sequence controller
US3939453A (en) * 1974-04-29 1976-02-17 Bryant Grinder Corporation Diagnostic display for machine sequence controller
US3978454A (en) * 1974-06-20 1976-08-31 Westinghouse Electric Corporation System and method for programmable sequence control
US3974484A (en) * 1975-03-31 1976-08-10 Allen-Bradley Company Programmable sequence controller
US4048622A (en) * 1975-09-11 1977-09-13 Toyoda-Koki Kabushiki-Kaisha Programmable sequence controller

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP0112427A1 (en) * 1982-12-28 1984-07-04 International Business Machines Corporation Programmable logic controller
US4675843A (en) * 1982-12-28 1987-06-23 International Business Machines Corporation Programmable logic controller
WO1987003974A1 (en) * 1986-07-07 1987-07-02 Bbc Aktiengesellschaft Brown, Boveri & Cie. Software tool for automatic production of a logical function diagram
US5034899A (en) * 1986-07-07 1991-07-23 Bbc Brown Boveri Ag Software tool for automatically generating a functional-diagram graphic
US5392444A (en) * 1987-06-06 1995-02-21 Omron Tateisi Electronics Co. Programmable controller for completing the execution of a block of user programs within a set time period
US5005152A (en) * 1989-04-05 1991-04-02 Allen-Bradley Company Industrial controller with decompilable user program
US5237652A (en) * 1990-11-30 1993-08-17 Mcmanus Kirby L Programming system for programmable logic controller
EP0555513A2 (en) * 1992-02-13 1993-08-18 Koyo Electronics Industries Co., Ltd. Control method in programmable controller
EP0555513A3 (en) * 1992-02-13 1994-01-19 Koyo Electronics Ind Co

Similar Documents

Publication Publication Date Title
US4445169A (en) Sequence display apparatus and method
CA1213085A (en) Method and apparatus for image compression and manipulation
US4074351A (en) Variable function programmed calculator
US3988728A (en) Graphic display device
CA1104730A (en) Character graphics colour display system
JPS62264357A (en) Simulation of processor addition for parallel processor array
US4217658A (en) Process control system that controls its outputs according to the results of successive analysis of the vertical input columns of a hypothetical ladder diagram
JPS6010644B2 (en) Sequence display control method
US5357605A (en) Method and system for displaying patterns using a bitmap display
US4326207A (en) Programmable sequence controller
JP2500858B2 (en) Display system having extended raster operation circuit
US4359730A (en) Alphanumeric display controlled by microprocessor
CA2075411C (en) Gray-scale font generating apparatus
US4996653A (en) Line generation in a display system
US4695834A (en) Patterned line generator for a data processing device
US4242675A (en) Display and keyboard scanning for electronic calculation or the like
CN112416197B (en) Excel and VBA-based program single-step demonstration device and method
GB1419048A (en) Data handling system having a plurality of interrelated character generators
US4772883A (en) CRT display control system
US3939458A (en) Method for the tabulator-like illustration of symbols
US3644935A (en) Method of identifying connected regions in a large segmented pattern
US5450095A (en) Fraction display apparatus capable of displaying fractions in normal form
JPH0120748B2 (en)
GB2228597A (en) Data processor with conditional instructions
JPS5882296A (en) Dot matrix display system

Legal Events

Date Code Title Description
STCF Information on status: patent grant

Free format text: PATENTED CASE