DE4340144A1 - Copying machine copy detection and charging arrangement - Google Patents

Copying machine copy detection and charging arrangement

Info

Publication number
DE4340144A1
DE4340144A1 DE19934340144 DE4340144A DE4340144A1 DE 4340144 A1 DE4340144 A1 DE 4340144A1 DE 19934340144 DE19934340144 DE 19934340144 DE 4340144 A DE4340144 A DE 4340144A DE 4340144 A1 DE4340144 A1 DE 4340144A1
Authority
DE
Germany
Prior art keywords
counter
card
arrangement according
address
switch
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.)
Granted
Application number
DE19934340144
Other languages
German (de)
Other versions
DE4340144C2 (en
Inventor
Manfred Schmickler
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Individual
Original Assignee
Individual
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Individual filed Critical Individual
Priority to DE9321335U priority Critical patent/DE9321335U1/en
Priority to DE19934340144 priority patent/DE4340144C2/en
Publication of DE4340144A1 publication Critical patent/DE4340144A1/en
Application granted granted Critical
Publication of DE4340144C2 publication Critical patent/DE4340144C2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06MCOUNTING MECHANISMS; COUNTING OF OBJECTS NOT OTHERWISE PROVIDED FOR
    • G06M3/00Counters with additional facilities
    • G06M3/06Counters with additional facilities for printing or separately displaying result of count
    • GPHYSICS
    • G07CHECKING-DEVICES
    • G07CTIME OR ATTENDANCE REGISTERS; REGISTERING OR INDICATING THE WORKING OF MACHINES; GENERATING RANDOM NUMBERS; VOTING OR LOTTERY APPARATUS; ARRANGEMENTS, SYSTEMS OR APPARATUS FOR CHECKING NOT PROVIDED FOR ELSEWHERE
    • G07C3/00Registering or indicating the condition or the working of machines or other apparatus, other than vehicles
    • G07C3/08Registering or indicating the production of the machine either with or without registering working or idle time
    • G07C3/10Registering or indicating the production of the machine either with or without registering working or idle time using counting means

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Control Or Security For Electrophotography (AREA)

Abstract

The arrangement for copying and charging for copies produced by a copying machine includes a meter box connected to the copying machines. The meter box contains an electromechanical counting mechanism for detecting impulses coming from the copying machines. An on/off switch for each copying machine detects the state of the machine. A PC containing a counter card and an input/output card is connected to the meter box. The count impulses detected by the counting mechanism are input to the counter card of the PC. The states of switches in the meter box are read into the PC via the input/output card.

Description

Die Erfindung befaßt sich mit einer Anordnung zur Erfassung und Abrechnung von mittels Kopiermaschinen erzeugten Kopien.The invention relates to an arrangement for detection and Billing of copies made by copy machines.

Kopiermaschinen, oder einfach Kopierer genannt, enthalten üblicherweise ein fortlaufendes Zählwerk, so daß die jeweils erzeugten Kopien durch Bildung der Differenz einer Anfangszahl, die der Kopierer anzeigt, und der Endzahl nach Erstellung der Kopien am Zählwerk des Kopierers ermittelbar ist. Diese Methode erweist sich als sehr unübersichtlich und zeitraubend beispielsweise bei in Geschäften aufgestellten Kopiermaschinen, insbesondere wenn eine Mehrzahl von Kopiermaschinen vorhanden sind.Copy machines, or simply called copiers, included usually a continuous counter, so that each generated copies by forming the difference of an initial number, which the copier displays, and the final number after creation of the Copies on the counter of the copier can be determined. This method proves to be very confusing and time consuming for example, in copying machines set up in shops, especially when a plurality of copying machines exist are.

Der Erfindung liegt die Aufgabe zugrunde, die Erfassung von erzeugten Kopien und deren Abrechnung zu vereinfachen und zugleich auch den Leistungsumfang der einzelnen Kopiermaschinen zu erfassen, um damit insbesondere bei gewerblich genutzten Kopiermaschinen in Geschäften die Überwachung und Abrechnung zu sichern und wirtschaftlich zu gestalten.The invention is based, the detection of Simplify copies and their billing and at the same time the scope of services of the individual copy machines in order to be used in particular for commercial purposes Copy machines in stores monitoring and billing too secure and economical.

Erfindungsgemäß wird hierzu eine Anordnung zur Erfassung und Abrechnung von mittels Kopiermaschinen erzeugten Kopien und zur statistischen Erfassung des Leistungsumfanges mindestens einer, insbesondere mehrerer Kopiermaschinen gemäß den Merkmalen des Patentanspruches 1 vorgeschlagen.According to the invention for this purpose an arrangement for detecting and Billing of copies produced by copy machines and for statistical coverage of the scope of services of at least one in particular a plurality of copying machines according to the features of  Proposed claim 1.

Zur Realisierung der Erfindung zum Erfassen und zur Abrechnung von erzeugten Kopien wird erfindungsgemäß eine Zählerbox mit Schaltern eingesetzt, die einerseits an die Kopiermaschinen angeschlossen ist und die des weiteren mit einer Datenverarbeitungsanlage, insbesondere PC, verbunden ist, wobei diese Datenverarbeitungsanlage mit Bildschirm zusätzlich mit einer Schaltung ausgerüstet ist, die eine Zählerkarte und eine handelsübliche Eingangs-/Ausgangs-Karte mit 48 Ein-/Ausgängen enthält. Erfindungsgemäß ist vorgesehen, daß beide Karten in den Standarderweiterungsanschlüssen eines PC einsteckbar sind (ISA-Slot). Für die funktionsgerechte Nutzung dieser beiden Karten ist ein Programm vorgesehen, das als Interface-Software bezeichnet wird. Das Zusammenwirken von Zählerbox, PC mit Schaltung und Software ermöglicht die Erfassung von erzeugten Kopien an mehreren Kopiermaschinen und deren Abrechnung zu vereinfachen und ermöglichen eine statistische Erfassung des Leistungsumfanges einer oder mehrerer Kopiermaschinen. Die Schaltung ist hauptsächlich im Bereich langsamer Zählvorgänge einsetzbar, wobei die Höchstgrenze der Zählimpulsrate bei ca. 10000 Impulsen pro Sekunde liegt. Die Leistungsfähigkeit der erfindungsgemäß entwickelten Schaltung ist jedoch nicht nur auf das Gebiet des Einsatzes bei Kopiermaschinen beschränkt. Auch andere Anwendungsgebiete, bei denen, ausgehend von mehreren Anlagen, erzeugte Produkte gezählt werden sollen, sind denkbar.For the realization of the invention for recording and billing produced copies is inventively a counter box with Used on the one hand to the copying machines is connected and the other with a Data processing system, in particular PC, is connected, wherein this data processing system with screen in addition with a circuit that has a counter card and a Commercially available input / output card with 48 inputs / outputs contains. According to the invention it is provided that both cards in the standard extension ports of a PC are plugged (ISA slot). For the functional use of these two Maps is a program designed as interface software referred to as. The interaction of counter box, PC with Circuit and software allows the capture of generated Copies to multiple copy machines and their settlement too simplify and enable a statistical recording of the Scope of services of one or more copy machines. The Circuit is mainly in the area of slow counting can be used, wherein the maximum limit of the count rate at about 10000 pulses per second. The efficiency However, the circuit developed according to the invention is not only limited to the field of use in copy machines. Also other applications in which, starting from several plants, products to be counted are to be counted conceivable.

Weitere Ausgestaltungen der Erfindung sind den kennzeichnenden Merkmalen der Unteransprüche entnehmbar. Nachfolgend wird die Erfindung anhand eines Ausführungsbeispieles dargestellt und erläutert. Hierbei zeigtFurther embodiments of the invention are the characterizing Removable features of the dependent claims. Below is the Invention illustrated with reference to an embodiment and explained. This shows

Fig. 1 eine Anlage zum Erfassen und Abrechnen von erzeugten Kopien mit 6 Kopierern in schematischer Darstellung, Fig. 1 is a system for detecting and billing of copies produced with 6 copiers in a schematic representation;

Fig. 2 den schematischen Aufbau der Schaltung innerhalb des PC, Fig. 2 shows the schematic construction of the circuit within the PC,

Fig. 3 das Blockschaltbild der Zählerkarte. Fig. 3 is a block diagram of the counter card.

Zuerst wird der Aufbau der Hardware für die Anlage sowie die Funktionen beschrieben.First, the structure of the hardware for the system and the Functions described.

Anhand des in Fig. 1 dargestellten Beispieles einer möglichen Konfiguration soll die grundsätzliche Funktion und Aufbau der Erfindung erläutert werden. Es sind im Beispiel 6 Kopiermaschinen - Kopierer 1 bis 6 - an eine Zählerbox über die Impulsleitungen angeschlossen. Die Zählerbox enthält Schalter 1 bis 6, so daß jedem Kopierer ein Schalter zugeordnet ist. Die Zählerbox enthält des weiteren elektromechanische Zählwerke, wobei ebenfalls jedem Kopierer ein elektromechanisches Zählwerk zugeordnet ist. In der Zählerbox werden die von den Kopierern kommenden Impulse auf den elektromechanischen Zählwerken erfaßt. Von dieser Zählerbox werden die Zählimpulse dann über ein geeignetes Kabel - Impulsleitungen - in die Datenverarbeitungsanlage, hier PC mit Bildschirm, und zwar in die in den PC angeschlossene Zählerkarte eingespeist. Der PC enthält neben der Zählerkarte auch die handelsübliche Eingangs-/Ausgangskarte mit 48 Ein-/Ausgängen. Die Schaltzustände der in der Zählerbox enthaltenen Schalter werden über die E/A-Karte, auch im PC befindlich, eingelesen. Die Zustände aller Schalter werden über die sogenannten Freigabeleitungen von der Zählerbox zur E/A-Karte im PC geleitet. Ebenfalls sind die Kopierer 1 bis 6 über Freigabeleitungen an die Schalter der Zählerbox angeschlossen.Based on the example of a possible configuration shown in Fig. 1, the basic function and structure of the invention will be explained. In the example, 6 copy machines - copiers 1 to 6 - are connected to a counter box via the impulse lines. The counter box contains switches 1 to 6 so that each copier is assigned a switch. The counter box also contains electromechanical counters, wherein also each copier is associated with an electromechanical counter. In the counter box, the pulses coming from the copiers are detected on the electromechanical counters. From this Zählerbox the counts are then fed via a suitable cable - impulse lines - in the data processing system, here PC with screen, in the connected to the PC counter card. In addition to the counter card, the PC also contains the commercially available input / output card with 48 inputs / outputs. The switching states of the switches contained in the counter box are read in via the I / O card, also located in the PC. The states of all switches are routed via the so-called enable lines from the counter box to the I / O card in the PC. Also, the copiers 1 to 6 are connected via enable lines to the switch of the counter box.

In der Fig. 2 ist schematisch der Aufbau des PC mit Hardware und Software dargestellt. Der PC enthält die Zählerkarte, die als 24-Kanal-Zählerkarte mit 24 Kanälen ausgebildet ist, sowie die E/A-Karte. Die Verknüpfung der beiden Karten erfolgt über die Interface-Software. Diese wird von dem Benutzer über die Benutzeroberfläche angesprochen, beispielsweise gibt der Benutzer die Zähler/Kopierernummer ein. Die richtige Weitergabe an den PC und über die Zählerbox an die Kopiermaschine erfolgt innerhalb der Interface-Software. FIG. 2 schematically shows the structure of the PC with hardware and software. The PC contains the counter card, which is designed as a 24-channel counter card with 24 channels, as well as the I / O card. The two cards are linked via the interface software. This is addressed by the user via the user interface, for example, the user inputs the counter / copier number. The correct transfer to the PC and via the counter box to the copying machine takes place within the interface software.

Hat zum Beispiel der Schalter des Kopierers Nr. 5 den Zustand "Ein", so ist die Kopiermaschine freigeschaltet und somit in der Lage Kopien zu erzeugen. Diesen Zustand erkennt auch die E/A-Karte im PC. Die in Fig. 2 genannte Interface-Software ist dafür verantwortlich, daß ein Auslesen des entsprechenden elektronischen Zählers auf der 24-Kanal Zählerkarte vermieden wird, solange sich der Schalter Nr. 5 im Schaltzustand "Ein" befindet. Erst wenn der Schalter Nr. 5 seinen Zustand von "Ein" auf "Aus" ändert, kann der zugehörige elektronische Zähler ausgewertet werden. Nach dem Auswerten wird die Interface-Software den elektronischen Zähler zurücksetzen. Der Benutzer der Schaltung sieht jedoch von diesen Initialisierungs- und Auswerteschritten nur das Zählergebnis. Auf dem Bildschirm B des PC sieht er die von der Software erstellte Benutzeroberfläche, die gegebenenfalls die Abrechnung und zugehörige Funktionen bereitstellt. Über die bereitgestellte Interface-Software können verschiedene Benutzeroberflächen das 24 Kanal-Zählersystem nutzen.If, for example, the switch of the copier No. 5 has the status "on", then the copying machine is unlocked and thus able to produce copies. This condition is also recognized by the I / O card in the PC. The mentioned in Fig. 2 interface software is responsible for ensuring that a readout of the corresponding electronic counter on the 24-channel counter card is avoided, as long as the switch no. 5 is in the switching state "on". Only when the switch No. 5 changes its state from "on" to "off", the associated electronic counter can be evaluated. After evaluation, the interface software will reset the electronic counter. However, the user of the circuit sees only the count result of these initialization and evaluation steps. On the screen B of the PC, he sees the user interface created by the software, which optionally provides the billing and related functions. The supplied interface software allows various user interfaces to use the 24-channel counter system.

Wie aus dem Blockschaltbild der Zählerkarte gemäß Fig. 3 ersichtlich, besteht die Zählerkarte aus 3 Funktionsgruppen. Dies sind der Optokopplerblock, der Zählerblock - Counters - und die Schnittstelle zur PC-Elektronik (Decodier- und Datentreiber).As can be seen from the block diagram of the counter card according to FIG. 3, the counter card consists of 3 functional groups. These are the optocoupler block, the counter block - counters - and the interface to the PC electronics (decoder and data driver).

Aufgabe des Optokopplerblockes ist es, eine galvanische Trennung der Kopierer und deren Elektronik von der PC-Elektronik zu ermöglichen. Um dieses zu erreichen, wird ein Optokoppler-Baustein, zum Beispiel ein PC849 eingesetzt. Hier werden die Zählimpulse von bis zu vier Kopierern pro Baustein in Lichtimpulse (IR-Diode) im infraroten Bereich gewandelt und auf einen lichtempfindlichen Transistor (IR-Transistor) geleitet. Der Transistor wandelt und verstärkt das Lichtsignal in einen elektrischen Impuls. Durch diese Übertragung des Zählimpulses über eine Lichtstrecke wird die elektrische (galvanische) Trennung von PC- und Kopierer-Elektronik erreicht. Ein weiterer Effekt ist die sogenannte Pegel-Anpassung der Signale durch die Optokoppler. Dies bedeutet, daß die Impulse der Kopierer mit zum Beispiel 24 Volt in die Zählerkarte und damit in die Optokoppler eingespeist werden, jedoch die Ausgangsseite der Optokoppler, die Zählimpulse mit einem Pegel von 5 Volt an die Zählerbausteine weitergeben. Hierzu sind die in der Eingangsseite dem Optokoppler vorgeschalteten Widerstände vorgesehen, sie dienen der Stromanpassung und Stromlimitierung für die IR-Diode. Der vorzuschaltende Widerstand berechnet sich wie folgt:The task of the optocoupler block is to provide a galvanic Separation of the copiers and their electronics from the To enable PC electronics. To achieve this, one becomes Optocoupler module, for example, a PC849 used. Here are the counts of up to four copiers per block converted into light pulses (IR diode) in the infrared range and on a photosensitive transistor (IR transistor) directed. The transistor converts and amplifies the light signal into an electrical impulse. Through this transfer of Counting over a light range becomes the electric one (galvanic) separation of PC and copier electronics reached. Another effect is the so-called  Level adjustment of the signals by the optocouplers. This means that the pulses of the copier with, for example, 24 volts fed into the counter card and thus into the optocouplers However, the output side of the optocoupler, the Counts with a level of 5 volts to the counter blocks pass on. These are the in the input side the Optocouplers provided upstream resistors, they serve the current adjustment and current limitation for the IR diode. The The resistance to be connected is calculated as follows:

Optimaler Strom durch IR-Diode Iopt = 10 mA (laut Hersteller)
Impulspegel der Kopierer Uimp = 24 Volt
Spannungsabfall an IR-Diode UIR-Diode = 5 Volt
Vorwiderstand Rvor = (24-5)/0.01 (V/A) = 1900 Ohm.
Optimal current through IR diode I opt = 10 mA (according to manufacturer)
Pulse level of the copier U imp = 24 volts
Voltage drop across IR diode U IR diode = 5 volts
Series resistor R before = (24-5) /0.01 (V / A) = 1900 ohms.

Auf der Ausgangsseite der Optokoppler werden die Transistoren über einen Pull-Up Widerstand auf einen Pegel von 5 Volt gebracht. Wird einer der Ausgangstransistoren durch einen Zählimpuls auf der Eingangsseite angesteuert und damit durchgeschaltet, fällt die Spannung über den Transistor (5V) auf eine Spannung von ca. 0.2-0.3 Volt ab. Dieser Spannungswechsel führt bei dem angeschlossenen Zähler dazu, daß er seinen internen Wert um den Wert 1 dekrementiert.On the output side of the opto-couplers are the transistors via a pull-up resistor to a level of 5 volts brought. If one of the output transistors by a Counting pulse on the input side activated and thus turned on, the voltage drops across the transistor (5V) to a voltage of about 0.2-0.3 volts. This Voltage change leads to the connected counter that it decrements its internal value by the value 1.

Die Optokopplerausgänge werden auf die 24 Takteingänge (CLK) der Zählerbausteine geführt.The optocoupler outputs are connected to the 24 clock inputs (CLK) led the counter blocks.

Aufbau des Zählerblockes:
Auf der 24 Kanal-Zählerkarte befinden sich 8 Zählerbausteine des Typs 82C54 (von AMD, -CMOS Programmable Interval Timer). Es handelt sich dabei um einen stromsparenden CMOS-Baustein. Jeder dieser 8 Zählerbausteine beinhaltet drei 16-Bit Zähler sowie ein Steuerregister für diese Zähler. Das Steuerregister dient der Programmierung und der Festlegung der Art des Zugriffes auf die Zähler. Die Zähler werden durch externe Taktimpulse, die auf die Takteingänge (CLK) geführt werden, getriggert. Gezählt wird dann, wenn die Eingangsimpulse am Takteingang (CLK) von 5 Volt auf unter 0.7 Volt fallen. Dies wird als eine negative Flanke eines Signals bezeichnet. Da es sich bei den Zählerbausteinen um sogenannte TTL-kompatible Schaltungen handelt, kann man auch von einem Wechsel des Eingangssignales von logisch "1" auf logisch "0" sprechen. Nach Eingang der negativen Flanke, dekrementiert der Zähler seinen momentanen Wert um 1.
Structure of the counter block:
On the 24-channel counter card there are 8 counter blocks of the type 82C54 (from AMD, -CMOS Programmable Interval Timer). It is a low-power CMOS device. Each of these 8 counter blocks contains three 16-bit counters and a control register for these counters. The control register is used for programming and determining the type of access to the counters. The counters are triggered by external clock pulses applied to the clock inputs (CLK). Counting occurs when the input pulses at the clock input (CLK) drop from 5 volts to less than 0.7 volts. This is called a negative edge of a signal. Since the counter modules are so-called TTL-compatible circuits, one can also speak of a change of the input signal from logic "1" to logical "0". After receipt of the negative edge, the counter decrements its current value by 1.

Der Zählerstand muß vor und nach dem Zählvorgang bekannt sein. Dazu wird durch eine Adressierlogik ein entsprechender Zähler des Zählbausteines aktiviert. Wird ein Startwert von zum Beispiel Zähler Nr. 5 von der Interface-Software nach dem Auslesen gespeichtert, so kann nach Beendigung des Kopiervorganges der Endwert ausgelesen werden und über Differenzbildung von Startwert minus Endwert die Summe der eingegangenen Impulse und damit die Anzahl der gemachten Kopien errechnet werden. Es ist darauf zu achten, daß die Zähler rückwärts in Richtung 0 zählen.The count must be known before and after the count. For this purpose, an appropriate counter is provided by addressing logic of the counting block activated. Is a starting value of the Example counter no. 5 of the interface software after the Reading out saved, so can after completion of the Copying the end value are read out and over Difference of start value minus end value the sum of received impulses and thus the number of copies made be calculated. It is important to note that the counters count backwards towards 0

Die Zähler sind durch die Interface-Software so programmiert, daß sie als 16-Bit Zähler arbeiten. Dieses bedeutet, daß ihre maximale Differenz zwischen dem Start und dem Endwert einer Zählung bei 2¹⁶- 1 = 65535 liegt. Um nun einen 16-Bit Wert auslesen zu können, müssen zwei Lesezugriffe auf diesen Zähler erfolgen. Dies liegt an der 8-Bit Architektur des Bausteines 82C54. Ebenso muß die Interface-Software den Baustein so programmieren, daß bei einem Lesezugriff beide 8-Bit Register, die zusammen einen 16-Bit Zähler erzeugen, in der richtigen Reihenfolge ausgelesen werden. Dabei repräsentiert eines der beiden 8-Bit Zähler das Most Significant Byte (MSB) und das andere 8-Bit Register das Least Significant Byte (LSB) des 16-Bit Zählers. Bei einem Lesezugriff auf einen 16-Bit Zähler wird zunächst der niederwertige 8-Bit Teil (LSB) dann der höherwertige Teil (MSB) ausgelesen. Der Zählerstand ergibt sich aus Zählerstand = 256* MSB + LSB. Diese Berechnung erfolgt innerhalb der Interface-Software.The counters are programmed by the interface software that they work as a 16-bit counter. This means that theirs maximum difference between the start and the end value of a Count at 2¹⁶- 1 = 65535 is. To get a 16-bit value To be able to read out must have two read accesses to this counter respectively. This is due to the 8-bit architecture of the device 82C54. Likewise, the interface software must be the building block program that, for a read access, both 8-bit registers, which together produce a 16-bit counter, in the right one Order to be read out. It represents one of the Both 8-bit counters have the Most Significant Byte (MSB) and the other 8-bit registers the Least Significant Byte (LSB) of the 16-bit counter. For a read access to a 16-bit counter First, the least significant 8-bit part (LSB) is the higher value part (MSB) read out. The count results off counter reading = 256 * MSB + LSB. This calculation is done within the interface software.

Der Auslesevorgang ist jedoch erst dann möglich, wenn eine einwandfreie Adressierung des Bausteines 82C54 erfolgt. However, the read-out process is only possible if a faultless addressing of the block 82C54.  

Zunächst muß der CE-Eingang des Bausteines auf logisch "0" (U < = 0.7 Volt) liegen. Damit sind die internen Register des Bausteines ansprechbar. Der Schreib-/Lesezugriff auf einen der drei Zähler wird durch Adressleitungen A0 und A1 eingeleitet.First, the CE input of the block must be set to logical "0" (U <= 0.7 volts) are. Thus the internal registers of the Blocks addressable. The read / write access to one of three counters are initiated by address lines A0 and A1.

Dabei ist immer nur einer der 3 Zähler ansprechbar. In der nachfolgenden Tabelle werden die vier möglichen Zustände der an den Zählern angeschlossenen Adressleitungen aufgelistet, sowie die dadurch angesprochenen Register innerhalb des Zählerbausteines.Only one of the 3 counters can be addressed. In the The following table shows the four possible states of the address lines connected to the counters are listed, as well as the registers thus addressed within the Counter module.

Tabelle 1 Table 1

Da sich jedoch 8 Zählerbausteine auf der Zählerkarte befinden, muß zusätzlich zu der in den Bausteinen befindlichen Adressierlogik, die einen von 3 internen Zählern adressiert, eine externe Adressier- und Decodierlogik installiert sein, die einen der 8 möglichen Zählerbausteine anspricht.However, since there are 8 counter modules on the counter card, must be in addition to that in the blocks Addressing logic addressing one of 3 internal counters, an external addressing and decoding logic to be installed, the addresses one of the 8 possible counter blocks.

Der Zählerbaustein kann über Steueranschlüsse /RD und /WR erkennen, ob es sich um einen Schreib- oder Lesezugriff handelt. Im inaktiven Zustand befinden sich beide Leitungen im logisch "1" Zustand. Handelt es sich um einen Schreibzugriff, so fällt die /WR-Leitung auf logisch "0". Entsprechend fällt bei einem Lesezugriff die Leitung /RD auf logisch "0" Level. Eine Aktivierung durch Pegelwechsel von logisch "1" nach logisch "0" nennt man "Activ Low" Adressierung, da eine Aktivierung durch den niedrigen Spannungspegel (Low Level) eingeleitet wird. Nach Beendigung eines Schreib- oder Lesezugriffes gehen beiden Leitungen wieder in den Zustand logisch "1" über. The counter module can be connected via control connections / RD and / WR detect if it is a read or write is. When inactive, both lines are in the logical "1" state. Is it a write access, the / WR line drops to logical "0". Accordingly falls with a read access the line / RD to logical "0" level. Activation by level change from logic "1" to logical "0" is called "active low" addressing, as a Activation by the low voltage level (low level) is initiated. After completion of a write or Read access will return both lines to the state logical "1" over.  

Aufbau der Decodier- und Treiberlogik mit einem DIP-Schalter, einem Adress-Logikbaustein, einem Datentreiber-Baustein und einem Decodierbaustein:
Die Adressier- und Treiberlogik erfüllt zwei Aufgaben. Die eine ist die Trennung des PC-internen Datenbusses von dem Daten auf der 24-Kanal Zählerkarte, die andere Aufgabe besteht darin, einen der achte Zählerbausteine zu adressieren.
Structure of the decoder and driver logic with a DIP switch, an address logic module, a data driver module and a decoding module:
The addressing and driver logic fulfills two tasks. One is the separation of the PC internal data bus from the data on the 24-channel counter card, the other task is to address one of the eighth counter blocks.

Die Decodierung läuft wie folgt ab. Durch die DIP-Schalter (DIP-SW 1-8) kann eine Adresse eingestellt werden, unter der die 24-Kanalzählerkarte ansprechbar ist. Diese erste Stufe des Vergleiches von angelegter Adresse durch den PC und der durch die DIP-Schalter festgelegten Adresse, im weiteren Basisadresse genannt, erfolgt in dem Adress-Logikbaustein 74LS688 (Texas Instruments). Sind die PC-Adresse und die festgelegte Adresse identisch, so fällt die Ausgangsleitung des 74LS688 (P = Q) auf logisch "0". Ist dieser Zustand erreicht, so wird einerseits der Datentreiber 74LS245 (Texas Instruments) (PIN 19) und andererseits der Decodierbaustein 74HCT138 (Texas Instruments) (PIN 4+5) aktiviert. Dieser Baustein ist in der Lage mit 3 Adressleitungen 8 Ausgänge zu decodieren (2³ = 8). Die 8 Ausgänge (Y0-Y7) des 74HCT138 werden auf die CS-Eingänge (Chip-Select PIN 21) der Zählerbausteine 82C54 geleitet. Es fällt immer nur einer der acht Ausgänge auf logisch "0" (1 aus 8 Decodierung).The decoding proceeds as follows. Through the DIP switches (DIP-SW 1-8), an address can be set under which the 24-channel counter card can be addressed. This first stage of the Comparison of created address by the PC and by the DIP switch specified address, in the further base address called, takes place in the address logic module 74LS688 (Texas Instruments). Are the PC address and the specified address identical, the output line of the 74LS688 (P = Q) is noticeable logical "0". If this state is reached, then on the one hand the data driver 74LS245 (Texas Instruments) (PIN 19) and on the other hand, the decoder module 74HCT138 (Texas Instruments) (PIN 4 + 5) activated. This building block is capable with 3 Address lines 8 outputs to decode (2³ = 8). The 8th Outputs (Y0-Y7) of the 74HCT138 are applied to the CS inputs (Chip Select PIN 21) of the counter modules 82C54 passed. It only one of the eight outputs ever drops to logic "0" (1) 8 decoding).

