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
34
LOOKTAB tablename,index,variable
tablename bezeichnet eine gültige Tabelle, für index kann ein beliebiger Term stehen
und die variable bezeichnet die Speicherzelle, in der das Ergebnis abgespeichert
werden soll. Der berechnete Wert des index-Terms darf nicht negativ sein und maxi-
mal N-l betragen, wenn die indizierte Tabelle N Einträge hat. Ergibt index den Wert 0,
so wird CO in der angegebenen Variablen gespeichert, für index gleich 1 Cl und so
weiter. Folgendes Beispiel gibt den Inhalt einer Tabelle seriell aus
DEFINE value WORD
DEFINE i BYTE
FOR i = 0 to 3
LOOKTAB mytab,i,value
PRINT "mytab["; i; "]="; value
NEXT
END
TABLE mytab 12 -20 0 1000
TABEND
Am Bildschirm des Terminalprogramms sollte erscheinen
mytab[0]=12
mytab[l]=-20
mytab[2]=0
mytab[3]=1000
Besonders nützlich erweisen sich Tabellen beim Umsetzen von A/D-Werten in echte
physikalische Größen. Eine Umsetzungstabelle hat dann in der Regel 256 Einträge.
Der gemessene A/D-Wert geht dann als Tabellenindex in die Bestimmung der physi-
kalischen Größe ein.
Die Echtzeituhr
Um den Stand der internen Echtzeituhr auszulesen und zu setzen, sind folgende glo-
bale Variablen definiert:
HOUR Stunde (0...23)
MINUTE Minute (0...59)
SECOND Sekunde (0...59)
47
You can also operate the P/E Board with a 9 V battery.
The C-Control MICRO/MICRO PCB has inputs for the optional operation with 5 V or
8 V up to 12V.
With sufficient charge, operation with four NiCd accumulator cells is also possible.
Never connect the devices to the 230 V mains voltage!
You may only connect the voltage source to both devices when this is free of power.
To do so, pull the power plug of the power pack or provide a switch in the operating
voltage supply.
Danger of fire in case of short circuits in the supply voltage!
Observe the connection plan under all circumstances! The wrong polarity of the sup-
ply voltage may destroy the control computer or the P/E Board.
The human body can become electrostatically charged, especially in dry rooms. In
case of contact with conductive items, this charge discharges with a small spark.
Such discharges when touching electronic components may destroy these. Prior to
handling the devices, you should touch a large, grounded object (e.g.  a metal PC
casing, a water pipe or a radiator pipe) in order to discharge any possible charges. 
Features
C-Control MICRO, MICRO PCB
This computer programmable in BASIC is largely compatible to the C-Control I in the
versions M and Unit.
The versions MICRO and MICRO PCB are intended for application in miniaturised
applications and therefore have a reduced number of ports, which may however also
have different functions (also within a program).
• 8 BIT A/D converter
• Digital ports I/O
• Beep ports 
• Freq. input
• Serial interface 9600/19200 Baud
• 2kB BASIC program memory
• loadable system expansions (e.g. DCF 77 synchronising of the RTC)
Operating system extensions can be loaded for maximum flexibility that do however
reduce the usable BASIC program memory. The operating system extensions are
provided by Conrad.