CA1314599C - System for the input and/or output of signals of a digital control system - Google Patents
System for the input and/or output of signals of a digital control systemInfo
- Publication number
- CA1314599C CA1314599C CA000550520A CA550520A CA1314599C CA 1314599 C CA1314599 C CA 1314599C CA 000550520 A CA000550520 A CA 000550520A CA 550520 A CA550520 A CA 550520A CA 1314599 C CA1314599 C CA 1314599C
- Authority
- CA
- Canada
- Prior art keywords
- output
- input
- circuit
- signals
- control unit
- 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 - Fee Related
Links
Classifications
-
- G—PHYSICS
- G05—CONTROLLING; REGULATING
- G05B—CONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
- G05B19/00—Programme-control systems
- G05B19/02—Programme-control systems electric
- G05B19/04—Programme control other than numerical control, i.e. in sequence controllers or logic controllers
- G05B19/042—Programme control other than numerical control, i.e. in sequence controllers or logic controllers using digital processors
- G05B19/0423—Input/output
-
- G—PHYSICS
- G05—CONTROLLING; REGULATING
- G05B—CONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
- G05B2219/00—Program-control systems
- G05B2219/20—Pc systems
- G05B2219/21—Pc I-O input output
- G05B2219/21166—Output state, over resistance, coupled back to input to monitor output
Landscapes
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Engineering & Computer Science (AREA)
- Automation & Control Theory (AREA)
- Programmable Controllers (AREA)
- Accessory Devices And Overall Control Thereof (AREA)
- Arrangements For Transmission Of Measured Signals (AREA)
- Bus Control (AREA)
- Small-Scale Networks (AREA)
- Safety Devices In Control Systems (AREA)
Abstract
ABSTRACT
In a system for the output of signals of a digital control system, particularly for a printing press, to peripheral units, in which the peripheral units are connected via a bus system, output registers and output stages to a control unit, the contents of the output registers and the output signals of the output stages can be interrogated separately. Input registers provided for the interrogation of the output signals can be used also as input circuits for signals from peripheral units.
In a system for the output of signals of a digital control system, particularly for a printing press, to peripheral units, in which the peripheral units are connected via a bus system, output registers and output stages to a control unit, the contents of the output registers and the output signals of the output stages can be interrogated separately. Input registers provided for the interrogation of the output signals can be used also as input circuits for signals from peripheral units.
Description
. `,~ 31~599 Heidelberqer_Druckmaschinen Aktienqesell~schaft System for the input and/or output of si~nals of a diaital control system The invention relates to a system for the output of signals of a digital control system to peripheral units, in which the peripheral units are connected via a bus system, output registers and output stages to a control unit.
The invention relates further to a system for the input and/or output of signals of a digital control system from and~or to peripheral units, in which the output side of an input circuit and the input side of an output circuit are connected to a control unit and in which the input and/or output circuits are monitored.
The control of machines and installations with the aid of digital control functions frequently also includes functions in which errors can lead to considerable material damage or even to risks to persons.
Particularly in the case of complex structures, therefore, very great demands are placed on the reliability of individual system components. It is necessary, therefore, at switch-on or during the operation of an installation to realize an error diagnosis in order quickly to detect errors and to bring them under control with regard to safety.
Monitoring is necessary, particularly in the area of the peripheral units and interfaces.
A-509 - 2 - ~314~99 These demands apply particularly to systems for the control of printing presses, since, in this case, firstly, the number of sensors and actuators is very high and their operation has to be adapted to the specific requirements. Secondly, personnel trained in the field of electronics is frequently not available for the operation of printing presses.
The object of the present invention is to permit such monitoring in a reliable manner and to keep the associated outlay as small as possible. In this connection, the system according to the invention is to have a high degree of flexibility.
The system according to the invention is characterized in that the contents of the output registers and the output signals of the output stages can be interrogated separately.
Thanks to the measures according to the invention, it is possible not only to monitor the output circuits, but also to detect errors in the peripheral units, such as indicator lamps, electro-mechanical actuators, relays or switches. Furthermore, fault messages can be output if faults occur in the wiring. Thus, the invention contributes towards considerably increasing the proportion of errors within the overall system, for example a printing press or its digital control system, that can be detected by a corresponding monitoring program or error-diagnosis program.
A--509 - 3 131~ ~ 9 9 In this connection, provision may be made such that the output signals of the output stages can be interrogated via different addresses as the contents of the output registers or such that the output signals of the output stages can be interrogated via different data lines as the contents of the output registers.
In advantageous manner, the system according to the invention may be further developed in that in each case a number of output registers conforming to the width of the bus system are grouped together to form an output circuit.
Another further development of the invention consists in that the outputs of output stages are each formed by a transistor, the collector of which, apart from the peripheral unit, does not have any further load resistance.
.
In larger installations in which, for example, several machines with digital control systems are connected together, it may be necessary for the outputs of the digital control system to be adapted to sensors or loads that, with their connection facing away from the output of the digital control system, are connected either to frame potential or to an operating voltage.
A further development of the invention that is advantageous in this respect provides that the outputs o each output stage are formed by two transistors, said transistors being connected in series and being able to be driven in such a manner that in each case one, the other or both transistors are in a non-conducting state.
A-50 9 - 4 ~ 5 9 9 In order to detect short circuits, the system according to the invention may be further developed such that the output stages comprise apparatuses for measuring the output current.
In a particularly advantageous embodiment of the invention, outputs may be used also as inputs, without this requiring a modification to the circuitry as such. For this purpose, an input circuit for several parallel signals is provided, the inputs of which are connected to the outputs of the output stages. Since, usually, the loads or sensors operate at higher voltages than can be withstood by the digital modules, a further embodiment provides for the input circuit to be preceded by an adapter circuit.
In order to prevent incorrect inputs as a result of contact bounce or possible pulse noise, it is also possible within the framework of the invention for a digital filter to be disposed between the adapater circuit and the input circuit.
Another further development of the invention consists in that the outputs of the output stages are designed as inputs/outputs, each of the inputs/outputs being individually definable as an input or output through the activation via the output circuit and through the nature of the peripheral unit connected. This makes it possible for inputs/outputs of the system to be occupied entirely as desired with loads or sensors, adaptation being performed merely by suitable programming.
~3~9~
In another further development of the invention, the peripheral units each have two connections, and in each case one connection is connected to an input/output of the system and the other connection is connected to a reference potential (operating voltage or frame~ wherein the reference potential is supplied to a further input of the adapter circuit for control. Thus, the adapter circuit is able to receive signals coming from sensors whose connections facing away from the adapter circuit are in contact with frame potential, or from sensors in which this connection is connected to an operating voltage.
Similar flexibility is achieved in the case of loads in that if output stages of two series-connected transistors are used, the respective output stage is controlled as a function of the reference potential in such a way that that transistor is driven whose connection facing away from the output is subjected to a voltage different from the reference potential.
In a further embodiment of the invention, the input circuit and the digital filter can be checked in that test signals can be connected to the inputs of the input circuit by the control unit via a test-pattern register and the output signals of the input circuit are compared in the control unit with the test signals. These measures may be applied advantageously when the inputs/outputs are used as either inputs or outputs.
A-509 - 6 - ~3~5~9 In this connection, it is particularly advantageous that the input circuit and the test-pattern register are each provided for several parallel signals, said signals forming a multi-bit data word, and a test pattern is formed in that, consecutively, the individual bits assume after a first value a second value and then again the first value. This "pushing-through" of a bit that differs from the preceding and following bits makes it possible in advantageous manner for errors to be reported even when two of the eight parallel channels of the digital filter or of the input circuit are connected together by a defect.
Advantageous further developments and improvements of the system disclosed in the main claim are possible by means of the measures enumerated in the fur~her subclaims.
In this connection, it is particularly advantageous if the input circuit comprises means for the comparison of consecutive values for each bit, said means being connected to a circuit for triggering an interrupt of the program run.
A further embodiment of the invention provides that the output circuit comprises gates, said gates making it possible for the signals supplied to be linked with pulse signals. To cause particular attention, indicator lamps which perform safety functions are frequently operated in an intermittent mode, with A-509 ~ 3 14 ~ 9 ~
the result that the indicator lamps flash. This may be done in simple manner by means of suitable commands in the computer program, which, firstly, has the disadvantage that, if several lamps are arranged on a control panel, the different timing with which the computer switches the lamps on and off results in a confusing picture. Secondly, apparatuses of the control unit and of the data bus are used repeatedly during flashing.
The aforementioned embodiment of the invention eliminates these disadvantages. An advantageous version of this embodiment consists in that a multiplexer is provided ~or setting the division ratio for each parallel signal, said multiplexer as a function of control signals supplied to it connecting one of several outputs of a frequency divider to a gate in the output circuit, and in that the control signals are supplied from a control-word register, said control-word register being connected on the input side to the control unit. Thus, for each of the indicator lamps connected, once or each time a signal is transmitted to cause the energization of the indicator lamp, a corresponding control signal can be entered into the input and/or output system according to the invention, said signal containing whether the indicator lamp in question is to flash and, if necessary, at what frequency.
Particularly for multi-computer systems in which one computer drives some bits in the output circuit but is not to change the values of the other bits which have been previously specified by another computer, another further development of the invention provides that the output circuit contains apparatuses for reading by the control unit of the values stored in the output circuit.
A-509 - ~ -~3145~9 So that error messages and, if necessary, also results of test operations in general can be reported as quickly as possible to the control unit, a further embodiment of the invention provides that a circuit is provided in the control unit for triggering an interrupt of the program run, the inputs of said circuit being able to be supplied with several parallel signals from the input circuit and with current-measuring signals from output stages.
In this connection, individual signals supplied to the inpu~s may be disabled as a function of the contents of a control-word register~ This makes it possible, by suitable programming, for individual signals representing error messages, which would thus trigger an interrupt, not to lead to the triggerinq of an interrupt, but to be evaluated only when interrogated by the program via the data bus of the control unit.
To prevent malfunctions through contact bounce and through possible pulse noise, a further embodiment of the invention provides that an adapter circuit and a digital filter, each for several parallel signals, are provided between the inputs connected to the 111 peripheral units and an input circuit for several 11 parallel signals.
Specimen embodiments of the invention are shown in the drawings with reference to several figures and are e~plained in yreater detail in the following description.
A-509 1 31~ ~ 9 9 Fig. 1 shows a block diagram of a system for input and/or output;
Fig. 2 shows an output circuit;
Fig. 3 shows a pulse frequency divider;
Fig. 4 shows two specimen embodiments of an output stage and of an adapter circuit;
Fig. 5 shows a further specimen embodiment of an adapter circuit;
Fig. 6 shows a digital filter;
Fig. 7 shows an input circuit with interrupt if the input signal changes;
Fig. 8 shows an interrupt-triggering circuit; and Fig. 9 shows a third specimen embodiment of an adapter circuit.
The circuits shown in Fig. 2 to 9 form the most important components of the system as detailed in Fig. 1. The circuits are in each case designed for eight parallel signals. With few exc~ptions, Fig. 2 to 9 show merely switching operations for one of the eight parallel signals. Identical components in the figures are provided with identical reference numbers.
Fig. 1 shows the block diagram of an input/output system according to the invention which is part of a A-509 - ]0 -~314~99 digital control system. The digital control syste~
may comprise more than one of the input/output systems shown in Fig. 1, one or more microprocessors as well as memories and other components. To describe the invention, of the other components of the digital control system, only a data bus 1 and a control unit 2 are shown.
Connected to the data bus 1 are an output circuit 3, an input circuit 4, a control-word register 5, a circuit 6 for triggering an interrupt of the program run and a test-pattern register 7. These units are also connected to the control unit 2 via control lines, of which only one is indicated in each case in Fig. 1. It is also possible to provide an address and control bus for the thus transmitted signals. In the specimen embodiment, the units 3 to 7 and the data ¦~
bus 1 are each designed for a width of 8 bits. , , i Supplied via the data bus 1 to an output circuit 3 are i!
signals which are finally to be sent to loads 21, 22 via an input/output 8. Individual bits of the eight-bit-wide input/output 8 can be set by program as an input or output. In larger systems, however, it will be preferable to operate one or more of the circuits shown in Fig. 1 as output circuits and others as input circuits.
With regard to the control of machines and plants, the loads 21, 22 that are to be connected to the inputs/outputs will primarily be indicator lamps and magnetically operated actuators. With such machines and plants, it has proved advantageous to show ~¦
particularly important signals by the flashing of - lt - 131~99 indieator la~ps. The flashing of several indicator lamps, ~hich are eontrolled by a mieroprocessor, results, however, in a very eonfusing pieture, since the timing of the flashing of all indieator lamps varies depending on the program.
For this reason, in a further development of the invention, provided in the output circuit 3 is a linking of the signals with flashing signals that can be generated separately for each bit of the data word supplied to the output circuit 3. For this purpose, a control word is supplied via the data bus 1 to a control-word register 5, said control word indicating, among other things, which bits o~ the data word to be sent via the output circuit 3 are to flash. In this connection, it is also possible for various bits to flash at different frequencies. Further details in this regard will be explained later in conjunction with Fig. 2 and 3.
The output signals of the output circuit 3 are sent to an eight-bit output-stage circuit 9, further detalls of which are described in conjunction with Fig. 4.
The output-stage circuit 9 is short-circuit-proof and is provided with a circuit for measuring the output eurrent. The outputs of the output-stage circuit 9 form the input/output 8. If a predetermined output current is exceeded, a circuit 6 for triggering an interrupt of the program (interrupt triggering) is activated via detector 90 associated with resistor 89 and any signal outputted to data line 10. The circuit 6 is conneeted via a line 11 directly to the eontrol unit 2 of the digital eontrol system, where the program currently being executed is interrupted in order to change over to an error-diagnosis program.
From the input/output 8, Olltput signals and/or input signals from sensors, for example limit switches or emergency-stop switches, said signals having to be monitored, are sent to an adapter circuit 12. The primary task of this circuit is to adapt the levels of the input signals, which may have been sent over long lines, to the level of the digital system, for example TTL. In this connection, it is possible, to a certain extent, for noise interference superimposed by threshold-value characteristics to be suppressed and, through the use of differential amplifiers, for signals that have been transmitted symmetrically on two lines from the sensor to the adapter circuit 12 to be further-transmitted on one line.
;
Furthermore, an embodiment of the adapter circuit 12 has a special feature which consists in that a ;
reference potential is supplied to it. Connected to this reference potential are the terminals of the sensors facing away from the inputs/outputs 8.
Depending on whether this reference potential corresponds to the operating voltage of, for example, !, +24 V or to the frame potential, such an adaptation ~
takes place in the adapter circuit 12 that, at the ¦
outputs of the adapter circuit 12, the same logic level is always assigned to a predetermined circuit state of the sensor.
The output signals from the adapter circuit 12 are supplied to a digital filter 13, which suppresses signals that are so short that they cannot be "genuine" signals from a sensor. To adapt the digital filter 13 to the respective sensor, both the frequency of the clock signal and also the number of clock ,1 1314~99 pulses for filtering are controlled. Once again, control is effected via the control-word register 5, which, firstly, provides the number of clock pulses and, secondly, supplies a di~ider value to a frequency divider 1~.
The signals that have passed the digital filter 13 are supplied via the input circuit 4 to the bus system 1 and to the interrupt-triggering ciruit 6. To monitor the digital filter 13 and the input circuit 4, signals representing a test pattern are supplied from the bus system 1 via a test-pattern register 7 to the input of the digital filter 13.
If the system is used for output, the signals that are to be sent on to the loads ~1, 22 are each sent as one bit of an eight-bit word via the bus system 1, the output circuit 3 and the output-stage circuit 9 to the output. Some of them are pulsed, for which purpose .
the necessary pulses are supplied to the output circuit 3 via the control-word register 5 and a pulse frequency divider 15. If a load is off, 24 V is applied to the corresponding terminal of the input/output 8, while, with the load on, 0 V is applied. This information is supplied via the adapter circuit 12 and the digital filter 13 to the input circuit 4, from where it can be interrogated, when desired, by the control unit via the bus system 1, so that it is possible to monitor regularly whether the desired ~olta~es are present at the input/output 8.
~-509 - 14 -~31~99 Errors which, for e~ample, are caused by the output circuit 3, the output-stage circuit 9 or by the load in question, are detected. To ensure that a corresponding error indication or other suitable measures are not effected only when the input circuit 4 is interrogated within the course of the normal operation of the program, the input circuit 4 is connected to the interrupt-triggering circuit 6. In addition, there is a direct report from the output-stage circuit 9 if a short circuit, i.e. an excessively high output current, is taken from one of the output stages.
In addition, the digital filter 13 and the input circuit 4 are checked regularly - for example whenever the control system is started up - by the connection l of a test pattern to the inputs of the digital filter ¦
13. Thus, i~ the input~output system is operated as an output, it is possible to differentiate whether, in j I
the case of an error occurring in the loop formed by , the output circuit 3, the output-stage circuit 9, the 1l ~;
adapter circuit 12, the digital filter 13 and the input circuit 4, it is the path for the output signals and/or the path for the input signals that is defective.
To operate the system shown in Fig. 1 as an input, sensors, preferably switches, are connected to the terminals of the input/output 8. No output signals are supplied via the output circuit 3, and the input signals from the sensors are, as already described in conjunction with the checking of the output signals, supplied via the adapater circuit 12, the digital filter 13 and the input circuit 4 to the bus system 1.
A--509 -- 15 - ~3~
In the following, the operating principle of the system shown in Fig. 1 is explained with reference to the details presented in Fig. 2 to 8. The output of signals, the further transmission of input signals, the checking of the system as well as the triggering of an interrupt are described in the following individual sections.
Output of signals From the control unit 2, eight signals are sent in parallel via the data bus 1 to the output circuit 3 for the driving of eight loads. Only two of the eight loads are shown, namely a bulb 21 and a relay winding 22. Shown in Fig. 2 is merely one of eight parallel channels of the output circuit 3. The data inputs D
of two registers 31, 32 are connected to the data bus 1 via the connection 33 ~Fig. 1). Via further inputs 34, 35, signals CSl and CS2 are supplied from the control unit; these signals can be used, for one data word in each case, to energize the registers 31 or the registers 32 to accept the input signals D. An enabling signal Fl is supplied, likewise from the control unit 2, via a further input 37. Furthermore, for each of the parallel channels, an input 38 is provided for a pulse signal which, together with the output signal of the register 32, is supplied to the NOT-AND circuit 39, which, in turn, together with the output of the register 31, is connected to an AND
circuit 40. From the output 41, the respective signal is supplied to the output-stage circuit 9 (Fig. 1).
A--~09 - 16 - 131~ 5 9 ~
The seek signals CSl and CS2 are supplied to the G-inputs of the registers 31 and 32 via AND circuits 42, 43, to which a write pulse WR is additionally supplied via an input 44 if data are to be written into the egisters 31 or 32. The data stored in the registers 31 and 32 can, however, also be read via the data bus 1 (Fig. 1). For this purpose, tristate drivers 45, 46 are connected to the outputs ~ of the registers 31, 32; the outputs of these tristate drivers 45, 46 are connected via the respective connection 33 to the data bus. If the contents of one of the registers 31 or 32 is to be read, a read pulse RD is supplied via an input 47 to the two ~ND circuits 48, 49, whereupon the corresponding seek pulse CSl or CS2 is sent to the output-control connection OC of the 1¦
tristate driver 45 or 46.
This reading-out of the contents of the registers 31 and 32 is particularly advantageous if the control unit has several computers. It may happen in this connection that one computer is responsible for driving an output circuit, with some of the parallel output signals being accepted and others being changed according to the program of the receiving computer.
The receiving co~nputer is then able to read the register contents in order then via the data bus 1 to send a new data word in which the corresponding bits are unchanged.
~-5Q9 - 17 -l3l~99 If the output 41 is to be off, a logic 0 is stored in the register 31. The state of the register 32 is then without significance. If the output 41 is to be permanently on, a logic 1 is stored in the register 31 and a logic 0 in the register 32. This logic 0 results at the output of the NOT-AND circuit always in a logic 1, which, together with the output of the register 31, constantly switches on the output 41 Yia the AND circuit 40. If an output signal is to be pulsed, in order, for example, to make a warning lamp flash, the pulse signal P1 supplied via the input 38 is sent via the N~T-AND circuit 39 through the register 32 (set to logic 1~ to the AND circuit 40.
Together with the register 31 (set to logic 1), there results via the AND circuit 40 at the output 41 a pulsed driving si~nal ~or the output circuit 9.
Fig. 3 shows a block diagram of the pulse frequency divider 15, to which a pulse clock signal is supplied at 51. The frequency of this pulse clock signal corresponds t~ the highest required pulsing/flashing frequency of an indicator lamp. Flip-flops 52, 53, 54 form a frequency-divider chain. ~oth the input 51 and the outputs of the flip-flops 52, 53, 54 are connected to inputs of eight multiplexers, of which only one multiplexer 55 is shown in Fig. 3.
Via further inputs 56, 57, a two-bit-wide control word is supplied to the multiplexer 55 from the control-word register 5 (Fig. 1). Further similar 2-bit ~ontrol-word inputs are connected to the multiplexers not shown. Depending on the control word, the output 58 of the multiplexer 55 is connected to one of the multiplexer inputs, so that the pulsing or flashing frequency can be varied in each case by a factor of 2.
,~
i A-509 - 18 - 131~5~9 Fig. 4a and b show two embodiments of output stages, of which eight are provided in each case in the o~ltput-stage circuit 9 (Fig. 1). Provided in the output stage shown in Fig. 4a is a transistor 61, which, apart from the load 62, does not have any load resistance. The output 63, therefore, represents a so-called open-collector output. From the output circuit 3 ~Fig. 1) the signal is sent to the input 64 of the output stage shown in Fig. 4a and is supplied via a driver 65 (shown only diagrammatically) to the base of the transistor 61. Connected in series with the collector-emitter circuit of the transistor 61 is a current-measuring resistor 66, which is bypassed by the base-emitter circuit of a further transistor 67.
In the case of a short circuit in the load 62, the voltage drop across the resistor 66 becomes so great that the further transistor 67 starts to conduct aDd there is a voltage drop across the resistor 68, said voltage being transmitted via a threshold-value switch 69 and one o~ the leads 10 (Fig. 1~ to the interrupt-triggering circuit 6. Via this circuit, it is possible ~or the output circuit to be driven in such a way that the output stage becomes de-energized.
For various reasons, for example because of le~gthy lines between the overall electronic control system and the individual loads, an operating voltage o + 24 V is usually provided for the loads. It is possible, however, also to use other voltages. To check the output circuit, therefore, an adaptation to the digital circuits used, for example TTh circuits, is necessary. This purpose is served by the adapter circuit 12 (Fig. 1), of which Fig. 4a shows the circuit 70 for one of eight bits.
A-509 - 19 - ~3i~599 Adaptation is performed basically by a voltage divider 71, 72, to which a comparator 73 or a threshold-value switch is connected. The output 74 of the comparator is connected to a digital filter 13 (Fig. 1), which is described in greater detail later in conjunction with Fig. 6. From the digital filter the signals are supplied to the input circuit 4 (Fig. 1) and can be read by the control unit 2 via the data bus 1.
In the system according to the invention, it is possible to detect the following defects on the path of the siynals (for driving the loads~ between the control unit 2 and the respective load 62:
1. An open circuit between the control unit and the transistor 61 in the output stage does not, in spite of different signals supplied from the control unit, cause any change in the signals read out from the input circuit 4 (Fig. 1~.
2. In the case of an open circuit in the lead between the output 63 and the load 62 or in the further lead to the operating-voltage source, frame potential is always connected to the output 6~.
Explained in conjunction with Fig. 4b is a further embodiment of the invention which makes it possible for loads with the same output stage to be connected by their terminals facing away from the output either to a positive operating voltage or to frame potential. This may be advantageous particularly if a digital control system with the input/output system according to t.he invention is connected to printing presses in which loads, including the wiring, are already present. Also if several printing presses or printing-press components are controlled by a digital control system, it is possible for loads and sensors to be connected to different potentials.
A-509 - 20 - 131~9~
With the output stage according to Fig. 4b, two series--connected transistors 82, 81 form the output stage together with a driver circuit 83 (shown only diagrammatically). The transistors can be driven in such a way that the output 84 forms a so-called tristate output. In this connection, the output 84 is of high resistance, i.e. both transistors 81, 82 are non-conducting when no voltage is suppl;ed to a load 85, which, in the case of Fig. 4b, is shown as a relay I
winding. The connection ~6 of the load 85 facing away from the output 84 is connected to a control input 87 of the driver circuit a3. This means that, when a positive voltage is present at the connection 86, the transistor 81 is controlled by the signals applied to the input 88 of the output stage. If, however as indicated by the broken line in Fig. 4b, the connection 86 is connected to frame potential, the !
driver circuit 83 is switched over to the transistor 82, with the result that the latter is controlled by the signals supplied at 88. With the adapter circuit 92 shown diagrammatically in Fig. 4b, account is likewise taken of whether the load 85 is connected to positive potential or to frame potential, for which purpose the reference potential is supplied to a control input 91 of the adapter circuit 92.
Further transmissiQn_ Qf input siqnals The following explanatory remar~s refer to the further transmission of input signals via the adapter circuit 1~, the digital filter 13 and the input circuit 4. In this connection, the input signals may originate from sensors, for example switches, which are disposed on the machine being controlled. However, they may also be output signals from the output stage 9 that are to 1' A-5~9 - 21 -131~9~
be checked. While Fig. 4a shows a first embodiment of an adapter circuit in conjunction with an output stage, Fig. 5 shows a second embodiment of an adapter circuit, to which input signals are supplied from a sensor 96 via two leads to a differential input. The latter may be advantageous particularly in the case of sensors that perform safety-relevant and rapid functions.
The sensor 96 is a so-called pole-changing switch and is connected with its wipers to frame potential and + 24 V, so that the wires leading to the inputs 97 and 98 can be connected alternately to frame potential and + 24 V. The inputs 97, 98 are connected, each via a voltage divider 99, 100; 101, 102 to a non-inverting and an inverting input of a differential amplifier 103, the output 104 of which forms an output of the adapter circuit.
From the adapter circuit 12 eight parallel input signals are sent to the digital filter 13. Fig. 6 shows an embodiment of one of eight filters provided in the circuit 13. The filter serves to suppress interference through contact bounce and through noise pulses on the lines. It transmits an input signal further only if its value does not change during the filtering time.
The signal to be filtered is supplied to the input 161, while the clock signal T is supplied at 162.
Supplied to the inputs 163, 164 and 165 from the control-word register 5 (Fig. 1) are signals that chara`cterize the number of clock pulses on which filtering is based. These signals pass via inverters A-509 - ~2 - ~ 9 166, 167, 168 to the inputs A, B, C of the counter 169. The input and output designations refer to a counter of type 161.
The clock signal supplied at 162 pulses a first flip-flop 170 and the counter 169 and is supplied via an inverter 171 to the clock input of a second flip-flop 172. Four NOT-AND circuits 173, 174, 175 and 176 form a multiple~er, which, depending on the instantaneous level of output Q of the flip-flop 172, transmits either the output signal Q of the flip-flop 170 or the output signal QD of the counter 169 to the input D of the counter 169. The output of the multiplexer as well as the output Q of the flip-flop 1, 170 are connected to the inputs of an exclusive-OR~ ¦
circuit 177, the output of which is connected to the I 1 LOAD input of the counter 169. ~ ¦~
With an unchanged signal at the input 161, the signal at the output of the NOT-AND circuit 176 is returned via the multiplexer to the D-input of the counter.
Since the input and output signals are equal, LOAD is low. If the signal at the input 161 changes, the signal at the LOAD input becomes high and the counter 169 starts to count. With a predetermined filter number of 3, the counter status is 4.
If the input signal returns to its old state before the counter 169 reaches the value 7, LOAD becomes low again and filtering is discontinued.
When the counter reaches its final count 7, the high level is applied via the tripple AND circuit 179 to 131~99 the D-input of the flip-flop 172. At the next negative edge of the clock signal, output Q of the flip-flop 172 assumes the high level and switches the multiplexer to the Q-output of the flip-flop 170, so that the then current level of the input signal is applied to the D-input of the counter 169. LOAD
becomes low again, since there is equality between input and D-input of the counter 169, and connects the input information through to the output 178. At the same time, the D-input of the flip-flop 172 becomes low through the loaded filter number 3. At the next negative eage of the clock signal, the output Q of the flip-flop ].72 likewise becomes low and switches the multiplexer, so that once again the output signal of the counter 169 is returned to its D-input.
1, Ei~ht parallel output signals of the digital filter 13 (Fig. 1) are supplied to the input circuit 4. A
specimen embodiment of the input circuit is explained in the following with reference to Fig. 7, which shows one of the eight channels in the input circuit 4. The output signal of the digital filter 13 (Fig. 1) is supplied at 121 and can be supplied via a tristate driver 122 and the output 123 to the data bus 1 (Fig.
1). For this purpose, a seek signal CS is supplied via a control input 124 to the tristate driver 122.
Via an input 127, the system clock CLK is sent to the clock inputs of two flip-flops 125 and 126. With the flip-flops 125, 126, the input signal is delayed in each case by one clock period. With the aid of a non-equivalence circuit 129 it is determined whether the input signal has changed from one clock to the next. If this is the case~ a signal to trigger an interrupt is sent from the output 130.
A-50~ - 24 -131~9 Che~kinq the system As already explained in con]unction with the output of signals and peripheral units, the reading-in of the signals that have been output provides a first possibility ~or checking the input/output system. A
further check is performed in that test patterns can be applied to the inputs of the digital filter and in that the thus generated output signals of the input circuit 4 are checked for agreement. This increases safety and reliability when the system according to the invention is used for input. In addition, this allows more accurate pin-pointing of errors when the system according to the invention is used ~or output.
For the connection of the test pattern, the cGntrol unit 2 (Fig. 1) writes a test pattern into the test-pattern register 7 via the data bus 1, and the t test pattern 7 is supplied to the inputs of the digital filter 13. The time at which the test pattern I
is connected is determined by a control bit in the ¦
control-word register S. The test-pattern register 7 can be implemented in simple manner with obtainable components, so that a further egplanation is unnecessary. It contains basically an eight-bit register with tristate outputs.
It is practical for the test pattern to consist in that a value 1 occurs consecutively in the eight parallel channels, with the other channels being set to zero. Thus, among other things, each of the channels being checked is tested for a connection with the neighbouring channel.
' ~1 A-50~ - 25 -1314~99 Interrupt triggering The input circuit 4 and the output-state circuit 9 each send eight parallel signals to the circuit 6 for interrupt triggering. One signal from the input circuit 4 passes via an input 141 (Fig. 8) to the J-input of a JK flip-flop 143, into which the signal is loaded with a clock CLK supplied at 145. One of the signals supplied from the output-stage circuit 9 (Fig. 1) is sent via an input 142 to a JK flip-flop 144, into which it is likewise loaded with the clock CLK. If a 1 is present at one of the outputs of the 16 flip-flops 143, 144, an interrupt signal is sent to the control unit via the 16-~it O~ circuit and the output 147.
In systems with several circuits for triggering an interrupt, the control unit interrogates the individual circuits in turn to find out which input has triggered the interrupt. This is known as polling, in which, with the circuit shown in Fig. 8, the outputs of the flip-flops 143, 144 are interrogated consecutivel~ via the registers 150, 151 by the seek pulses CSl and CS2 supplied at 153 and 156. The outputs of the registers 150, 151 are each connected to a lead of the data bus via the connection 152. During the reading-out of the registers 150, 151, their D-inputs are disabled, so that the resetting of the flip-flops 143, 144 does not change the contents of the registers 150, 151.
Via the inputs 154, 155 and the OR circuits 148, 149, signals Sl and S2 can be supplied from the control-word register 5 (Fig. 1) to the reset inputs of the flip-flops 143, 144, these signals making it possible to suppress the further-transmission of individual error signals.
131~99 Within the framework of the invention, the triggering of an interrupt may also be performed via an interrupt controller, which supplies an interrupt vector to the control unit.
With the aid of the adapter circuit shown in Fig. 9, the signal of a sensor, for example of a switch 181, can be received irrespective of whether the connection of the switch 181 facing away from the input 182 is connected to frame potential or to a reference voltage differing from frame potential. A system according to the invention provided with such an adapter circuit can be used for controlling a machine in which there is even a mix of both types of connection, for example, when machine complexes of different product lines are connected together, without this requiring separate adaptation of the circuits or of the program to the sensors.
For automatic adaptation to the various modes of operation of the sensors, the reference voltage (either frame potential or a voltage differing from frame potential) is supplied via an input 183 and a voltage divider 184, 185 to the control input of a contxollable two-pole selector switch 186. If the reference voltage differs from frame potential, the selector switch is in the upper position identified by the solid line.
In addition, the output voltage of the voltage divider 184, 185 is supplied to inputs of two threshold-value switches 189 and 193 - in negated form to the 1314~99 threshold-value switch 193. This means that the output signal of the threshold-value switch 189 is transmitted further to the output 190 if there is a positive voltage at the voltage divider 184, 185. The output of the threshold-value switch 193 is disabled in this case. Preferably, use is made in this connection of a threshold-value switch with a so-called tristate output, which has high resistance when there is a corresponding signal at the input. If the voltage at the voltage divider 184, 185 corresponds to frame potential, the output voltage of the threshold-value switch 193 is transmitted further to the output 190, while the output of the threshold-value switch 189 is disabled. The threshold-value switches 189, 193 differ in that the threshold-value switch 189 does not make any inversion between the input and output signals, whereas an inversion is provided with the threshold-value switch ;
When the switch 181 connected to + 24 V is activated, !
the positive voltage is supplied via the voltage divider (formed by the resistors 187, 188) to the inputs of the threshold-value switches. Thereupon, the threshold-value switch 189 likewise sends positive potential of, for e~ample, 5 V to the output 190.
With the switch 181 open, there is 0 V at the input of the threshold-value switch 189, so that the output voltage is also 0 V.
If, however, instead of the switch 181~ a switch 191 connected to frame potential is connected to the adapter circuit and, at the same time, the point 183 is likewise connected to frame potential, the selector switch 186 is in the lower position and the 1, ~31~99 threshold-value switch 193 is active. In this case, with the switch 191 open, the voltage of ~ 5 V
supplied via the input 192 and the resistor 188 is present at the input of the threshold-value switch 193. The output voltage of the threshold-value switch 193 and thus the voltage at the output 190 is then 0 V. If the switch 191 is closed, frame potential is applied to the input of the threshold-value switch 193, with the result that the output voltage is then 5 V.
Irrespective of whether the switch in question is connected to frame potential or to a positive operating voltage, therefore, the adapter circuit shown in Fig. 9 supplies one logic level when the switch is closed and the other when the switch is open. Together with a control system, therefore, both types o~ sensors (switch to frame, switch to positive~
can be used alternatively or in combination, without this requiring a special adaptation o~ the circuits or of the program to the sensors. Interrogation by program as to whether the sensors are connected to frame or to positive is also unnecessary.
``1 ~3~4~99 1 = Test-pattern connection 2 = I nput circuit 3 = Interrupt control and triggering 4 = Output circuit with pulse connection and enabling 5 = Pulse division and selection 6 = Control-word register 7 = Digital filtering 8 = No. of clocks 9 = Clock 10 = Input-voltage adaptation 11 = Short-circuit-proof output stages with current measurement 12 = Frequency divider 13 = 16-bit OR
The invention relates further to a system for the input and/or output of signals of a digital control system from and~or to peripheral units, in which the output side of an input circuit and the input side of an output circuit are connected to a control unit and in which the input and/or output circuits are monitored.
The control of machines and installations with the aid of digital control functions frequently also includes functions in which errors can lead to considerable material damage or even to risks to persons.
Particularly in the case of complex structures, therefore, very great demands are placed on the reliability of individual system components. It is necessary, therefore, at switch-on or during the operation of an installation to realize an error diagnosis in order quickly to detect errors and to bring them under control with regard to safety.
Monitoring is necessary, particularly in the area of the peripheral units and interfaces.
A-509 - 2 - ~314~99 These demands apply particularly to systems for the control of printing presses, since, in this case, firstly, the number of sensors and actuators is very high and their operation has to be adapted to the specific requirements. Secondly, personnel trained in the field of electronics is frequently not available for the operation of printing presses.
The object of the present invention is to permit such monitoring in a reliable manner and to keep the associated outlay as small as possible. In this connection, the system according to the invention is to have a high degree of flexibility.
The system according to the invention is characterized in that the contents of the output registers and the output signals of the output stages can be interrogated separately.
Thanks to the measures according to the invention, it is possible not only to monitor the output circuits, but also to detect errors in the peripheral units, such as indicator lamps, electro-mechanical actuators, relays or switches. Furthermore, fault messages can be output if faults occur in the wiring. Thus, the invention contributes towards considerably increasing the proportion of errors within the overall system, for example a printing press or its digital control system, that can be detected by a corresponding monitoring program or error-diagnosis program.
A--509 - 3 131~ ~ 9 9 In this connection, provision may be made such that the output signals of the output stages can be interrogated via different addresses as the contents of the output registers or such that the output signals of the output stages can be interrogated via different data lines as the contents of the output registers.
In advantageous manner, the system according to the invention may be further developed in that in each case a number of output registers conforming to the width of the bus system are grouped together to form an output circuit.
Another further development of the invention consists in that the outputs of output stages are each formed by a transistor, the collector of which, apart from the peripheral unit, does not have any further load resistance.
.
In larger installations in which, for example, several machines with digital control systems are connected together, it may be necessary for the outputs of the digital control system to be adapted to sensors or loads that, with their connection facing away from the output of the digital control system, are connected either to frame potential or to an operating voltage.
A further development of the invention that is advantageous in this respect provides that the outputs o each output stage are formed by two transistors, said transistors being connected in series and being able to be driven in such a manner that in each case one, the other or both transistors are in a non-conducting state.
A-50 9 - 4 ~ 5 9 9 In order to detect short circuits, the system according to the invention may be further developed such that the output stages comprise apparatuses for measuring the output current.
In a particularly advantageous embodiment of the invention, outputs may be used also as inputs, without this requiring a modification to the circuitry as such. For this purpose, an input circuit for several parallel signals is provided, the inputs of which are connected to the outputs of the output stages. Since, usually, the loads or sensors operate at higher voltages than can be withstood by the digital modules, a further embodiment provides for the input circuit to be preceded by an adapter circuit.
In order to prevent incorrect inputs as a result of contact bounce or possible pulse noise, it is also possible within the framework of the invention for a digital filter to be disposed between the adapater circuit and the input circuit.
Another further development of the invention consists in that the outputs of the output stages are designed as inputs/outputs, each of the inputs/outputs being individually definable as an input or output through the activation via the output circuit and through the nature of the peripheral unit connected. This makes it possible for inputs/outputs of the system to be occupied entirely as desired with loads or sensors, adaptation being performed merely by suitable programming.
~3~9~
In another further development of the invention, the peripheral units each have two connections, and in each case one connection is connected to an input/output of the system and the other connection is connected to a reference potential (operating voltage or frame~ wherein the reference potential is supplied to a further input of the adapter circuit for control. Thus, the adapter circuit is able to receive signals coming from sensors whose connections facing away from the adapter circuit are in contact with frame potential, or from sensors in which this connection is connected to an operating voltage.
Similar flexibility is achieved in the case of loads in that if output stages of two series-connected transistors are used, the respective output stage is controlled as a function of the reference potential in such a way that that transistor is driven whose connection facing away from the output is subjected to a voltage different from the reference potential.
In a further embodiment of the invention, the input circuit and the digital filter can be checked in that test signals can be connected to the inputs of the input circuit by the control unit via a test-pattern register and the output signals of the input circuit are compared in the control unit with the test signals. These measures may be applied advantageously when the inputs/outputs are used as either inputs or outputs.
A-509 - 6 - ~3~5~9 In this connection, it is particularly advantageous that the input circuit and the test-pattern register are each provided for several parallel signals, said signals forming a multi-bit data word, and a test pattern is formed in that, consecutively, the individual bits assume after a first value a second value and then again the first value. This "pushing-through" of a bit that differs from the preceding and following bits makes it possible in advantageous manner for errors to be reported even when two of the eight parallel channels of the digital filter or of the input circuit are connected together by a defect.
Advantageous further developments and improvements of the system disclosed in the main claim are possible by means of the measures enumerated in the fur~her subclaims.
In this connection, it is particularly advantageous if the input circuit comprises means for the comparison of consecutive values for each bit, said means being connected to a circuit for triggering an interrupt of the program run.
A further embodiment of the invention provides that the output circuit comprises gates, said gates making it possible for the signals supplied to be linked with pulse signals. To cause particular attention, indicator lamps which perform safety functions are frequently operated in an intermittent mode, with A-509 ~ 3 14 ~ 9 ~
the result that the indicator lamps flash. This may be done in simple manner by means of suitable commands in the computer program, which, firstly, has the disadvantage that, if several lamps are arranged on a control panel, the different timing with which the computer switches the lamps on and off results in a confusing picture. Secondly, apparatuses of the control unit and of the data bus are used repeatedly during flashing.
The aforementioned embodiment of the invention eliminates these disadvantages. An advantageous version of this embodiment consists in that a multiplexer is provided ~or setting the division ratio for each parallel signal, said multiplexer as a function of control signals supplied to it connecting one of several outputs of a frequency divider to a gate in the output circuit, and in that the control signals are supplied from a control-word register, said control-word register being connected on the input side to the control unit. Thus, for each of the indicator lamps connected, once or each time a signal is transmitted to cause the energization of the indicator lamp, a corresponding control signal can be entered into the input and/or output system according to the invention, said signal containing whether the indicator lamp in question is to flash and, if necessary, at what frequency.
Particularly for multi-computer systems in which one computer drives some bits in the output circuit but is not to change the values of the other bits which have been previously specified by another computer, another further development of the invention provides that the output circuit contains apparatuses for reading by the control unit of the values stored in the output circuit.
A-509 - ~ -~3145~9 So that error messages and, if necessary, also results of test operations in general can be reported as quickly as possible to the control unit, a further embodiment of the invention provides that a circuit is provided in the control unit for triggering an interrupt of the program run, the inputs of said circuit being able to be supplied with several parallel signals from the input circuit and with current-measuring signals from output stages.
In this connection, individual signals supplied to the inpu~s may be disabled as a function of the contents of a control-word register~ This makes it possible, by suitable programming, for individual signals representing error messages, which would thus trigger an interrupt, not to lead to the triggerinq of an interrupt, but to be evaluated only when interrogated by the program via the data bus of the control unit.
To prevent malfunctions through contact bounce and through possible pulse noise, a further embodiment of the invention provides that an adapter circuit and a digital filter, each for several parallel signals, are provided between the inputs connected to the 111 peripheral units and an input circuit for several 11 parallel signals.
Specimen embodiments of the invention are shown in the drawings with reference to several figures and are e~plained in yreater detail in the following description.
A-509 1 31~ ~ 9 9 Fig. 1 shows a block diagram of a system for input and/or output;
Fig. 2 shows an output circuit;
Fig. 3 shows a pulse frequency divider;
Fig. 4 shows two specimen embodiments of an output stage and of an adapter circuit;
Fig. 5 shows a further specimen embodiment of an adapter circuit;
Fig. 6 shows a digital filter;
Fig. 7 shows an input circuit with interrupt if the input signal changes;
Fig. 8 shows an interrupt-triggering circuit; and Fig. 9 shows a third specimen embodiment of an adapter circuit.
The circuits shown in Fig. 2 to 9 form the most important components of the system as detailed in Fig. 1. The circuits are in each case designed for eight parallel signals. With few exc~ptions, Fig. 2 to 9 show merely switching operations for one of the eight parallel signals. Identical components in the figures are provided with identical reference numbers.
Fig. 1 shows the block diagram of an input/output system according to the invention which is part of a A-509 - ]0 -~314~99 digital control system. The digital control syste~
may comprise more than one of the input/output systems shown in Fig. 1, one or more microprocessors as well as memories and other components. To describe the invention, of the other components of the digital control system, only a data bus 1 and a control unit 2 are shown.
Connected to the data bus 1 are an output circuit 3, an input circuit 4, a control-word register 5, a circuit 6 for triggering an interrupt of the program run and a test-pattern register 7. These units are also connected to the control unit 2 via control lines, of which only one is indicated in each case in Fig. 1. It is also possible to provide an address and control bus for the thus transmitted signals. In the specimen embodiment, the units 3 to 7 and the data ¦~
bus 1 are each designed for a width of 8 bits. , , i Supplied via the data bus 1 to an output circuit 3 are i!
signals which are finally to be sent to loads 21, 22 via an input/output 8. Individual bits of the eight-bit-wide input/output 8 can be set by program as an input or output. In larger systems, however, it will be preferable to operate one or more of the circuits shown in Fig. 1 as output circuits and others as input circuits.
With regard to the control of machines and plants, the loads 21, 22 that are to be connected to the inputs/outputs will primarily be indicator lamps and magnetically operated actuators. With such machines and plants, it has proved advantageous to show ~¦
particularly important signals by the flashing of - lt - 131~99 indieator la~ps. The flashing of several indicator lamps, ~hich are eontrolled by a mieroprocessor, results, however, in a very eonfusing pieture, since the timing of the flashing of all indieator lamps varies depending on the program.
For this reason, in a further development of the invention, provided in the output circuit 3 is a linking of the signals with flashing signals that can be generated separately for each bit of the data word supplied to the output circuit 3. For this purpose, a control word is supplied via the data bus 1 to a control-word register 5, said control word indicating, among other things, which bits o~ the data word to be sent via the output circuit 3 are to flash. In this connection, it is also possible for various bits to flash at different frequencies. Further details in this regard will be explained later in conjunction with Fig. 2 and 3.
The output signals of the output circuit 3 are sent to an eight-bit output-stage circuit 9, further detalls of which are described in conjunction with Fig. 4.
The output-stage circuit 9 is short-circuit-proof and is provided with a circuit for measuring the output eurrent. The outputs of the output-stage circuit 9 form the input/output 8. If a predetermined output current is exceeded, a circuit 6 for triggering an interrupt of the program (interrupt triggering) is activated via detector 90 associated with resistor 89 and any signal outputted to data line 10. The circuit 6 is conneeted via a line 11 directly to the eontrol unit 2 of the digital eontrol system, where the program currently being executed is interrupted in order to change over to an error-diagnosis program.
From the input/output 8, Olltput signals and/or input signals from sensors, for example limit switches or emergency-stop switches, said signals having to be monitored, are sent to an adapter circuit 12. The primary task of this circuit is to adapt the levels of the input signals, which may have been sent over long lines, to the level of the digital system, for example TTL. In this connection, it is possible, to a certain extent, for noise interference superimposed by threshold-value characteristics to be suppressed and, through the use of differential amplifiers, for signals that have been transmitted symmetrically on two lines from the sensor to the adapter circuit 12 to be further-transmitted on one line.
;
Furthermore, an embodiment of the adapter circuit 12 has a special feature which consists in that a ;
reference potential is supplied to it. Connected to this reference potential are the terminals of the sensors facing away from the inputs/outputs 8.
Depending on whether this reference potential corresponds to the operating voltage of, for example, !, +24 V or to the frame potential, such an adaptation ~
takes place in the adapter circuit 12 that, at the ¦
outputs of the adapter circuit 12, the same logic level is always assigned to a predetermined circuit state of the sensor.
The output signals from the adapter circuit 12 are supplied to a digital filter 13, which suppresses signals that are so short that they cannot be "genuine" signals from a sensor. To adapt the digital filter 13 to the respective sensor, both the frequency of the clock signal and also the number of clock ,1 1314~99 pulses for filtering are controlled. Once again, control is effected via the control-word register 5, which, firstly, provides the number of clock pulses and, secondly, supplies a di~ider value to a frequency divider 1~.
The signals that have passed the digital filter 13 are supplied via the input circuit 4 to the bus system 1 and to the interrupt-triggering ciruit 6. To monitor the digital filter 13 and the input circuit 4, signals representing a test pattern are supplied from the bus system 1 via a test-pattern register 7 to the input of the digital filter 13.
If the system is used for output, the signals that are to be sent on to the loads ~1, 22 are each sent as one bit of an eight-bit word via the bus system 1, the output circuit 3 and the output-stage circuit 9 to the output. Some of them are pulsed, for which purpose .
the necessary pulses are supplied to the output circuit 3 via the control-word register 5 and a pulse frequency divider 15. If a load is off, 24 V is applied to the corresponding terminal of the input/output 8, while, with the load on, 0 V is applied. This information is supplied via the adapter circuit 12 and the digital filter 13 to the input circuit 4, from where it can be interrogated, when desired, by the control unit via the bus system 1, so that it is possible to monitor regularly whether the desired ~olta~es are present at the input/output 8.
~-509 - 14 -~31~99 Errors which, for e~ample, are caused by the output circuit 3, the output-stage circuit 9 or by the load in question, are detected. To ensure that a corresponding error indication or other suitable measures are not effected only when the input circuit 4 is interrogated within the course of the normal operation of the program, the input circuit 4 is connected to the interrupt-triggering circuit 6. In addition, there is a direct report from the output-stage circuit 9 if a short circuit, i.e. an excessively high output current, is taken from one of the output stages.
In addition, the digital filter 13 and the input circuit 4 are checked regularly - for example whenever the control system is started up - by the connection l of a test pattern to the inputs of the digital filter ¦
13. Thus, i~ the input~output system is operated as an output, it is possible to differentiate whether, in j I
the case of an error occurring in the loop formed by , the output circuit 3, the output-stage circuit 9, the 1l ~;
adapter circuit 12, the digital filter 13 and the input circuit 4, it is the path for the output signals and/or the path for the input signals that is defective.
To operate the system shown in Fig. 1 as an input, sensors, preferably switches, are connected to the terminals of the input/output 8. No output signals are supplied via the output circuit 3, and the input signals from the sensors are, as already described in conjunction with the checking of the output signals, supplied via the adapater circuit 12, the digital filter 13 and the input circuit 4 to the bus system 1.
A--509 -- 15 - ~3~
In the following, the operating principle of the system shown in Fig. 1 is explained with reference to the details presented in Fig. 2 to 8. The output of signals, the further transmission of input signals, the checking of the system as well as the triggering of an interrupt are described in the following individual sections.
Output of signals From the control unit 2, eight signals are sent in parallel via the data bus 1 to the output circuit 3 for the driving of eight loads. Only two of the eight loads are shown, namely a bulb 21 and a relay winding 22. Shown in Fig. 2 is merely one of eight parallel channels of the output circuit 3. The data inputs D
of two registers 31, 32 are connected to the data bus 1 via the connection 33 ~Fig. 1). Via further inputs 34, 35, signals CSl and CS2 are supplied from the control unit; these signals can be used, for one data word in each case, to energize the registers 31 or the registers 32 to accept the input signals D. An enabling signal Fl is supplied, likewise from the control unit 2, via a further input 37. Furthermore, for each of the parallel channels, an input 38 is provided for a pulse signal which, together with the output signal of the register 32, is supplied to the NOT-AND circuit 39, which, in turn, together with the output of the register 31, is connected to an AND
circuit 40. From the output 41, the respective signal is supplied to the output-stage circuit 9 (Fig. 1).
A--~09 - 16 - 131~ 5 9 ~
The seek signals CSl and CS2 are supplied to the G-inputs of the registers 31 and 32 via AND circuits 42, 43, to which a write pulse WR is additionally supplied via an input 44 if data are to be written into the egisters 31 or 32. The data stored in the registers 31 and 32 can, however, also be read via the data bus 1 (Fig. 1). For this purpose, tristate drivers 45, 46 are connected to the outputs ~ of the registers 31, 32; the outputs of these tristate drivers 45, 46 are connected via the respective connection 33 to the data bus. If the contents of one of the registers 31 or 32 is to be read, a read pulse RD is supplied via an input 47 to the two ~ND circuits 48, 49, whereupon the corresponding seek pulse CSl or CS2 is sent to the output-control connection OC of the 1¦
tristate driver 45 or 46.
This reading-out of the contents of the registers 31 and 32 is particularly advantageous if the control unit has several computers. It may happen in this connection that one computer is responsible for driving an output circuit, with some of the parallel output signals being accepted and others being changed according to the program of the receiving computer.
The receiving co~nputer is then able to read the register contents in order then via the data bus 1 to send a new data word in which the corresponding bits are unchanged.
~-5Q9 - 17 -l3l~99 If the output 41 is to be off, a logic 0 is stored in the register 31. The state of the register 32 is then without significance. If the output 41 is to be permanently on, a logic 1 is stored in the register 31 and a logic 0 in the register 32. This logic 0 results at the output of the NOT-AND circuit always in a logic 1, which, together with the output of the register 31, constantly switches on the output 41 Yia the AND circuit 40. If an output signal is to be pulsed, in order, for example, to make a warning lamp flash, the pulse signal P1 supplied via the input 38 is sent via the N~T-AND circuit 39 through the register 32 (set to logic 1~ to the AND circuit 40.
Together with the register 31 (set to logic 1), there results via the AND circuit 40 at the output 41 a pulsed driving si~nal ~or the output circuit 9.
Fig. 3 shows a block diagram of the pulse frequency divider 15, to which a pulse clock signal is supplied at 51. The frequency of this pulse clock signal corresponds t~ the highest required pulsing/flashing frequency of an indicator lamp. Flip-flops 52, 53, 54 form a frequency-divider chain. ~oth the input 51 and the outputs of the flip-flops 52, 53, 54 are connected to inputs of eight multiplexers, of which only one multiplexer 55 is shown in Fig. 3.
Via further inputs 56, 57, a two-bit-wide control word is supplied to the multiplexer 55 from the control-word register 5 (Fig. 1). Further similar 2-bit ~ontrol-word inputs are connected to the multiplexers not shown. Depending on the control word, the output 58 of the multiplexer 55 is connected to one of the multiplexer inputs, so that the pulsing or flashing frequency can be varied in each case by a factor of 2.
,~
i A-509 - 18 - 131~5~9 Fig. 4a and b show two embodiments of output stages, of which eight are provided in each case in the o~ltput-stage circuit 9 (Fig. 1). Provided in the output stage shown in Fig. 4a is a transistor 61, which, apart from the load 62, does not have any load resistance. The output 63, therefore, represents a so-called open-collector output. From the output circuit 3 ~Fig. 1) the signal is sent to the input 64 of the output stage shown in Fig. 4a and is supplied via a driver 65 (shown only diagrammatically) to the base of the transistor 61. Connected in series with the collector-emitter circuit of the transistor 61 is a current-measuring resistor 66, which is bypassed by the base-emitter circuit of a further transistor 67.
In the case of a short circuit in the load 62, the voltage drop across the resistor 66 becomes so great that the further transistor 67 starts to conduct aDd there is a voltage drop across the resistor 68, said voltage being transmitted via a threshold-value switch 69 and one o~ the leads 10 (Fig. 1~ to the interrupt-triggering circuit 6. Via this circuit, it is possible ~or the output circuit to be driven in such a way that the output stage becomes de-energized.
For various reasons, for example because of le~gthy lines between the overall electronic control system and the individual loads, an operating voltage o + 24 V is usually provided for the loads. It is possible, however, also to use other voltages. To check the output circuit, therefore, an adaptation to the digital circuits used, for example TTh circuits, is necessary. This purpose is served by the adapter circuit 12 (Fig. 1), of which Fig. 4a shows the circuit 70 for one of eight bits.
A-509 - 19 - ~3i~599 Adaptation is performed basically by a voltage divider 71, 72, to which a comparator 73 or a threshold-value switch is connected. The output 74 of the comparator is connected to a digital filter 13 (Fig. 1), which is described in greater detail later in conjunction with Fig. 6. From the digital filter the signals are supplied to the input circuit 4 (Fig. 1) and can be read by the control unit 2 via the data bus 1.
In the system according to the invention, it is possible to detect the following defects on the path of the siynals (for driving the loads~ between the control unit 2 and the respective load 62:
1. An open circuit between the control unit and the transistor 61 in the output stage does not, in spite of different signals supplied from the control unit, cause any change in the signals read out from the input circuit 4 (Fig. 1~.
2. In the case of an open circuit in the lead between the output 63 and the load 62 or in the further lead to the operating-voltage source, frame potential is always connected to the output 6~.
Explained in conjunction with Fig. 4b is a further embodiment of the invention which makes it possible for loads with the same output stage to be connected by their terminals facing away from the output either to a positive operating voltage or to frame potential. This may be advantageous particularly if a digital control system with the input/output system according to t.he invention is connected to printing presses in which loads, including the wiring, are already present. Also if several printing presses or printing-press components are controlled by a digital control system, it is possible for loads and sensors to be connected to different potentials.
A-509 - 20 - 131~9~
With the output stage according to Fig. 4b, two series--connected transistors 82, 81 form the output stage together with a driver circuit 83 (shown only diagrammatically). The transistors can be driven in such a way that the output 84 forms a so-called tristate output. In this connection, the output 84 is of high resistance, i.e. both transistors 81, 82 are non-conducting when no voltage is suppl;ed to a load 85, which, in the case of Fig. 4b, is shown as a relay I
winding. The connection ~6 of the load 85 facing away from the output 84 is connected to a control input 87 of the driver circuit a3. This means that, when a positive voltage is present at the connection 86, the transistor 81 is controlled by the signals applied to the input 88 of the output stage. If, however as indicated by the broken line in Fig. 4b, the connection 86 is connected to frame potential, the !
driver circuit 83 is switched over to the transistor 82, with the result that the latter is controlled by the signals supplied at 88. With the adapter circuit 92 shown diagrammatically in Fig. 4b, account is likewise taken of whether the load 85 is connected to positive potential or to frame potential, for which purpose the reference potential is supplied to a control input 91 of the adapter circuit 92.
Further transmissiQn_ Qf input siqnals The following explanatory remar~s refer to the further transmission of input signals via the adapter circuit 1~, the digital filter 13 and the input circuit 4. In this connection, the input signals may originate from sensors, for example switches, which are disposed on the machine being controlled. However, they may also be output signals from the output stage 9 that are to 1' A-5~9 - 21 -131~9~
be checked. While Fig. 4a shows a first embodiment of an adapter circuit in conjunction with an output stage, Fig. 5 shows a second embodiment of an adapter circuit, to which input signals are supplied from a sensor 96 via two leads to a differential input. The latter may be advantageous particularly in the case of sensors that perform safety-relevant and rapid functions.
The sensor 96 is a so-called pole-changing switch and is connected with its wipers to frame potential and + 24 V, so that the wires leading to the inputs 97 and 98 can be connected alternately to frame potential and + 24 V. The inputs 97, 98 are connected, each via a voltage divider 99, 100; 101, 102 to a non-inverting and an inverting input of a differential amplifier 103, the output 104 of which forms an output of the adapter circuit.
From the adapter circuit 12 eight parallel input signals are sent to the digital filter 13. Fig. 6 shows an embodiment of one of eight filters provided in the circuit 13. The filter serves to suppress interference through contact bounce and through noise pulses on the lines. It transmits an input signal further only if its value does not change during the filtering time.
The signal to be filtered is supplied to the input 161, while the clock signal T is supplied at 162.
Supplied to the inputs 163, 164 and 165 from the control-word register 5 (Fig. 1) are signals that chara`cterize the number of clock pulses on which filtering is based. These signals pass via inverters A-509 - ~2 - ~ 9 166, 167, 168 to the inputs A, B, C of the counter 169. The input and output designations refer to a counter of type 161.
The clock signal supplied at 162 pulses a first flip-flop 170 and the counter 169 and is supplied via an inverter 171 to the clock input of a second flip-flop 172. Four NOT-AND circuits 173, 174, 175 and 176 form a multiple~er, which, depending on the instantaneous level of output Q of the flip-flop 172, transmits either the output signal Q of the flip-flop 170 or the output signal QD of the counter 169 to the input D of the counter 169. The output of the multiplexer as well as the output Q of the flip-flop 1, 170 are connected to the inputs of an exclusive-OR~ ¦
circuit 177, the output of which is connected to the I 1 LOAD input of the counter 169. ~ ¦~
With an unchanged signal at the input 161, the signal at the output of the NOT-AND circuit 176 is returned via the multiplexer to the D-input of the counter.
Since the input and output signals are equal, LOAD is low. If the signal at the input 161 changes, the signal at the LOAD input becomes high and the counter 169 starts to count. With a predetermined filter number of 3, the counter status is 4.
If the input signal returns to its old state before the counter 169 reaches the value 7, LOAD becomes low again and filtering is discontinued.
When the counter reaches its final count 7, the high level is applied via the tripple AND circuit 179 to 131~99 the D-input of the flip-flop 172. At the next negative edge of the clock signal, output Q of the flip-flop 172 assumes the high level and switches the multiplexer to the Q-output of the flip-flop 170, so that the then current level of the input signal is applied to the D-input of the counter 169. LOAD
becomes low again, since there is equality between input and D-input of the counter 169, and connects the input information through to the output 178. At the same time, the D-input of the flip-flop 172 becomes low through the loaded filter number 3. At the next negative eage of the clock signal, the output Q of the flip-flop ].72 likewise becomes low and switches the multiplexer, so that once again the output signal of the counter 169 is returned to its D-input.
1, Ei~ht parallel output signals of the digital filter 13 (Fig. 1) are supplied to the input circuit 4. A
specimen embodiment of the input circuit is explained in the following with reference to Fig. 7, which shows one of the eight channels in the input circuit 4. The output signal of the digital filter 13 (Fig. 1) is supplied at 121 and can be supplied via a tristate driver 122 and the output 123 to the data bus 1 (Fig.
1). For this purpose, a seek signal CS is supplied via a control input 124 to the tristate driver 122.
Via an input 127, the system clock CLK is sent to the clock inputs of two flip-flops 125 and 126. With the flip-flops 125, 126, the input signal is delayed in each case by one clock period. With the aid of a non-equivalence circuit 129 it is determined whether the input signal has changed from one clock to the next. If this is the case~ a signal to trigger an interrupt is sent from the output 130.
A-50~ - 24 -131~9 Che~kinq the system As already explained in con]unction with the output of signals and peripheral units, the reading-in of the signals that have been output provides a first possibility ~or checking the input/output system. A
further check is performed in that test patterns can be applied to the inputs of the digital filter and in that the thus generated output signals of the input circuit 4 are checked for agreement. This increases safety and reliability when the system according to the invention is used for input. In addition, this allows more accurate pin-pointing of errors when the system according to the invention is used ~or output.
For the connection of the test pattern, the cGntrol unit 2 (Fig. 1) writes a test pattern into the test-pattern register 7 via the data bus 1, and the t test pattern 7 is supplied to the inputs of the digital filter 13. The time at which the test pattern I
is connected is determined by a control bit in the ¦
control-word register S. The test-pattern register 7 can be implemented in simple manner with obtainable components, so that a further egplanation is unnecessary. It contains basically an eight-bit register with tristate outputs.
It is practical for the test pattern to consist in that a value 1 occurs consecutively in the eight parallel channels, with the other channels being set to zero. Thus, among other things, each of the channels being checked is tested for a connection with the neighbouring channel.
' ~1 A-50~ - 25 -1314~99 Interrupt triggering The input circuit 4 and the output-state circuit 9 each send eight parallel signals to the circuit 6 for interrupt triggering. One signal from the input circuit 4 passes via an input 141 (Fig. 8) to the J-input of a JK flip-flop 143, into which the signal is loaded with a clock CLK supplied at 145. One of the signals supplied from the output-stage circuit 9 (Fig. 1) is sent via an input 142 to a JK flip-flop 144, into which it is likewise loaded with the clock CLK. If a 1 is present at one of the outputs of the 16 flip-flops 143, 144, an interrupt signal is sent to the control unit via the 16-~it O~ circuit and the output 147.
In systems with several circuits for triggering an interrupt, the control unit interrogates the individual circuits in turn to find out which input has triggered the interrupt. This is known as polling, in which, with the circuit shown in Fig. 8, the outputs of the flip-flops 143, 144 are interrogated consecutivel~ via the registers 150, 151 by the seek pulses CSl and CS2 supplied at 153 and 156. The outputs of the registers 150, 151 are each connected to a lead of the data bus via the connection 152. During the reading-out of the registers 150, 151, their D-inputs are disabled, so that the resetting of the flip-flops 143, 144 does not change the contents of the registers 150, 151.
Via the inputs 154, 155 and the OR circuits 148, 149, signals Sl and S2 can be supplied from the control-word register 5 (Fig. 1) to the reset inputs of the flip-flops 143, 144, these signals making it possible to suppress the further-transmission of individual error signals.
131~99 Within the framework of the invention, the triggering of an interrupt may also be performed via an interrupt controller, which supplies an interrupt vector to the control unit.
With the aid of the adapter circuit shown in Fig. 9, the signal of a sensor, for example of a switch 181, can be received irrespective of whether the connection of the switch 181 facing away from the input 182 is connected to frame potential or to a reference voltage differing from frame potential. A system according to the invention provided with such an adapter circuit can be used for controlling a machine in which there is even a mix of both types of connection, for example, when machine complexes of different product lines are connected together, without this requiring separate adaptation of the circuits or of the program to the sensors.
For automatic adaptation to the various modes of operation of the sensors, the reference voltage (either frame potential or a voltage differing from frame potential) is supplied via an input 183 and a voltage divider 184, 185 to the control input of a contxollable two-pole selector switch 186. If the reference voltage differs from frame potential, the selector switch is in the upper position identified by the solid line.
In addition, the output voltage of the voltage divider 184, 185 is supplied to inputs of two threshold-value switches 189 and 193 - in negated form to the 1314~99 threshold-value switch 193. This means that the output signal of the threshold-value switch 189 is transmitted further to the output 190 if there is a positive voltage at the voltage divider 184, 185. The output of the threshold-value switch 193 is disabled in this case. Preferably, use is made in this connection of a threshold-value switch with a so-called tristate output, which has high resistance when there is a corresponding signal at the input. If the voltage at the voltage divider 184, 185 corresponds to frame potential, the output voltage of the threshold-value switch 193 is transmitted further to the output 190, while the output of the threshold-value switch 189 is disabled. The threshold-value switches 189, 193 differ in that the threshold-value switch 189 does not make any inversion between the input and output signals, whereas an inversion is provided with the threshold-value switch ;
When the switch 181 connected to + 24 V is activated, !
the positive voltage is supplied via the voltage divider (formed by the resistors 187, 188) to the inputs of the threshold-value switches. Thereupon, the threshold-value switch 189 likewise sends positive potential of, for e~ample, 5 V to the output 190.
With the switch 181 open, there is 0 V at the input of the threshold-value switch 189, so that the output voltage is also 0 V.
If, however, instead of the switch 181~ a switch 191 connected to frame potential is connected to the adapter circuit and, at the same time, the point 183 is likewise connected to frame potential, the selector switch 186 is in the lower position and the 1, ~31~99 threshold-value switch 193 is active. In this case, with the switch 191 open, the voltage of ~ 5 V
supplied via the input 192 and the resistor 188 is present at the input of the threshold-value switch 193. The output voltage of the threshold-value switch 193 and thus the voltage at the output 190 is then 0 V. If the switch 191 is closed, frame potential is applied to the input of the threshold-value switch 193, with the result that the output voltage is then 5 V.
Irrespective of whether the switch in question is connected to frame potential or to a positive operating voltage, therefore, the adapter circuit shown in Fig. 9 supplies one logic level when the switch is closed and the other when the switch is open. Together with a control system, therefore, both types o~ sensors (switch to frame, switch to positive~
can be used alternatively or in combination, without this requiring a special adaptation o~ the circuits or of the program to the sensors. Interrogation by program as to whether the sensors are connected to frame or to positive is also unnecessary.
``1 ~3~4~99 1 = Test-pattern connection 2 = I nput circuit 3 = Interrupt control and triggering 4 = Output circuit with pulse connection and enabling 5 = Pulse division and selection 6 = Control-word register 7 = Digital filtering 8 = No. of clocks 9 = Clock 10 = Input-voltage adaptation 11 = Short-circuit-proof output stages with current measurement 12 = Frequency divider 13 = 16-bit OR
Claims (32)
1. System for the output of signals of a digital control system, particularly for a printing press, to peripheral units, in which the peripheral units are connected via a bus system, output registers and output stages to a control unit, and including means for separately interrogating the contents of the output registers (31, 32) and the output signals of the output stages (9).
2. A system as claimed in claim 1, wherein said output registers include separate addresses and said means for interrogating can interrogate said output registers by means of said separate addresses.
3. A system as claimed in claim 1, including separate data lines connecting said means for interrogating and said output registers whereby said output registers can be interrogated by said means for interrogating via said data lines.
4. System according to claim 1, 2 or 3, wherein in each case a number of output registers (31, 32) conforming to the width of the bus system (1) are grouped together to form an output circuit (3).
5. System according to claim 1, wherein the outputs (8) of output stages are each formed by a transistor (61).
6. System according to claim 1, wherein the outputs (8) are each formed by an output stage of two transistors (81, 82), said transistors being series-connected driven in a manner such that, in all cases, at least one of said transistors is in a non-conducting state.
7. System according to claim 1, wherein the output stages comprise apparatuses (66, 67, 89, 90) for detecting the output current.
8. System according to claim 1, wherein input registers are provided for interrogating the output signals, the inputs and outputs of said input registers being connected to the outputs (8) of the output stages and to the bus system, respectively.
9. System according to claim 8, wherein the input registers (4) are preceded by adapter circuits (12).
10. System according to claim 9, wherein a digital filter (13) is disposed in each case between the adapter circuits (12) and the input registers (4).
11. System according to claim 8, wherein the outputs of the output stages are designed as inputs/outputs (8), and including a programmed control unit (2) which sets each of the inputs/outputs (8) individually as input or output.
12. System according to claim 11, wherein the peripheral units (85) each have two connections, and wherein in each case one connection is connected to an input/output (8) of the system and the other connection (86) is connected to a reference potential (operating voltage or frame), and wherein the reference potential is supplied to a further input (91) of the adapter circuit (92) for control.
13. System according to claim 12, wherein the output stages of two series-connected transistors (81, 82) are used in the output stage, the respective output stage is controlled as a function of a reference potential whereby the transistor (81, 82) whose connection facing away from the output (84) is subjected to a voltage different from the reference potential is driven.
14. System for the input and/or output of signals of a digital control system, particularly for a printing press, from and/or to peripheral units, in which the output side of an input circuit and the input side of an output circuit are connected to a control unit and in which the input and/or output circuits are monitored, wherein test signals can be connected to the inputs of the input circuit (4) by the control unit (2) via a test-pattern register (7), and wherein the output signals of the input circuit (4) are compared in the control unit (2) with the test signals.
15. System according to claim 14, wherein the input circuit (4) and the test-pattern register (7) are each provided for several parallel signals, said signals forming a multi-bit data word, and wherein a test pattern is formed in that, consecutively, the individual bits assume, after a first value, a second value and then again the first value.
16. System according to claim 14, wherein the input circuit (4) comprises means (125, 126, 129) for the comparison of consecutive values for each bit, said means being connected to a circuit (6) for triggering an interrupt of the program run.
17. System according to claim 14, wherein monitoring apparatuses (4, 6, 7, 12, 13) are connected to outputs (8) whose signals depend not only on the values to be output, but also on attributes of the peripheral units (21, 22) connected to the outputs (8).
18. System for the input and/or output of signals of a digital control system, particularly for a printing press, from and/or to peripheral units, in which the output side of an input circuit and the input side of an output circuit are connected to a control unit and in which the input and/or output circuits are monitored, wherein the output circuit (3) comprises gates (39, 40), said gates operable to link the signals supplied to pulse signals.
19. System according to claim 18, wherein the output circuit (3) is provided for several parallel signals, and wherein pulse signals are produced by frequency division of a supplied pulse clock signal whereby a division ratio can be set for each of the parallel signals independently of one another.
20. System according to claim 19, wherein a multiplexer (55) is provided for setting the division ratio for each parallel signal, said multiplexer as a function of control signals supplied to it connecting one of several outputs of a frequency divider (52, 53, 54) to a gate (39) in the output circuit (3), and wherein the control signals are supplied from a control-word register (5), said control-word register being connected on the input side to the control unit (2).
21. System according to claim 18, wherein the output circuit (3) contains apparatuses (45, 46) for the reading by the control unit (2) of the values stored in the output circuit.
22. System according to claim 18, wherein the output circuit contains two multiple registers (31, 32), the data inputs of which are connected bitwise in parallel to a data bus (1) and the data-transfer inputs of which are controllable separately by the control unit (2), and wherein the output signals of the multiple registers (31, 32) are gated bitwise with one another and in each case with a pulse signal.
23. System for the input and/or output of signals of a digital control system, particularly for a printing press, from and/or to peripheral units, in which the output side of an input circuit and the input side of an output circuit are connected to a control unit and in which the input and/or output circuits are monitored, wherein a circuit (6) is provided in the control unit (2) for triggering an interrupt of the program run, the inputs of said circuit being associated with several parallel signals from the input circuit and with current-detecting signals from output stages.
24. System according to claim 23, wherein the circuit (6) for triggering an interrupt has an output (147) connected to the control unit (2), said output supplying an interrupt signal if a signal occurs at at least one of the inputs (141, 142), and wherein a register bit is provided for each input (141, 142), each register bit cooperating with said control unit (2) wherein the contents of each register bit is available for interrogation by the control unit (2).
25. System according to claim 23, including a control-word register (5) for disabling the individual signals supplied to the inputs (141, 142) as a function of the contents of the control-word register (5).
26. System according to claim 23, wherein the circuit (6) for triggering an interrupt of the program run has an output connected to the control unit (2), said output, if a signal occurs at one of the inputs, delivering a data word, the contents of which identify the respective input.
27. System for the input and/or output of signals of a digital control system, particularly for a printing press, from and/or to peripheral units, in which the output side of an input circuit and the input side of an output circuit are connected to a control unit and in which the input and/or output circuits are monitored, wherein an adapter circuit (12) and a digital filter (13), each for several parallel signals, are provided between the inputs (8) connected to the peripheral units (21, 22) and an input circuit (4) for several parallel signals, the filtering taking place over several periods of a supplied clock signal.
28. System according to claim 27, including a control-word register (5) for determining the number of periods as a function of the contents of the control-word register (5).
29. System according to claim 27, wherein the clock signal is derived by frequency division of a system clock signal, and wherein the division ratio is set as a function of the contents of a control-word register (5).
30. System according to claim 9, wherein the outputs of the output stages are designed as inputs/outputs (8), and including a programmed control unit (2) which sets each of the inputs/outputs (8) individually as input or output.
31. System according to claim 30, wherein the peripheral units (85) each have two connections, and wherein in each case one connection is connected to an input/output (8) of the system and the other connection (86) is connected to a reference potential (operating voltage or frame), and wherein the reference potential is supplied to a further input (91) of the adapter circuit (92) for control.
32. System according to claim 31, wherein the output stages of two series-connected transistors (81, 82) are used in the output stage, the respective output stage is controlled as a function of a reference potential whereby the transistor (81, 82) whose connection facing away from the output (84) is subjected to a voltage different from the reference potential is driven.
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
DEP3642500.1 | 1986-12-12 | ||
DE19863642500 DE3642500A1 (en) | 1986-12-12 | 1986-12-12 | SYSTEM FOR INPUT AND / OR OUTPUT OF SIGNALS FROM A DIGITAL CONTROL SYSTEM |
Publications (1)
Publication Number | Publication Date |
---|---|
CA1314599C true CA1314599C (en) | 1993-03-16 |
Family
ID=6316062
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CA000550520A Expired - Fee Related CA1314599C (en) | 1986-12-12 | 1987-10-28 | System for the input and/or output of signals of a digital control system |
Country Status (6)
Country | Link |
---|---|
EP (1) | EP0270871B1 (en) |
JP (1) | JP3115570B2 (en) |
CN (1) | CN1017194B (en) |
AU (1) | AU598865B2 (en) |
CA (1) | CA1314599C (en) |
DE (2) | DE3642500A1 (en) |
Families Citing this family (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
DE3839248A1 (en) * | 1988-11-21 | 1990-05-23 | Roland Man Druckmasch | DECENTRALIZED CONTROL CALCULATOR, IN PARTICULAR WITHIN A ROTATIONAL PRINTING MACHINE CONNECTED TO MULTIPLE PERIPHERAL UNITS BY A BUS |
DE4000295C2 (en) * | 1990-01-08 | 1994-05-19 | Heidelberger Druckmasch Ag | Device for diagnosing a control system of a printing press |
DE4136785C2 (en) * | 1991-11-08 | 2000-07-13 | Koenig & Bauer Ag | Clock generation device on printing machines |
DE4214394C2 (en) * | 1992-04-30 | 1998-08-20 | Asea Brown Boveri | Drive device for a rotary shaftless rotary printing machine |
DE9415342U1 (en) * | 1994-09-22 | 1995-01-26 | C. Haushahn Gmbh & Co, 70469 Stuttgart | Input and output system for elevator controls |
DE19506261A1 (en) * | 1995-02-23 | 1996-09-05 | Roland Man Druckmasch | Bus system for a printing press |
DE19815185A1 (en) | 1998-04-04 | 1999-10-07 | Roland Man Druckmasch | Control computer for a printing press |
CN117666450B (en) * | 2024-02-01 | 2024-04-12 | 瑞纳智能设备股份有限公司 | Control signal output circuit and control device |
Family Cites Families (21)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPS49107442A (en) * | 1973-02-15 | 1974-10-12 | ||
JPS539443A (en) * | 1976-07-15 | 1978-01-27 | Hitachi Ltd | Test system for electronic package |
JPS5341952A (en) * | 1976-09-29 | 1978-04-15 | Fujitsu Ltd | Two-way transmission system |
US4155115A (en) * | 1977-12-30 | 1979-05-15 | Honeywell Inc. | Process control system with analog output control circuit |
US4155116A (en) * | 1978-01-04 | 1979-05-15 | The Bendix Corporation | Digital control system including built in test equipment |
DE2824190A1 (en) * | 1978-06-02 | 1979-12-06 | Bosch Gmbh Robert | MICRO COMPUTER SYSTEM FOR THE CONTROL OF OPERATING PROCEDURES IN MOTOR VEHICLES, WITH A DIAGNOSTIC DEVICE FOR CHECKING THE VEHICLE |
DD141956A1 (en) * | 1979-02-20 | 1980-05-28 | Bernd Zimmermann | INSPECTION DEVICE FOR INPUT MODULES AND OUTPUT MODULES OF A PROGRAMMABLE CONTROL |
DE3229411A1 (en) * | 1981-08-06 | 1983-03-03 | Nissan Motor Co., Ltd., Yokohama, Kanagawa | Electronic device with self-monitoring for a motor vehicle |
DE3219270A1 (en) * | 1982-05-21 | 1983-11-24 | Siemens AG, 1000 Berlin und 8000 München | Arrangement for receiving data of electrical switching devices |
DE3234637A1 (en) * | 1982-09-18 | 1984-03-22 | Alfred Teves Gmbh, 6000 Frankfurt | METHOD AND CIRCUIT FOR CONTROLLING A BRAKE-SLIP CONTROL SYSTEM |
JPS59106061A (en) * | 1982-12-09 | 1984-06-19 | Fujitsu Ltd | Gathering system of trouble information |
IT1169166B (en) * | 1983-02-15 | 1987-05-27 | Gd Spa | FUNCTIONAL CONTROL SYSTEM OF INPUT CIRCUITS TO A CENTRAL CONTROL AND CONTROL UNIT FOR MACHINES AND / OR DEVICES USABLE IN PRODUCTION AND / OR PACKAGING LINES OF PRODUCTS |
DE3310403A1 (en) * | 1983-03-19 | 1984-09-20 | Joh. Vaillant Gmbh U. Co, 5630 Remscheid | Test method for testing a control or regulating device |
JPS60170854U (en) * | 1984-04-20 | 1985-11-12 | 日本電気株式会社 | microcomputer |
US4628397A (en) * | 1984-06-04 | 1986-12-09 | General Electric Co. | Protected input/output circuitry for a programmable controller |
DE3440025A1 (en) * | 1984-11-02 | 1986-05-07 | Pulsotronic Merten Gmbh & Co Kg, 5270 Gummersbach | Memory-programmable controller with a monitoring device for the alarm and/or actuating components |
JPS61118802A (en) * | 1984-11-15 | 1986-06-06 | Fuji Electric Co Ltd | Process input and output device of sequence controller |
DE3510425A1 (en) * | 1984-11-30 | 1986-06-05 | Brown, Boveri & Cie Ag, 6800 Mannheim | Method and device for error detection in microcomputer or process computer systems |
JPS61235771A (en) * | 1985-04-12 | 1986-10-21 | Hitachi Ltd | Diagnostic system for logical circuit |
JPS61290527A (en) * | 1985-06-19 | 1986-12-20 | Nec Corp | Internal information outputting system for printer device |
JPS62115548A (en) * | 1985-11-15 | 1987-05-27 | Toshiba Corp | Measuring value simulation information generating system |
-
1986
- 1986-12-12 DE DE19863642500 patent/DE3642500A1/en not_active Ceased
-
1987
- 1987-10-28 CA CA000550520A patent/CA1314599C/en not_active Expired - Fee Related
- 1987-11-09 AU AU80928/87A patent/AU598865B2/en not_active Ceased
- 1987-11-13 DE DE87116771T patent/DE3789205D1/en not_active Expired - Fee Related
- 1987-11-13 EP EP87116771A patent/EP0270871B1/en not_active Expired - Lifetime
- 1987-12-10 CN CN87108100A patent/CN1017194B/en not_active Expired
- 1987-12-12 JP JP62313173A patent/JP3115570B2/en not_active Expired - Lifetime
Also Published As
Publication number | Publication date |
---|---|
AU8092887A (en) | 1988-06-16 |
AU598865B2 (en) | 1990-07-05 |
EP0270871A2 (en) | 1988-06-15 |
CN87108100A (en) | 1988-07-27 |
JP3115570B2 (en) | 2000-12-11 |
DE3789205D1 (en) | 1994-04-07 |
DE3642500A1 (en) | 1988-06-23 |
EP0270871A3 (en) | 1990-07-04 |
CN1017194B (en) | 1992-06-24 |
JPS63159923A (en) | 1988-07-02 |
EP0270871B1 (en) | 1994-03-02 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CA1314599C (en) | System for the input and/or output of signals of a digital control system | |
EP0144180A1 (en) | Adjustable system for skew comparison of digital signals | |
US4926425A (en) | System for testing digital circuits | |
US5182803A (en) | System for inputting and/or outputting signals of a digital control system for a printing machine including a digital filter | |
US5144627A (en) | Test mode switching system for lsi | |
JPH04326410A (en) | Clock monitor device | |
JP3753797B2 (en) | Microcomputer device | |
JP2002043943A (en) | Analog output device | |
JP2536907B2 (en) | Diagnostic circuit having operation guarantee circuit | |
JPH06214895A (en) | Bus monitoring method | |
SU1751761A1 (en) | Automatic asynchronous device for tasting digital systems | |
RU2084899C1 (en) | Shaft rotation frequency meter | |
JP2531615B2 (en) | Integrated circuit | |
SU1141414A1 (en) | Device for checking digital units | |
JPS6213697B2 (en) | ||
SU1182559A1 (en) | Defice for indicating conditions of checked objects | |
SU1339503A1 (en) | Device for diagnostics of automatic control systems | |
SU1383361A1 (en) | Device for checking logical block | |
SU1659988A2 (en) | Parameters checker | |
JPS61286770A (en) | Apparatus for diagnosing trouble | |
JPS6236576A (en) | Diagnosing apparatus for system with several boards | |
JP2725680B2 (en) | Bus error detection circuit | |
SU749946A1 (en) | Unit for autooperator control of galvanic lines | |
SU783817A1 (en) | Device for detecting faults in signalling systems | |
JPH0611533A (en) | Fail-safe circuit of connection of a plurality of electronic circuits |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
MKLA | Lapsed |