Um einen der 8 Zählerbausteine zu decodieren, müssen also folgende Bedingungen erfüllt sein:So to decode one of the 8 counter blocks, so must the following conditions are fulfilled:

  • 1. Die Basisadresse liegt am Adressvergleicher 74LS688 an beiden 8-Bit Eingängen an. (Ausgang /P = Q von 74LS688 = logisch "0"),1. The base address is located at the address comparator 74LS688 both 8-bit inputs. (Output / P = Q of 74LS688 = logical "0"),
  • 2. Der Baustein 74HCT138 decodiert einen der 8 Ausgänge.2. The 74HCT138 device decodes one of the 8 outputs.

Beispiel zur Einstellung der Basisadresse an den DIP-Schaltern: Example for setting the base address at the DIP switches:  

Tabelle 2 Table 2

Am Adressvergleicher müssen jetzt die Adressleitungen A6-A12 den gleichen Wert repräsentieren wie die durch die DIP-Schalter generierte Adresse. Die Reihenfolge der Adressleitungen ist bautechnisch bedingt, sie entspricht aber den in Tabelle 2 aufgelisteten Schaltern, d. h. SW1 entspricht im Vergleicher 74LS688 der Adressleitung A6; der SW2 der Adressleitung A7 usw.The address comparator now requires the address lines A6-A12 represent the same value as that provided by the DIP switches generated address. The order of the address lines is due to technical reasons, but it corresponds to that in Table 2 listed switches, d. H. SW1 corresponds to the comparator 74LS688 of address line A6; the SW2 of the address line A7 etc.

