C Control I Micro Chip 5 Vdc Inputs / outputs 1 x digital I/O, 1 x digital input, 4 x digital I/O or analog input Progra 198275 Hoja De Datos

Los códigos de productos
198275
Descargar
Página de 40
44
Introduction
Thank you for purchasing the Programmer/Evaluation Boards for C-Control
MICRO/MICRO-PCB.
It lets you program both types of the C-Control Micro in the development environ-
ment
and load the programs to C-Control MICRO / MICRO PCB.
The Programmer/Evaluation Board ( P/E-Board) for C-Control MICRO/MICRO-PCB
also offers you a series of input/output possibilities (LEDs, beepers, buttons, poti) so
that you can quickly and comfortably try out the example programs or your own
applications. 
Conrad Electronic GmbH
D-92240 Hirschau
Warranty
Prior to commissioning the P/E board or connected devices, read the entire operat-
ing manual.  It explains the correct handling and points out possible hazards.
Warranty cannot be claimed for damages resulting from non-compliance with this
operating manual and we will not assume any liability.
Notices about the Limited Warranty and Liability
The C-Control MICRO is a BASIC control computer. The software integrated as
ROM mask in the microprocessor and the corresponding PC software is delivered as
is. 
Conrad Electronic will not assume any guarantee that the performance features cor-
respond to individual requirements or that the software in the microprocessor and
the PC software runs without disruption or error in all cases. The user bears the
entire risk regarding the quality and capacity of the device including all software.
Conrad Electronic warrants the function of the enclosed application examples under
observance of the conditions specified in the technical data.  Should the P/E-Board,
the C-Control MICRO or the PC software turn out to be defect or insufficient, the
customer assumes all resulting costs for service, repairs or correction.
The warranty of Conrad Electronic is expressively limited to the exchange of the
device within the warranty period in case of apparent defects on the hardware like
mechanical damage, missing or faulty equipment with electronic components with
the exception of socketed integrated circuits and jumpers.  We will not assume any
liability for damages directly connected to the use of the Programmer/Evaluation
Boards or resulting thereof.
Claims based on indispensable statutory regulations about product liability are
exempt from this.
37
TORZEIT:
Das Beschreiben der Systemvariablen FREQ stellt die Torzeit ein (20 ms Schritte).
PORT4 muss für diese Funktion  ein Eingang sein.
Die Torzeit ist die Zeit, während der Impulse am Eingang gezählt werden. Die Torzeit
wird in Einheiten von 20ms angegeben. Verwenden Sie kleine Torzeiten für hohe
Frequenzen.  
Bei einer Torzeit von 20ms ergeben z.B. 10Khz einen Zählerstand in FREQ von:
0.02*10000 = 200
Bei großen Torzeiten  lassen sich auch tiefe Frequenzen recht genau messen. Eine
neue Torzeit wird erst nach Ablauf der vorherigen wirksam.
define FREQPORT p[4]
FREQ=5
stellt die Torzeit auf 100ms
ZÄHLERSTAND:
x = FREQ
Das Lesen der Variablen FREQ liefert den während der letzten Torzeit erreichten
Zählerstand.
Er entspricht der Frequenz:
FREQUENZ = x / TORZEIT 
FREQUENZBEREICH:
Da die Systemvariable FREQ nur 1 Byte hat, können auch nur 255 Ereignisse gezählt
werden.
Passen Sie deshalb die Torzeit an die Frequenz, die sie verarbeiten wollen, an. Die
kleinste Torzeit ist 1 (also 20ms) und  verarbeitet Frequenzen bis 12 kHz.  Arbeiten
Sie mit unbekannten Frequenzen können Sie eine automatische Torzeiteinstellung
programmieren. Diese beginnt mit dem kleinsten Wert und vergrößert die Torzeit
solange bis sich ein nennenswertes Zählergebnis in FREQ einstellt. Die aktuelle Tor-
zeit gibt dann zusammen mit FREQ präzise Auskunft über die gemessene Frequenz
EINSCHRÄNKUNGEN
Während PAUSE u. BEEP ist die Zählung unterbrochen, wird aber nach Ablauf der
Zeit regulär fortgesetzt.