Tabelle 3 Table 3

Adresse = 320 (2⁸+2⁶)= 256 + 64Address = 320 (2⁸ + 2⁶) = 256 + 64

Somit ergibt sich für die Adressierung der 8 Zählerbausteine folgende Tabelle:
Die Adressleitungen A3-A5 liegen am 74HCT138 an.
This results in the following table for addressing the 8 counter blocks:
The address lines A3-A5 are connected to the 74HCT138.

Tabelle 4 Table 4

Um einen Zähler innerhalb eines Zählerbausteines zu decodieren, muß wie folgt vorgegangen werden:To decode a counter within a counter block, the procedure must be as follows:

  • 1. Ermitteln des Zählerbausteines, in dem sich der zu decodierende Zähler befindet.1. Determining the counter module in which the to decoding counter is located.
  • 2. Ermitteln, welcher der drei Zähler innerhalb des Zählbausteines angesprochen werden soll.2. Determine which of the three counters within the Counting blocks should be addressed.
Beispiel 1example 1

Gesucht: Adresse von Zähler 7.
Zähler 7 ist der erste Zähler im Baustein Nr. 3. Daraus ergibt sich nach Tabelle 4 und Tabelle 1: Adresse = 336 + 0 = 336.
Wanted: address of counter 7.
Counter 7 is the first counter in block no. 3. This results according to Table 4 and Table 1: Address = 336 + 0 = 336.

Beispiel 2Example 2

Gesucht: Adresse von Zähler 21:
Zähler 21 ist der dritte Zähler im Zählerbaustein 7. Nach Tabelle 4 und Tabelle 1 ergibt sich: Adresse = 368 + 2 = 370.
Wanted: address of counter 21:
Counter 21 is the third counter in counter module 7. Table 4 and Table 1 show: Address = 368 + 2 = 370.

Der Benutzer gibt nur die Zähler/Kopierernummer ein (Benutzeroberfläche). Die Adressberechnung geschieht innerhalb der Interface-Software, die dann die Decodierlogik anspricht.The user enters only the counter / copier number (User interface). The address calculation happens within the interface software, which then responds to the decoding logic.

Die zweite Aufgabe der Decodier- und Treiberlogik liegt in der Trennung des Datenbusses des PC von den Datenleitungen der Zählerbausteine. Dies geschieht durch den Baustein 74LS245. Dies ist ein bidirektionaler Datentreiber. Er ist in der Lage, 8 Datenleitungen entweder in die Richtung A→B oder von B→A zu treiben. Die Datenrichtung wird durch die Steuerleitung/IOR (Input-Output Read) bestimmt. Fordert der Rechner Daten von der Zählerkarte an, so fällt die Steuerleitung auf logisch "0" und der Datentreiber schaltet in Richtung des PC-Datenbusses.The second task of the decoding and driver logic is in the Separation of the data bus of the PC from the data lines of the Counter modules. This is done by the module 74LS245. This is a bidirectional data driver. He is capable 8 Data lines either in the direction A → B or from B → A to float. The data direction is controlled by the control line / IOR (Input-Output Read). Requests the computer data from the Counter card, the control line falls to logical "0" and the data driver switches in the direction of the PC data bus.

Entsprechend umgekehrt, also in Richtung der Zählerbaustein-Datenleitungen, schaltet der 74LS245, wenn Daten in die Zählerbausteine geschrieben werden. Um jedoch vollständig aktiviert zu werden, muß gleichzeitig der Eingang /G (PIN1) auf logisch "0" fallen. Dies geschieht nur dann, wenn Basisadresse gleicher Adresse ist, die durch die Schaltzustände der DIP-Schalter generiert wird. Correspondingly reversed, ie in the direction of Counter module data lines, the 74LS245 switches when data written to the counter blocks. However to be fully activated, the input must simultaneously / G (PIN1) to logic "0". This only happens when Base address is the same address, by the switching states the DIP switch is generated.  

Die E/A-Karte ist die zweite Baugruppe innerhalb des 24-Kanal Zählersystems (siehe Fig. 2). Die E/A-Karte ist eine handelsübliche parallele Ein-/Ausgabekarte. Basis dieser Karte sind die Bausteine 82C55. Bei diesem Baustein besteht die Möglichkeit, die 24 digitalen Kanäle zu jeweils drei Gruppen à 8, als Ein- oder Ausgänge zu benutzen. Da auf der Karte zwei solcher Bausteine vorhanden sind, besteht die Möglichkeit, 48 Kanäle insgesamt zu benutzen. Im Falle des 24-Kanal Zählersystems besteht die Aufgabe der E/A-Karte darin, die auf der Zählerbox vorhandenen Schalter auszulesen (siehe Fig. 1). Um dies zu realisieren, müssen die digitalen Kanäle der E/A-Bausteine 82C55 als digitale Eingänge programmiert sein. Dies realisiert wiederum die Interface-Software. Die Zustände der Schalter werden dann als logisch "1" für EIN-Position und losch "0" für die AUS-Position an die Interface-Software weitergegeben. Über diese Zustände wird dann das Ein- und Ausschalten der Zählkanäle signalisiert. Dies ist notwendig, um u. a. ein verfrühtes Auslesen der Zählerbausteine zu verhindern.The I / O card is the second assembly within the 24-channel counter system (see FIG. 2). The I / O card is a commercially available parallel I / O card. This card is based on the building blocks 82C55. With this block it is possible to use the 24 digital channels, each with three groups of 8, as inputs or outputs. Since there are two such devices on the card, it is possible to use 48 channels in total. In the case of the 24-channel counter system, the task of the I / O card is to read the switches present on the meter box (see Figure 1). To realize this, the digital channels of the I / O modules 82C55 must be programmed as digital inputs. This in turn realizes the interface software. The states of the switches are then passed as logical "1" for ON position and clear "0" for the OFF position to the interface software. These states then signal the switching on and off of the counting channels. This is necessary, inter alia, to prevent premature readout of the counter modules.

Das Bindeglied zwischen der vorangehend beschriebenen Hardware mit Zählerbox und PC sowie der Benutzer-Software wird von der Interface-Software gebildet, die mehrere Funktionen zur Verfügung stellt.The link between the hardware described above with counter box and PC as well as the user software is provided by the Interface software formed, which has multiple functions Provides.

Die Interface-Software ermöglicht es sowohl eine Grundinitialisierung der Zählerkarte als auch der digitalen Eingangs- und Ausgangskarte, i.w. E/A-Karte genannt, durchzuführen. Weitere Funktionen dienen zur Abfrage der einzelnen Zählerstände und der Schaltzustände der an der E/A-Karte angeschlossenen Schalter. Ebenso werden Funktionen bereitgestellt, die eine Simulation der Zählerkarte und der E/A-Karte bewirken.The interface software allows both a Basic initialization of the counter card as well as the digital one Entrance and exit ticket, i.w. Called I / O card, perform. Other functions are used to query the individual meter readings and the switching states at the I / O card connected switch. Likewise, functions become provided a simulation of the counter card and the Effect I / O card.

Als zusätzliche Funktionen stehen Routinen zur Codierung und Decodierung von Texten zur Verfügung. Nicht hardwarebezogene Prozeduren werden am Ende der Beschreibung genannt und ihre Funktionsweise erklärt. As additional functions are routines for coding and Decoding of texts available. Not hardware related Procedures are mentioned at the end of the description and their Function explained.  

Bei den anschließend beschriebenen Routinen wird zunächst der Name des Programmabschnittes angegeben. Im Anschluß dazu erscheint eine Erläuterung zu den Übergabeparametern. Erst dann folgt die Darstellung der Funktionsweise der Routine.In the following described routines is first the Name of the program section specified. Following this an explanation of the transfer parameters appears. Only follows the presentation of the operation of the routine.

1. INITALL1. INITIAL

Syntax: int INITALL (int P1)
Übergabeparameter: P1 = 0 Grundinitialisierung
P1 << 0 Neuinitialisierung
Rückgabewert: keine Bedeutung.
Syntax: int INITALL (int P1)
Transfer parameter: P1 = 0 basic initialization
P1 << 0 reinitialization
Return value: no meaning.

Initall führt eine Grundinitialisierung des gesamten Zählersystems durch. Diese Initialisierung erstreckt sich über die Zählerkarte und die E/A-Karte. Der Benutzer hat dabei die Möglichkeit, zwischen einer Neuinitialisierung und einer Standardinitialisierung zu wählen. Ist P1 gleich 0, so wird eine Standardinitialisierung durchgeführt. Dabei wird aus einem Datensatz der letzte abgespeicherte Gesamtzustand des Zählsystems wiederhergestellt. Es soll damit verhindert werden, daß ein unterbrochenes Rechnersystem auch zu einem "Absturz" des Zählersystems führt. Die Neuinitialisierung wird immer dann durchgeführt, wenn P1 mit einem von 0 unterschiedlichen Integerwert übergeben wird. Dies ist immer dann notwendig, wenn das Zählersystem /Rechnersystem elektrisch abgeschaltet wurde. Nach einer Neuinitialisierung sind alle Zähler auf 0 gesetzt.Initall performs a basic initialization of the entire Counter system through. This initialization extends over the counter card and the I / O card. The user has the Possibility between a reinitialization and a Default initialization. If P1 equals 0, then performed a standard initialization. It is from a Record the last saved total state of the Counting system restored. It should be prevented that a broken computer system also leads to a "crash" of the meter system leads. The reinitialization will always be performed when P1 with one of 0 different Integer value is passed. This is always necessary when the meter system / computer system has been switched off electrically. After a reinitialization all counters are set to 0.

2. INITONE22. INITONE2

Syntax: int INITONE2 (int P1, unsigned P2)
Übergabeparameter: P1 Kopierernummer
P2 Integer mit Initialisierungs-Offset der Kopien
Rückgabewert: keine Bedeutung.
Syntax: int INITONE2 (int P1, unsigned P2)
Transfer parameter: P1 Copier number
P2 Integer with initialization offset of the copies
Return value: no meaning.

Initone 2 führt eine Initialisierung des mit P1 bezeichneten Zählers durch. Dabei kann mit P2 der Startwert des Zählers gesetzt werden. Ist P1 außerhalb des Bereiches 0-23, wird die Prozedur sofort beendet.Initone 2 performs an initialization of the designated P1 Counter by. With P2, the starting value of the counter can be set. If P1 is outside the range 0-23, the  Procedure immediately ended.

Beispiel:
Initone2. (4,0) setzt den Zähler mit der laufenden Nummer 4 auf 0.
Initone2 (6,248) setzt Zähler Nummer 6 auf den Startwert 248.
Example:
Initone2. (4,0) sets the counter with the serial number 4 to 0.
Initone2 (6.248) sets counter number 6 to the starting value 248.

3. COUNTERREAD3. COUNTERREAD

Syntax: unsigned COUNTERREAD (int P1, unsigned *P2)
Übergabeparameter: P1 Kopierernummer
P2 Zeiger auf unsigned Integer (Referenzübergabe)
Rückgabewert: unsigned Zählerstand/-1 wenn das Auslesen nicht möglich ist.
Syntax: unsigned COUNTERREAD (int P1, unsigned * P2)
Transfer parameter: P1 Copier number
P2 pointer to unsigned integer (reference transfer)
Return value: unsigned counter reading / -1 if readout is not possible.

Counterread liest den mit P1 bezeichneten Zähler aus. Dabei schreibt die Funktion den Zählerstand sowohl in die durch den Zeiger P2 adressierte Variable, als auch auf den Stack, so daß die Prozedur Counterread den Charakter einer Funktion besitzt.Counterread reads out the counter labeled P1. there the function writes the meter reading both to the meter Pointer P2 addressed variable, as well as on the stack, so that the procedure Counterread has the character of a function.

Beispielexample

Unsigned Var1, Var2; // beide Variablen vom Typ unsigned Var1 = Counterread (3, & Var2).Unsigned Var1, Var2; // both variables of type unsigned Var1 = Counterread (3, & Var2).

Nach erfolgreichem Aufruf enthalten Var1 und Var2 den Zählerstand des Zählers 3. Wird ein noch in Betrieb befindlicher Zähler abgefragt, liefert Counterread den Wert 1. Wenn die Simulation läuft, wird bei entsprechendem Zustand des simulierten Zählers ein Zufallswert als Zählerwert zurückgeliefert. Dieser Wert liegt zwischen 2 und 502.After a successful call, Var1 and Var2 contain the count of counter 3 . If a counter still in operation is queried, Counterread returns the value 1. If the simulation is running, a random value is returned as counter value if the simulated counter has the same status. This value is between 2 and 502.

4. GETSTATUS4. GETSTATUS

Syntax: int GETSTATUS (int P1)
Übergabeparameter: P1 Kopierernummer
Rückgabewert: int Zählerstatus.
Syntax: int GETSTATUS (int P1)
Transfer parameter: P1 Copier number
Return value: int Counter status.

Mit Hilfe der Funktion Getstatus kann der momentane Status des Zählers P1 festgestellt werden. Dabei können folgende Werte als Rückgabewerte auftreten:With the help of the function Getstatus the current status of the Counter P1 are detected. The following values can be used as Return values occur:

Status-Start-ZählenStatus start counting -1-1 Status-LesbarStatus Readable 00 Status-Noch-Nicht-InitialisiertStatus-not-yet-Initializes 11 Status-Falsche-ZählernummerStatus Incorrect counter number 22 Status-In-BetriebStatus-in operation 33 Status-UnknownStatus Unknown 55

Der Status "Status-Start-Zählen" ist dann erreicht, wenn der für den Zähler zuständige Schalter von "Aus" auf "Ein" gewechselt hat und zum erstenmal dieser Zustand erkannt wurde. Bei nachfolgenden Statusabfragen wird, solange der Schalter auf "Ein" ist, der Status "Status-in-Betrieb" zurückgeliefert.The status "status start counting" is reached when the counter for the counter from "off" to "on" changed and this condition was recognized for the first time. For subsequent status requests, as long as the switch is on "On" is the status "Status in operation" returned.

Ist der Status "Status-Lesbar", so kann der Zähler P1 einmal ausgelesen werden. Jede weitere Statusabfrage würde den Status "Status-Noch-Nicht-Initialisiert" zurückgeben, sofern nicht Initone 2 für den mit P1 bezeichneten Zähler aufgerufen wird.If the status is "status-readable", the counter P1 can be used once be read out. Each further status query would indicate the status Return Status Not-Initialized, if not Initone 2 is called for the counter labeled P1.

5. READPIOBIT5. READPIOBIT

Syntax: int READPIOBIT (int P1)
Übergabeparameter: P1 Kopierernummer
Rückgabewert: int Schalterzustand (Ein = 1, Aus = 0)
Syntax: int READPIOBIT (int P1)
Transfer parameter: P1 Copier number
Return value: int Switch state (On = 1, Off = 0)

Die Funktion Readpiobit ermittelt den Schalterzustand des Schalters P1, der zu dem Zähler P1 gehört. Dieser Schalter P1 ist an der E/A-Karte angeschlossen. Der Rückgabewert kann den Wert 0 für "Aus" und den Wert 1 für "Ein" annehmen.The Readpiobit function determines the switch state of the Switch P1, which belongs to the counter P1. This switch P1 is connected to the I / O card. The return value can be the Take value 0 for "Off" and value 1 for "On".

Die nachfolgend beschriebenen Routinen ermöglichen eine Simulation der Hardware. Dabei werden durch den Aufruf einer Prozedur die Schalter und auch die Zähler durch Simulation nachempfunden. Wenn dies geschehen ist, können die bei der Hardware gemäß Fig. 1 bis 3 beschriebenen Funktionen und Prozeduren genutzt werden, ohne jedoch die entsprechende Zähler- und E/A-Karte angeschlossen zu haben. Die dort beschriebenen Funktionen und Prozeduren erkennen selbständig den Simulationszustand.The routines described below enable a simulation of the hardware. By calling a procedure, the switches and also the counters are simulated by simulation. Once this has been done, the functions and procedures described in the hardware of Figs. 1-3 may be used without having connected the corresponding counter and I / O card. The functions and procedures described there automatically detect the simulation state.

SETSIMULFLAGSETSIMULFLAG

Syntax: int SETSIMULFLAG (int P1)
Übergabeparameter: P1 (0 = Simul. Aus; << 0 Simulation Ein)
Rückgabewert: ohne Bedeutung.
Syntax: int SETSIMULFLAG (int P1)
Transfer parameters: P1 (0 = Simul. Off; << 0 Simulation On)
Return value: without meaning.

Setsimulflag erhält die Aufgabe, die Simulation ein- oder auszuschalten. Ist P1 gleich 0, wird die Simulation ausgeschaltet, entsprechend wird bei P1 << 0 die Simulation eingeschaltet. Dies kann zu jedem beliebigen Zeitpunkt erfolgen, auch wenn eine entsprechende Zähler- und E/A-Hardware im Rechner existiert.Setsimulflag receives the task, the simulation on or off. If P1 equals 0, the simulation becomes switched off, according to P1 << 0 the simulation becomes switched on. This can be done at any time even if a corresponding counter and I / O hardware exists in the computer.

SETPIOBITSETPIOBIT

Syntax: int SEPPIOBIT (int P1, int P2)
Übergabeparameter: P1 Schalternummer
P2 Schalterzustand (0 = Aus; << 0 Schalter = Ein)
Rückgabewert: ohne Bedeutung
Syntax: int SEPPIOBIT (int P1, int P2)
Transfer parameter: P1 Switch number
P2 switch state (0 = off; << 0 switch = on)
Return value: without meaning

Setpiobit ermöglicht die Simulation der max. 24 Schalter, die an der E/A-Karte angeschlossen sind. Über die Zustände der Schalter werden die simulierten Kopierer ein- und ausgeschaltet. Wird ein in der Kopierer CFG Datei beschriebener Kopierer P1 über die Prozedur Setpiobit ein- und danach wieder ausgeschaltet, so kann nach Aufruf der Funktion Counterread ein Wert zwischen 2 und 502 zurückgeliefert werden.
Beispiel:
Setpiobit (12, 1): schalte Kopierer 12 ein
Setpiobit (12, 0): schalte Kopierer 12 aus
Counterread (12, & Var 1): lies Zählerstand (Referenzübergabe von Var 1)
Initone (12, 0): setze Zähler 12 auf Zählerstand = 0
Setpiobit enables the simulation of the max. 24 switches connected to the I / O card. The states of the switches turn the simulated copiers on and off. If a copier P1 described in the copier CFG file is switched on via the Setpiobit procedure and then switched off again, a value between 2 and 502 can be returned after calling the Counterread function.
Example:
Setpiobit (12, 1): turn on copier 12
Setpiobit (12, 0): disable copier 12
Counterread (12, & Var 1): read count (reference transfer from Var 1)
Initone (12, 0): set counter 12 to counter reading = 0

Die Interface-Software kann noch weitere Prozeduren enthalten, die jedoch keinen Einfluß auf die Hardware oder deren Simulation haben.The interface software may contain additional procedures but they have no influence on the hardware or their Have simulation.

Claims (13)

1. Anordnung zur Erfassung und Abrechnung von mittels Kopiermaschinen erzeugten Kopien und zur statistischen Erfassung des Leistungsumfanges mindestens einer insbesondere mehrerer Kopiermaschinen mit einer an die Kopiermaschinen angeschlossenen Zählerbox, enthaltend für jede Kopiermaschine ein elektromechanisches Zählwerk zum Erfassen der von den Kopiermaschinen kommenden Impulsen und für jede Kopiermaschine einen Ein/Aus-Schalter zum Erfassen des Schaltzustandes der Kopiermaschine und mit einer Datenverarbeitungsanlage, insbesondere Personal Computer (PC), enthaltend eine Zählerkarte mit x Kanälen und eine Eingangs-/Ausgangs-Karte (E/A-Karte) mit 2 x Ein-/Ausgängen, wobei x der Anzahl der anschließbaren Menge von Kopiermaschinen entspricht und wobei die Zählerbox mit dem PC mittels eines Kabels verbunden ist und die von dem Zählwerk erfaßten Zählimpulse über das Kabel in die Zählerkarte des PC einspeisbar sind und die Zählerbox mit dem PC über Freigabeleitungen verbunden ist und die Schaltzustände der Schalter der Zählerbox über die Freigabeleitung an die E/A-Karte des PC einlesbar sind, so daß auf dem Bildschirm des PC die Benutzeroberfläche und zugehörige Funktionen bereitgestellt werden.1. Arrangement for the collection and settlement of means Copy machines generated copies and for statistical purposes Recording the scope of services of at least one especially several copying machines with a to the Copy machines connected counter box, containing for each copying machine an electromechanical counter to Detecting the coming of the copying machines pulses and for each copying machine, an on / off switch for detecting the switching state of the copying machine and with a Data processing equipment, especially personal computers (PC), containing a counter card with x channels and one Input / output card (I / O card) with 2 x Inputs / outputs, where x is the number of connectable quantities of copy machines and where the counter box with connected to the PC by means of a cable and that of the Counter detected counts via the cable into the Counter card of PC can be fed and the counter box with the PC is connected via enable lines and the Switching states of the counter of the counter box on the Enable line can be read to the I / O card of the PC, so that on the screen of the PC the user interface and associated functions are provided. 2. Anordnung nach Anspruch 1, dadurch gekennzeichnet, daß die Zählerkarte einen Optokopplerblock zur galvanischen Trennung der Kopiermaschinen und deren Elektronik von dem PC und dessen Elektronik, einen Zählerblock (Counters) mit Zählerbausteinen, enthaltend Zähler sowie ein Steuerregister für diese Zähler, das der Programmierung der Festlegung der Art des Zugriffs auf die Zähler dient, und eine Schnittstelle zur PC-Elektronik in Gestalt einer Decodier- und Datentreiberlogik, welche die Funktion der Trennung des PC-internen Datenbusses von dem Datenbus auf der Zählerkarte und jeweils einen der Zählerbausteine zu adressieren hat.2. Arrangement according to claim 1, characterized in that the counter card a Optocoupler block for galvanic isolation of the Copy machines and their electronics from the PC and its Electronics, a counter block (counters) with Counter blocks containing counters as well as a Control register for this counter, which is the programming of the Determining the type of access to the counters serves, and an interface to the PC electronics in the form of a  Decoder and data driver logic which performs the function of Separation of the PC-internal data bus from the data bus the counter card and one of the counter blocks has to address. 3. Anordnung nach Anspruch 1 oder 2, dadurch gekennzeichnet, daß die E/A-Karte mit digitalen Kanäle enthaltenden Bausteinen ausgerüstet ist, wobei die digitalen Kanäle dieser Bausteine als digitale Eingänge programmiert sind, so daß sie die auf der Zählerbox vorhandenen Schalter auszulesen imstande sind und über diese Zustände das Ein- und Ausschalten der Zählkanäle der Zählerkarte signalisierbar ist.3. Arrangement according to claim 1 or 2, characterized in that the I / O card with digital Channels containing modules is equipped, the digital channels of these blocks as digital inputs are programmed so that they are on the counter box existing switches are capable of reading and over these states switch the counting channels on and off Counter card is signaled. 4. Anordnung nach Anspruch 2, dadurch gekennzeichnet, daß der Eingangsseite des Optokopplers Widerstände zur Stromanpassung und Stromlimitierung vorgeschaltet sind.4. Arrangement according to claim 2, characterized in that the input side of Optocouplers resistors for current adjustment and Stromlimitierung are connected upstream. 5. Anordnung nach Anspruch 2, dadurch gekennzeichnet, daß die Ausgänge des Optokopplers auf die x Eingänge der Zählerbausteine der Zählerkarte geführt sind.5. Arrangement according to claim 2, characterized in that the outputs of the optocoupler on the x inputs of the counter modules of the counter card are guided. 6. Anordnung nach Anspruch 2, dadurch gekennzeichnet, daß die auf der Zählerkarte vorhandenen Zählerbausteine stromsparende CMOS-Bausteine sind.6. Arrangement according to claim 2, characterized in that the on the counter card existing meter blocks energy-saving CMOS blocks are. 7. Anordnung nach Anspruch 2, dadurch gekennzeichnet, daß die Zähler als 16 Bitzähler programmiert sind.7. Arrangement according to claim 2, characterized in that the counters as 16 bit counter are programmed. 8. Anordnung nach Anspruch 2, dadurch gekennzeichnet, daß jeweils nur einer von den mehreren Zählern eines Zählbausteines mittels einer Adressierlogik aktivierbar ist und jeweils einer von den mehreren Zählerbausteinen der Zählerkarte mittels einer externen Adressier- und Decodierlogik ansprechbar ist.8. Arrangement according to claim 2, characterized in that only one of the several meters of a counting block by means of a Adressierlogik is activated and each one of the several counter components of the counter card by means of a  external addressing and decoding logic is addressed. 9. Anordnung nach Anspruch 2, dadurch gekennzeichnet, daß die Decodier- und Datentreiberlogik DIP-Schalter aufweist, mittels derer eine Adresse, unter der die Zählerkarte ansprechbar ist, einstellbar ist und eine durch den PC angelegte Adresse und durch den DIP-Schalter festgelegte Adresse mittels eines als Adressvergleicher funktionierenden Logikbausteines vergleichbar sind, dergestalt, daß Adressleitungen, die eine Basisadresse bilden, mit den Schaltstellungen der DIP-Schalter verglichen werden.9. Arrangement according to claim 2, characterized in that the decoding and Data driver logic DIP switch, by means of which a Address under which the counter card can be addressed, is adjustable and an address created by the PC and address determined by the DIP switch by means of a as an address comparator functioning logic device are comparable, such that address lines, the form a base address, with the switch positions of DIP switches are compared. 10. Anordnung nach Anspruch 9, dadurch gekennzeichnet, daß die Decodier- und Datentreiberlogik einen Decodierbaustein enthält, der eine der Anzahl der Zählerbausteine entsprechende Anzahl von Ausgängen hat, wobei die Ausgänge des Decodierbausteins auf die Chip-Select-Eingänge der Zählerbausteine geführt sind, und einen bidirektionalen Datentreiberbaustein enthält, der eine der Anzahl der Zählerbausteine entsprechende Anzahl von Datenleitungen bidirektional zu treiben in der Lage ist.10. Arrangement according to claim 9, characterized in that the decoding and Data driver logic includes a decoding module, the one the number of counter blocks corresponding number of Outputs has, with the outputs of the decoder on the chip select inputs of the counter modules are guided, and a bidirectional data driver block containing a number corresponding to the number of counter modules capable of bidirectionally driving data lines is. 11. Anordnung nach einem der Ansprüche 1 bis 10, dadurch gekennzeichnet, daß die Grundinitialisierung der Zählerkarte und der digitalen E/A-Karte mittels einer Interface-Software durchführbar ist.11. Arrangement according to one of claims 1 to 10, characterized in that the initial initialization of Counter card and the digital I / O card by means of a Interface software is feasible. 12. Anordnung nach Anspruch 11, dadurch gekennzeichnet, daß die Abfrage der einzelnen Zählerstände und der Schaltzustände der an die E/A-Karte angeschlossenen Schalter mittels der Interface-Software ermöglicht ist.12. Arrangement according to claim 11, characterized in that the query of the individual Counter readings and the switching states to the I / O card connected switch via the interface software is possible. 13. Anordnung nach Anspruch 11, dadurch gekennzeichnet, daß die Simulation der Zählerkarte und der E/A-Karte mittels der Interface-Software ermöglicht ist.13. Arrangement according to claim 11, characterized in that the simulation of the counter card and the I / O card via the interface software is.
DE19934340144 1993-11-25 1993-11-25 Arrangement for recording and billing copies made by means of copying machines Expired - Fee Related DE4340144C2 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
DE9321335U DE9321335U1 (en) 1993-11-25 1993-11-25 Arrangement for recording and billing copies made using copying machines
DE19934340144 DE4340144C2 (en) 1993-11-25 1993-11-25 Arrangement for recording and billing copies made by means of copying machines

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
DE19934340144 DE4340144C2 (en) 1993-11-25 1993-11-25 Arrangement for recording and billing copies made by means of copying machines

Publications (2)

Publication Number Publication Date
DE4340144A1 true DE4340144A1 (en) 1995-06-01
DE4340144C2 DE4340144C2 (en) 2000-06-21

Family

ID=6503395

Family Applications (1)

Application Number Title Priority Date Filing Date
DE19934340144 Expired - Fee Related DE4340144C2 (en) 1993-11-25 1993-11-25 Arrangement for recording and billing copies made by means of copying machines

Country Status (1)

Country Link
DE (1) DE4340144C2 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
DE19843878A1 (en) * 1998-09-29 2000-03-30 Hafez Mohamed Ali Khaled Electronic system for work schedule of sheet counter for paper processing machines has sensor for passing number of sheets to control card, which displays number and passes to counter
DE202010015611U1 (en) * 2010-11-17 2011-04-21 Bema-Tech Ohg Device for detecting the type and number of copies delivered

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
DE2548343A1 (en) * 1975-10-29 1977-05-12 Mcs Muenzcopiersysteme Gmbh Copier output counter system - has several counters driven by output signals of machine and registers number of printed copies
DD235125A1 (en) * 1985-03-06 1986-04-23 Dresden Baumechanisierung CIRCUIT ARRANGEMENT FOR PROCESS COUPLING OF A MICRO-COMPRESSOR

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
DE2548343A1 (en) * 1975-10-29 1977-05-12 Mcs Muenzcopiersysteme Gmbh Copier output counter system - has several counters driven by output signals of machine and registers number of printed copies
DD235125A1 (en) * 1985-03-06 1986-04-23 Dresden Baumechanisierung CIRCUIT ARRANGEMENT FOR PROCESS COUPLING OF A MICRO-COMPRESSOR

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
Löber, Ch., Will, G.: Mikrorechner in der Meßtechnik. VEB Verlag Technik Berlin 1983, S. 24-30, 35-41, 61-62, 108-118 *

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
DE19843878A1 (en) * 1998-09-29 2000-03-30 Hafez Mohamed Ali Khaled Electronic system for work schedule of sheet counter for paper processing machines has sensor for passing number of sheets to control card, which displays number and passes to counter
DE202010015611U1 (en) * 2010-11-17 2011-04-21 Bema-Tech Ohg Device for detecting the type and number of copies delivered

Also Published As

Publication number Publication date
DE4340144C2 (en) 2000-06-21

Similar Documents

Publication Publication Date Title
EP0063650B1 (en) Test system
DE3901636C2 (en)
DE2813418A1 (en) SETUP IN AN ELECTRONIC DATA PROCESSING SYSTEM FOR REPORTING ERROR AND OPERATING CONDITIONS
DE69301632T2 (en) Procedure for testing the functionality of an ASIC circuit and related ASIC circuit
EP0586715B2 (en) Information transfer method for transferring digital data
DE69305383T2 (en) Sensor connection system
DE2517565A1 (en) INTEGRATED COMBINATION UNIT FOR A DATA PROCESSING SYSTEM
DE3501194C2 (en) Method and device for data exchange between microprocessors
DE68921676T2 (en) Flexible diagnostic system, adaptable to data processing systems of various sizes.
EP0519089B1 (en) Loading of operational parameters for a ready-for-use proximity switch
EP0024045A1 (en) Verifying device for error diagnosis in multiprocessor systems, in particular in multimicroprocessor systems
DE19511140A1 (en) System for series data exchange between two certain stations each with interface
DE4042161C2 (en)
DE3219900A1 (en) COMPUTER INTERFACE
DE2455440C3 (en) Verification arrangement for a particular pulse pattern
DE4340144A1 (en) Copying machine copy detection and charging arrangement
DE3920122C2 (en)
DE3687785T2 (en) INTEGRATED CIRCUITS.
DE9321335U1 (en) Arrangement for recording and billing copies made using copying machines
DE2756948A1 (en) CIRCUIT ARRANGEMENT FOR ERROR SYMTOM COMPRESSION
DE3518827C2 (en)
DE3315683C1 (en) Circuit arrangement for interrogating a matrix of key contacts
EP0377886B1 (en) Arrangement for the transfer of data words subdivided into several parts
DE2654473A1 (en) METHOD AND DEVICE FOR TRANSMISSION OF ASYNCHRONOUSLY CHANGING DATA WORDS
DE3725128A1 (en) Device for measuring a physical variable (parameter)

Legal Events

Date Code Title Description
OP8 Request for examination as to paragraph 44 patent law
D2 Grant after examination
8364 No opposition during term of opposition
8339 Ceased/non-payment of the annual fee