Home
Icom 200 User's Manual
Contents
1. 0 10V 1 3 1 3 1 3 1 3 1 3 1 3 1 3 1 3 Configuration 0 20mA The past configurations have been voltage inputs The following configuration makes it possible to realize current inputs Ca Ca Ca Cn Can Cn C Cn DAA A AAN DWMIPENDE Analog 0 Analog 1 Analog 2 Analog 3 J11 J12 J13 J15 J14 J17 J16 J18 0 20mA 1 2 1 2 1 2 1 2 1 52 1 2 1 2 1 2 Wilke Technology GmbH 0241 918 900 http Avww wilke de support wilke de 2 17 ICOM manual Setting the amplification The analog inputs of the ICOM 200 201 have an adjustable input amplifier The amplification can be set to a factor between 1 and 10 This is done continuously with potentiometers on the backside of the board Emm Analogverstarkung B 271 An2 Ani Pe Wi E3 An3 AnO N o pus Backside of board The shematic below shows the input circuit available for each analog channel The diodes protect the Tiny Tiger pins against negative voltages and voltage peaks C30 0 10V ls Rap o 100nF 100K 196 Mo IcidA AGND 0 20mA 0 5V D11 D13 TLC274 LL4148 LLA148 R63 AGND Vref AGND 2 18 Wilke Technology GmbH 0241 918 900 http www wilke de support wilke de ICOM 200 201 include define a inc user var strict TASK Main BYTE k ARRAY Value 4 OF WORD DIR_PORT 8 0 DIR_PORT 7 0 INSTALL DEVICE lcd LCD2
2. ICOM 200 201 241 About this manual ICOM 200 201 ICOM 241 Advice and support Register Copyright Note by Wilke Technology GmbH Krefelder Str 147 52070 Aachen Germany manual version 1 4 This manual together with the hardware and software which it describes is copyrighted and may not be in any way copied translated or redered in any other form without the express written consent of Wilke Technology GmbH The editors translators and authors of this publication have taken great care with the texts illustrations and programs Nevertheless errors cannot be completely excluded Wilke Technology thus assumes no warranty legal responsibility or liability for consequences resulting from incorrect information Should any errors be discovered in this publication or in the software we welcome any comments and suggestions The information in this manual should not be regarded as a warranty of certain product properties or features and is subject to changes in the interests of technical improvement All rights reserved Contents 1 2 About this manual Typographic conventions and symbols ICOM 200 201 Versions Differences between ICOM 200 and ICOM 201 First steps Power supply PC mode RUN mode Program download SLEEP mode Keyboard LC display Serial Interface RS232 RS485 Opto inputs Power outputs Analog inputs Analog inputs Configuration 0 5V Configuration 0 10V Configuration 0 20m
3. for ever 0 to 0 step 0 out 8 00010000b 0 next END Wilke Technology GmbH 0241 918 900 http www wilke de support wilke de 2 23 ICOM manual TINY Tiger Pins The ICOM 200 201 has in addition to the extended I O pins with optocouplers and transistors some standard pins of the TINY Tiger At the DB37 connector the pins P71 P72 and P73 are lead out Pin layout 37 ch D Sub connector The 37 ch D Sub connector carries all available I O pins except for serial port 1 Out6 20 Out4 21 Out2 22 Outo 23 24 Opto1 25 Opto3 26 Opto5 27 Opto7 28 29 GND 30 P72 31 An0 32 An2 33 AGND 34 CTSO 35 RTSO 36 37 2 24 Wilke Technology GmbH 0241 918 900 http www wilke de support wilke de Tiny Tiger pin DB37 connector P71 12 P72 31 P73 13 e Out7 Out5 Out3 Out OVCC OptoO0 Opto2 Opto4 Opto6 10 IGND 12 P71 13 P73 14 Ani 15 An3 16 TXDO 17 RXDO 19 GND o oc ciRON Q Technical data LCD Keyboard Sound Interface Analog In Inputs Outputs Supply Size Connections Temp range Wilke Technology GmbH 0241 918 900 http www wilke de support wilke de 2 25 ICOM 200 201 Graphical display with 128 x 64 pixel and LED backlight Keyboard matrix with 20 keys and additional connection for MF2 keyboard Beeper e g as keyboard click 1x RS232 1x RS232 RS485 selectable Settable to 4 x 0
4. Detailled information about the serial interfaces can be read after in the BASIC Tiger Device driver manual RS232 Serial port 0 can be configured as RS232 interface with three easy steps Remove IC12 from its socket Please IC3 MAX232 into the appropriate socket Set the 4 channel DIP switch S1 to RS232 x c12 E e o E 2 a 3 42 zm Bde sh ANE iH 5 ELT E IN ES lt ES Tj 15 E T 7 T4 D X Li Li LECI mmi 8029 nim o 89 ree 1 MAX232 4 TERS sisaasaaiaa NE 3 it wzsssustktf kS LIEN a 1 281 LLE nimimm S1 Attention Never place IC3 and IC12 at the same time as this could lead to destruction of port O Wilke Technology GmbH 0241 918 900 http www wilke de support wilke de 2 9 ICOM manual The pins of serial port 0 are located on the DB 37 connector RS232 DB 37 TXDO Output 16 RXDO Input 17 RTSO 36 CTSO 35 RS485 The configuration of port 0 as RS485 interface is done by removing the IC3 MAX232 and placing the IC12 SN75176 into the 8 channel DIL socket The DIP switch on the left side plate of the ICOM 200 201 has to be set to RS485 Removing or placing the ICs is only allowed without power supply Never place both ICs at the same time this could lead to the destruction of the ICOM 200 201 RS485 DB37 TXDO A 16 RXDO B 17 Layout of DB37 connector RS485 R
5. 0241 918 900 http www wilke de support wilke de 1 1 ICOM manual ERI Typographic conventions and symbols Following fonts and symbols are used for fast identification of important informations Key description e g RETURN Tiger BASIC program listing mamen O Tiger BASIC instruction Variable Variables or constants you have to enter according to your application Elements which can be entered optional E Important remark Please note Tipps and hints simplifying your work 1 2 Wilke Technology GmbH 0241 918 900 http www wilke de support wilke de ICOM 200 201 2 ICOM 200 201 Versions This manual describes the ICOM200 and ICOM201 til version V1 3 Newer versions are described in separate data sheets At ICOM versions V1 4 or newer the version number is printed on the right hand side of the device Differences between ICOM 200 and ICOM 201 The ICOM 201 is a special version of the ICOM 200 The following decription shows where the differences between the ICOM 200 and ICOM 201 are Feature ICOM 200 ICOM 201 Graphic LCD 20 key matrix keyboard Serial interfaces RS232 RS485 MF2 keyboard connector Eight opto inputs Four analog inputs e Eight power outputs Battery backup Sleep function Optional Optional Note The sleep function is available if the ICOM contains a TINY Tiger with real time clock It is not ava
6. 5V resp 0 10V or 0 20mA Input amplifier 1 V 10 Resolution 10 bit 8 x opto in 5 to 12V higher range possible through external resistor 8 x Darlington with protective diode max 50V 500mA 1 chanel duty 1096 50mA 8 chanels duty 100 RUN SLEEP approx 196 x 88 5 x 40mm LxBxH 8 12V DC 450mA approx 25mA RS232 with DB9 All other with 20 to 50 C expanded temp range on request DB37 ICOM 241 3 ICOM 241 The ICOM 241 is the most cost effective solution of the ICOM family The processor used is a Tiny Tiger Economy The ICOM 241 has eight transistor outputs and four optocoupler inputs From both serial ports port 0 can be configured as RS485 interface as well For measurement of analog signals the ICOM 241 possesses four analog inputs with a hardware resolution of 10 bit 12 bit by software interpolation The maximum input voltage for the analog inputs is 5V DC E cuc 75176 um um umum p Ho BE Eam HH ob HAB ERREFEREN EENE 43911 Leersockel Components side ICOM 241 Wilke Technology GmbH 0241 918 900 http www wilke de support wilke de 3 1 ICOM manual First steps Power supply The ICOM 200 201 uses a power supply with 8 12 VDC 1A Minus is placed on the pin of the power supply connector The current consumption is depending on the application up to 400mA 8 12 VDC 1A min PC Mode After
7. JA BD 9 600 DP 8N JA Optokoppler Inputs einlesen wert wert amp 00001111b High nibble ausblenden put ser 0 wert Wert auf Ser 0 ausgeben GOTO op Sprung nach OP END Wilke Technology GmbH 0241 918 900 http www wilke de support wilke de 3 5 ICOM manual Power outputs The power outputs of the ICOM 241 are extended outputs of the Tiny Tiger Econony which are eguiped with a driver IC type TD62083 or compatible This IC has got eight open collector outputs The power outputs are lead to the 25 ch Sub D connector The pin OVCC is connected to a internal protector diode so the outputs are secured against overvoltage This pin normally should have the same voltage potential as the voltage to be switched Tiny Tiger Port Power Outputs DB 25 Pin P60 Out 0 12 P61 Out 1 11 P62 Out 2 10 P63 Out 3 9 P64 Out 4 8 P65 Out 5 7 P66 Out 6 6 P67 Out 7 5 OVCC 13 Demoprogramm ICOM 241 Name ICOM241 powerout tig BYTE X I LOOP 99999999 Schleife FOR I 0 to 255 For Next Schleife OUT 6 255 I Bitmuster ausgebenl NEXT Ende For Next Schleife ENDLOOP END 3 6 Wilke Technology GmbH 0241 918 900 http www wilke de support wilke de ICOM 241 Serial interface As a standard the ICOM 241 has two serial interfaces From these the port Ser0 can by choice be configured as RSR232 or RS485 interface The port Seri always is a RS232 interface In PC
8. mode this port is used for downloading the program into the ICOM 241 In Run mode it can be used as a usual RS232 interface Detailled information about the serial interfaces can be read after in the BASIC Tiger Device driver manual ER RS232 To configure port Ser0 as RS232 interface the IC3 MAX232 must be placed into the appropriate socket and IC6 SN75176 has to removed from its Socket After that the DIP switch at the left side of the chassis has to be switched to RS232 It is recommended to place the IC 6 SN75176 into the dummy socket so it s always available when needed again Wilke Technology GmbH 0241 918 900 http www wilke de support wilke de 3 7 ICOM manual o ca cocco 75176 D ES c c c EE CE EO EE C3 C3 E30 C3 MAX232 E E E DD c3 cc 1 nn LJ 8029 ninm Leersockel The pins of serial port Ser0 are located on the DB25 connector The pin layout is shown in the table below RS232 Pin DB25 socket TxDO 18 RxDO 17 CTSO 19 RTSO 20 Layout of DB25 connector RS232 RS 485 The configuration of port SerO as RS485 interface is done by placing the IC6 SN75176 into the 8 pin DIL socket The IC3 MAX232 has to be removed and placed into the dummy socket The DIP switch on the left side of the chassis has to be switched to RS485 position 3 8 Wilke Technology GmbH 0241 918 900 http www wilke de support wilke de ICOM 241 Placing o
9. qualified person How the jumpers have to be placed for the specific configurations is shown in the following table and pictures Analogverst rkung B 271 E An2 An1 E Hr E gu Tm An3 AnO Backside of board Configuration 0 5V On delivery of the ICOM 200 201 the analog inputs are configured for input voltages of up to 5V The placement of the jumpers is shown in the picture below Please pay attention that the keys are free and may fall out while opening the case Please open it buttom side up 13 fe e fee ee ss ejn ee e 9 fe e ea C C Cn Cn Cn Cn Cn Cn DAA AA AAA S NYI ND Analog 0 Analog 1 Analog 2 Analog 3 J11 J12 J13 J15 J14 J17 J16 J18 0 5V 1 3 1 2 1 3 1 2 1 3 122 1 3 1 2 2 16 Wilke Technology GmbH 0241 918 900 http www wilke de support wilke de ICOM 200 201 Configuration 0 10V To use the analog inputs with voltages of up to 10V DC it is neccessary to change the jumper configuration Please pay attention that the keys are free and may fall out while opening the case To avoid this place the device keys down on the table and then gently pull the board out of the case Following the jumper configuration for input voltages of up to 10 V 2 eeeeeeeein S NYI ND Ca Ca Cn Cn Cn Cn Cn Cn Sa CE a EG CE EG Analog 0 Analog 1 Analog 2 Analog 3 J11 J12 J13 J15 J14 J17 J16 J18
10. 0 Fax 449 0 241 9189044 eMail support wilke technology com Wilke Technology GmbH 0241 918 900 http www wilke de support wilke de 4 1 ICOM manual 4 2 wilke Technology GmbH 0241 918 900 http www wilke de support wilke de Index 5 Register Amplification 2 18 Opto inputs 2 11 3 4 analog inputs 2 15 3 12 PC mode 2 2 Display 2 8 Power outputs 2 13 3 6 Goldcap 2 4 Power supply 2 2 3 2 I O pins 2 24 Program download 2 3 ICOM 241 3 1 RS232 interface 2 9 3 8 LC display 2 8 RS485 interface 2 10 3 9 Loading time 2 5 RUN mode 2 3 Matrix keyboard 2 6 Technical data 2 25 3 16 MF2 keyboard 2 20 Wilke Technology GmbH 0241 918 900 http www wilke de support wilke de 5 1
11. A Setting the amplification MF 2 Keyboard TINY Tiger Pins Pin layout 37 ch D Sub connector Technical data ICOM 241 First steps Power supply PC Mode RUN mode Program download Contents 1 1 1 2 2 1 2 1 2 1 2 2 2 2 2 8 2 8 2 4 2 8 2 9 2 9 2 10 2 11 2 13 2 15 2 15 2 16 2 17 2 17 2 18 2 20 2 24 2 24 2 25 3 1 3 2 3 2 3 2 3 3 3 3 Wilke Technology GmbH 0241 918 900 http www wilke de support wilke de i Contents 5 Opto inputs Power outputs Serial interface RS232 RS 485 Analog inputs Pin layout 25 pin D Sub connector Technical data ICOM 241 24V Connection to PC Technical data Hints and help BASIC Tiger Service Hotline Register LIL LL A Qoooo w w C CO Co CO AND OPS ONNOOFA Te E q Wilke Technology GmbH 0241 918 900 http www wilke de support wilke de General 1 About this manual This manual does introduce you into the control of the ICOM industry computer family for a fast and easy use The ICOM industry computer family combines the performance of BASIC TINY Tiger Computers with steadily needed I O peripherals in an elegant aluminum chassis For programming the ICOM industry computers a BASIC Tiger development system is needed This manual only describes the usage of the ICOM industry computers You can read about the progamming of Tiny Tigers in the BASIC TINY Tiger user manuals Wilke Technology GmbH
12. LL CheckKeybF lags __KMT_CTRLRIGHT_DOWN 1KeybExtFlags1 bIsActive IF bIsActive TRUE THEN PRINT LCD Ctrl R ENDIF CALL CheckKeybFlags KF CTRLLEFT DOWN lKeybExtFlagsl bIsActive IF bIsActive TRUE THEN PRINT LCD Ctrl L ENDIF CALL CheckKeybFlags KMT ALTRIGHT DOWN 1KeybExtFlags1 bIsActive IF bIsActive TRUE THEN PRINT LCD Alt R ENDIF CALL CheckKeybF lags __KF_ALTLEFT_DOWN 1KeybExtFlags1 bIsActive IF bIsActive TRUE THEN PRINT LCD Alt_L ENDIF lComplexMask amp __KF_SHIFTRIGHT_DOWN BITOR __KF_SHIFTLEFT_DOWN BITOR amp __KMT_CTRLRIGHT_DOWN BITOR __KF_CTRLLEFT_DOWN BITOR amp KMT ALTRIGHT DOWN BITOR __KF_ALTLEFT_DOWN CALL CheckKeybFlags lComplexMask 1KeybExtFlagsl bIsActive IF bIsActive FALSE THEN PRINT LCD No Spec ENDIF Is Code extended or normal CALL SetLcdOutputPos LCD 11 3 IF wKey BITAND Offh 0 THEN PRINT LCD Extended CALL SetLcdOutputPos LCD 13 0 PRINT LCD Null CALL SetLcdOutputPos LCD 13 1 PRINT LCD EScan ELSE PRINT LCD Normal CALL SetLcdOutputPos LCD 13 0 PRINT LCD Ascii CHR wKey BITAND Offh CALL SetLcdOutputPos LCD 13 1 PRINT LCD Scan ENDIF 2 22 Wilke Technology GmbH 0241 918 900 http www wilke de support wilke de ICOM 200 201 ENDIF ENDWHILE END SUB SetLcdOutputPos WORD wDevId BYTE Column Row PRINT wDevId lt 1BH gt A CHR Column CHR Row lt OFOH gt END Task p8 BYTE ever
13. TDD 0 0 0EEH 1 150 11H LCD 1 128x64 150 KB s INSTALL DEVICE 4 ANALOG1 TDD Analog Inputs installieren OUT 8 11111111b 11011111b set CTRL Pins of T6963C OUT 8 10000000b 255 LOOP 99999 FOR K 0 TO 3 4 Kanaele GET 4 K 2 Value K Wert aus AD Wandler lesen NEXT naechster Kanal PRINT lcd 1 Bildschirm loeschen FOR K 0 TO 3 4 Kanaele PRINT lcd AD K Kanal Nr anzeigen PRINT lcd Value K Wert auf LC Display ausgeben NEXT naechster Kanal WAIT DURATION 100 100 ms warten ENDLOOP END Wilke Technology GmbH 0241 918 900 http www wilke de support wilke de 2 19 ICOM manual MF 2 Keyboard The ICOM 200 and ICOM 201 both have a connector for a MF2 keyboard With this it is possible to connect a common PC keyboard to the ICOM For the connection of a MF2 keyboard two pins of the Tiny Tiger are needed For the ICOM 200 201 those are pins P84 and P85 of the Tiny Tiger module These pins are directly lead to the MF2 plug on the left side of the ICOM 2 20 Wilke Technology GmbH 0241 918 900 http www wilke de support wilke de USER VAR STRICT project model pm min include mf2 tr inc define LCD 1 define KEYB1 20 WORD wKeybDevIdi LONG 1KeybExtFlags1 BYTE bKeybActLangl ICOM 200 201 subroutines of the Transport Layer Set of Keyboard Variables Keyboard Device Number Keyboard Flags Keyboard Layout Language TASK Main WORD wKey BYTE bIsActive LONG 1Compl
14. a reset or power down the Tiny Tiger Economy inside the ICOM 241 is testing ifthe PC mode pin is low In this case the ICOM switches to PC mode Debug mode Is the pin high the ICOM starts in run mode The time between power on and first activity on the I O pins is approx 230 msec To set the ICOM 241 to PC mode a reset or power down is needed Setting the DIP switch to PC mode while in run mode is not sufficient BET MEER Reset 8 12VDC PC Serl o Side view ICOM 241 3 2 Wilke Technology GmbH 0241 918 900 http www wilke de support wilke de ICOM 241 RUN mode If the DIP switch PC Run is in position Run the program in the ICOM 241 is executed immediately after a reset Debugging is not possible in this mode Program download A program created with the Tiger software is downloaded into ICOM 241 through the 9 pin Sub D connector To download the following has to be done Connect a power supply 8 12 V DC Polarity Inner contact minus outer contact plus Connect ICOM 241 and PC with 9 pin D Sub cable Set DIP switch of ICOM 241 to PC mode Set the reset DIP switch to Reset and back to original position Start download at the PC Serial port 1 Download DB 9 plug TXD 2 RXD 3 GND 5 Wilke Technology GmbH 0241 918 900 http www wilke de support wilke de 3 3 ICOM manual Opto inputs The ICOM 241 has eight optocoupler inputs suited for an i
15. ard device nummer include define a inc user var strict TASK Main word x n i string a user eport lastladr 10h user eport physoffs 0f0h Dir port 8 0 INSTALL DEVICE lcd LCD2 TDD 0 0 0EEH 1 150 11H LCD 1 128x64 150 KB s Install device keyb LCD1 tdd 0 0 0 0 0 0 80h 8 print keyb amp Definiert alle Scan Spalten lt 1BH gt D lt 16 gt lt 1 gt lt 1 gt lt 1 gt lt 0 gt lt 0 gt lt 0 gt lt 0 gt amp als Tastaturtasten lt 0 gt lt 0 gt lt 0 gt lt 0 gt lt 0 gt lt 0 gt lt 0 gt lt 0 gt lt 0 gt lt OFOH gt print keyb amp lt 1Bh gt k lt 18h gt lt 19h gt lt lah gt lt 1bh gt lt Ich gt amp Legt die Tastaturadresse fest lt 1dh gt lt leh gt lt 1fh gt lt 20h gt lt 21h gt lt 22h gt amp 23h 24h 25h 26h 27h 0f0h keys USING UD lt 2 gt lt 1 gt 0 0 0 0 2UH lt 2 gt lt 2 gt 0 0 0 2 Format String FOR X 0 TO 0 STEP 0 Endlosschleife FOR N 0 TO 0 STEP 0 Endlosschleife bis N 1 GET RELEASE TASK Rest der Task Zeit freigeben GET keyb 0 1 1 N N Zeichen in Tastatur Buffer NEXT Ende Endlosschleife GET keyb 1 A Tastatur Buffer auslesen PRINT lcd lt 2 gt lt 10 gt Key No Ausgabe auf LC Display PRINT USING 1 ASC A ASC A zeige Tasten Nr NEXT goto keys end Wilke Technology GmbH 0241 918 900 http www wilke de support wilke de 2 7 ICOM manual LC display The ICOM 200 has a graphic LC display with a resolution of 128 x 64 pi
16. d To be able to measure small signals each analog input is equipped with an OpAmp The amplification can be set to a value between 1 and 10 by potis E C Ec 75176 48 py BE EL MN NN z SR Potis Analog In An2 Ani An3 AnO View of components side with potis of analog amplifiers Analog channels DB25 socket Ano 22 Ani 23 An2 24 An3 25 Pin layout of DB25 connector analog channels Wilke Technology GmbH 0241 918 900 http www wilke de support wilke de 3 11 ICOM manual LL4148 LL4148 GND Circuit of analog inputs 3 12 Wilke Technology GmbH 0241 918 900 hitp www wilke de support wilke de ICOM 241 include define a inc user var strict TASK Main BYTE k ARRAY Value 4 OF WORD DIR PORT 8 0 DIR PORT 7 0 INSTALL DEVICE lcd LCD2 TDD 0 0 0EEH 1 150 11H LCD 1 128x64 150 KB s INSTALL DEVICE 4 ANALOG1 TDD Analog Inputs installieren OUT 8 11111111b 11011111b set CTRL Pins of T6963C OUT 8 10000000b 255 LOOP 99999 FOR K 0 TO 3 4 Kanaele GET 4 K 2 Value K Wert aus AD Wandler lesen NEXT naechster Kanal PRINT lcd lt 1 gt Bildschirm loeschen FOR K 0 TO 3 4 Kanaele PRINT lcd AD K Kanal Nr anzeigen PRINT lcd Value K Wert auf LC Display ausgeben NEXT naechster Kanal WAIT_DURATION 100 100 ms warten ENDLOOP END Wilke Technology GmbH 0241 918 900 http www wilke de support wilke d
17. e 3 13 ICOM manual Pin layout 25 pin D Sub connector The 25 pin D Sub connector carries all available I O pins except for serial port 0 of the ICOM 241 ej Int 14 1 Ino Ina 15 E ue 16 2 Ignd RxDO 17 TxDO 18 5 Out7 6 Out6 Cts0 19 7 Out5 Rts0 20 8 Out4 Gnd 21 9 Out3 AnO 22 A 10 Out2 ni 23 11 Outi An2 24 12 Outo An3 25 y 13 OVCC 3 14 Wilke Technology GmbH 0241 918 900 http www wilke de support wilke de ICOM 241 Technical data Interface 1x RS232 1x RS232 RS485 selectable Analog In 4 x 0 5V with input amplifier 1 lt V lt 10 Resolution 10 bit Inputs 4 x opto in 5 to 12V DC ER Outputs 8 x Darlington with protective diode max 50V 500mA 1 chanel duty 1096 50mA 8 chanels duty 100 Supply 8 12V DC 90mA Size approx 106 x 88 5 x 40mm LxBxH Connections RS232 with DB9 All other with DB25 Wilke Technology GmbH 0241 918 900 http www wilke de support wilke de 3 15 ICOM manual ICOM 241 24V The ICOM 241 24V is a variant of the ICOM 241 It needs a supply voltage between 14V and 24V DC The serial port SER1 is realized with a male 9 pol Sub D Connector seriel port 1 download DB 9 Connector male TXD 3 RXD 2 GND 5 IC6 Mr 24V IC3 MAX232 EP ED Eu EE EEG EE EE EE o N SOSE e sk male Leersockel 3 16 Wilke Technology GmbH 0241 918 900 http www wilke de supp
18. exMask dir_port 8 00000000b out 8 00010000b 0 LCD 4 240x128 150 KB s install device lcd LCD2 TDD 0 0 0EEH 1 150 11H INSTALL DEVICE KEYBl MF2 8485 TDD L84 clock L85 data Initialize the Keyboard Variables wKeybDevIdl KEYB1 lKeybExtFlagsl 0 bKeybActLangl LANG_GERMAN CALL InitKeybTables bKeybActLangl CALL InitKeybDev wKeybDevIdl PRINT LCD lt 1 gt PRINT LCD lt 1Bh gt c CHR 0 lt FOh gt USING UH lt 3 gt lt 2 gt 0 0 0 0 3 CALL SetLcdOutputPos LCD 0 PRINT LCD LowByte CALL SetLcdOutputPos LCD 0 PRINT LCD HighByte CALL SetLcdOutputPos LCD 0 PRINT LCD Ctrl Key CALL SetLcdOutputPos LCD 0 PRINT LCD Status run task p8 WHILE 1 1 Read a key from keyboard buffer and translate it into ASCII CALL GetAsciiKey wKeybDevIdi lKeybExtFlags1 bKeybActLangl wKey IF wKey lt gt 0 THEN Wilke Technology GmbH 0241 918 900 http www wilke de support wilke de 2 21 ICOM manual CALL SetLcdOutputPos LCD 9 0 PRINT USING LCD wKey BITAND Offh CALL SetLcdOutputPos LCD 9 1 PRINT USING LCD wKey SHR 8 BITAND Offh Check whether a control key is pressed CALL SetLcdOutputPos LCD 11 2 CALL CheckKeybFlags KF SHIFTRIGHT DOWN lKeybExtFlagsl bIsActive IF bIsActive TRUE THEN PRINT LCD Shift R ENDIF CALL CheckKeybF lags __KF_SHIFTLEFT_DOWN 1KeybExtFlags1 bIsActive IF bIsActive TRUE THEN PRINT LCD Shift_L ENDIF CA
19. ilable if internally e g a TINY Tiger TNN R 4 is used Wilke Technology GmbH 0241 918 900 http www wilke de support wilke de 2 1 ICOM manual First steps Power supply The ICOM 200 201 uses a power supply with 8 12 VDC 1A Minus is placed on the pin of the power supply connector The current consumption is depending on the application up to 400mA fe 8 12 VDC 1A min PC mode After a reset or power down the Tiny Tiger inside the ICOM 200 201 is testing ifthe PC mode pin is low In this case the ICOM switches to PC mode Debug mode Is the pin high the ICOM starts in run mode The time between power on and first activity on the I O pins is approx 230 msec Run 485 Reset ON on ON n ox a To set the ICOM 200 201 to PC mode a reset or power down is needed Setting the DIP switch to PC mode while in run mode is not sufficient 2 2 Wilke Technology GmbH 0241 918 900 http www wilke de support wilke de ICOM 200 201 RUN mode If the DIP switch PC Run is in position Run the program in the ICOM 200 201 is executed immediately after a reset Debugging is not possible in this mode Program download 2 A program created with the Tiger software is downloaded into ICOM 200 201 through the 9 pin Sub D connector To download the following has to be done Connect a power supply 8 12 V DC Polarity Inner contact minus outer contact p
20. lke Technology GmbH 0241 918 900 http www wilke de support wilke de 2 11 ICOM manual include define a inc user var strict TASK Main BYTE wert USER EPORT lastladr 10h USER EPORT physoffs 0f0h DIR PORT 8 0 DIR PORT 7 0 INSTALL DEVICE lcd LCD2 TDD 0 0 0EEH 1 150 11H LCD 1 128x64 150 KB s OUT 8 11111111b 11011111b set CTRL Pins of T6963C OUT 8 10000000b 255 Buzzer off IN 11h wert Optokoppler Inputs einlesen PRINT lcd wert wert Wert auf LCD ausgeben GOTO op Sprung nach OP END 2 12 Wilke Technology GmbH 0241 918 900 http www wilke de support wilke de ICOM 200 201 Power outputs The power outputs of the ICOM 200 201 are extended outputs of the Tiny Tiger which are eguiped with a driver IC type TD62083 or compatible The outputs have the physical address 00h and can be with an offset of 10h accessed with the port address 10h by the software The power outputs are lead to the 37 ch Sub D connector The pin OVCC is connected to a internal protector diode so the outputs are secured against overvoltage This pin normally should have the same voltage potential as the voltage to be switched Power outputs DB 37 Pin Out 0 23 Out 1 4 Out 2 22 Out 3 3 Out 4 21 Out 5 2 Out 6 20 Out 7 1 OVCC 5 Wilke Technology GmbH 0241 918 900 http www wilke de support wilke de 2 13 ICOM manual include define a inc user var
21. lus Connect ICOM 200 201 and PC with 9 pin D Sub cable Set DIP switch of ICOM 200 201 to PC mode Set the reset DIP switch to Reset and back to original position Start download at the PC Serial port 1 Download DB 9 plug TXD 2 RXD 3 GND 5 Wilke Technology GmbH 0241 918 900 http www wilke de support wilke de 2 3 ICOM manual SLEEP mode The ICOM 200 201 can be put into sleep mode if the Tiny Tiger inside has a real time clock In sleep mode the power consumption of the ICOM 200 201 is descreased significantly to just approx 25mA While in sleep mode no BASIC program is executed by the ICOM 200 201 VCC IN EHP5134 GND NN Sleep circuit The internal clock and SRAM of the Tiny Tiger are buffered through a Goldcap The power consumption of clock and SRAM is approx 70uA with a fully loaded Goldcap this is enough for about 3 hours To use the SLEEP mode of the ICOM 200 201 Jumper J9 which is located under the LC display has to be drawn On delivery the jumper is inserted so SLEEP mode is disabled 2 4 Wilke Technology GmbH 0241 918 900 http www wilke de support wilke de ICOM 200 201 1C12 Ku REE e 43911 esa C e Im 9 2zP t PT 28955 17 Lz BERRNEREseELE een 1 281 o 9 mmm 6 1 inn ununi LLE ninm To put the ICOM 200 201 into sleep mode the alarm time for the Tiny Tiger clock has
22. nput voltage range of 5 12 VDC To use higher input voltages as 24V for example an additional serial resistor in the input line is used The resistor value is selected in accordance to 4 50mA input current needed for the logical 1 level The internal resistance is 680 Ohm 0 25 W If now another input voltage is needed the totally required resistance can be calculated with the following formula Rges Ue 1 3V Ip U Input voltage Ib Current into the optocoupler Res Total resistance Example Is e g an input voltage of 24 V with a current of 10 mA wanted you get from the above formula Rges 2270 Ohm This means either the internal 680 Ohm resistor has be replaced with a 2200 Ohm resistor rounded to norm value or a resistor of 1590 Ohm has to be connected in series Attention When calculating the protective resistance the maximum dissipation of the resistor has to be considered Tiny Tiger Port Optokoppler DB 25 socket P80 Opto InO 1 P81 Opto In1 14 P82 Opto In2 2 P83 Opto In3 15 Opto GND 3 The following program reads the status of the optocoupler inputs into a variable and sends it out through serial port 0 3 4 wilke Technology GmbH 0241 918 900 http www wilke de support wilke de ICOM 241 include define a inc user var strict TASK Main BYTE wert DIR PORT 8 0fh low nibble als Input INSTALL DEVICE SER SERIB K1 TDD amp BD 9 600 DP 8N
23. ort wilke de ICOM 241 Connection to PC For programme download debugging and other communication with a PC use a crosslinked cable null modem Technical data Interface 1x RS232 1x RS232 RS485 selectable Analog In 4 x 0 5V with input amplifier 1 V 10 Resolution 10 bit Inputs 4 x opto in 5 to 12V DC Outputs 8 x Darlington with protective diode max 50V 500mA 1 chanel duty 1096 50mA 8 chanels duty 100 Supply 14 24V DC 95mA Size approx 106 x 88 5 x 40mm LxBxH Connections RS232 with DB9 male All other with DB25 Wilke Technology GmbH 0241 918 900 http www wilke de support wilke de 3 17 Hints and Help 4 Hints and help When you have problems with a Tiger BASIC program Try to reduce the problem to a short and simple sample program Maximum should be one page mostly a view lines will do Which version of the compiler do you use see About in menue Help Which versions have the device drivers involved see Device driver list in menue View Describe the faultive situaltion as detailled as possible In what context does the error occur Does the error occur always or only occasionally Include all your communication numbers as Fax Phone etc in your request so we can help you as fast as possible BASIC Tiger Service Hotline 49 0 241 15 15 99 Wilke Technology GmbH Krefelder Str 147 P O Box 1727 D 52070 Aachen Germany Phone 49 0 241 91890
24. r removing of the ICs is only allowed without power supply f RS485 Pin DB25 socket e TXDO A 18 RXDO B 17 Layout of DB25 socket RS485 o Co sooo o o 75176 En um um um Entfernen E E uH EE gg gm MAX232 pocodcdocdoc BEREEERE 281 nuin TTTTITT gt 80Z9 TT Attention Never place IC3 and IC6 at the same time as this could lead to destruction of the serial port or the driver ICs The following sample program receives serial data through serial port 0 Wilke Technology GmbH 0241 918 900 http www wilke de support wilke de 3 9 ICOM manual include define a inc user var strict TASK Main BYTE i k DIR PORT 8 0 INSTALL DEVICE lcd LCD2 TDD 0 0 0EEH 1 150 11H LCD 1 128x64 150 KB s INSTALL DEVICE SER SERIB K1 TDD amp BD 9 600 DP 8N JA BD 9 600 DP 8N OUT 8 11111111b 11011111b OUT 8 10000000b 255 LOOP 999999999 GET ser 0 1 1 i IF I gt 0 THEN GET ser 0 1 k PRINT 1cd Taste chr k ENDIF ENDLOOP END JA set CTRL Pins of T6963C Buzzer off Endlosschleife Eingangsbufferf llstand Seriellen Eingangsbuffer lesen Ausgabe auf dem LCD 3 10 Wilke Technology GmbH 0241 918 900 http www wilke de support wilke de ICOM 241 Analog inputs The analog inputs of the ICOM 241 have an input range from 0 5V DC The hardware resolution is 10 bit and can be raised to 12 bit by software interpolation when neede
25. strict TASK Main WORD i USER EPORT lastladr 10h USER EPORT physoffs 0f0h DIR PORT 8 0 INSTALL DEVICE lcd LCD2 TDD 0 0 0EEH 1 150 11H LCD 1 128x64 150 KB s OUT 8 11111111b 11011111b OUT 8 10000000b 255 FOR i 0 to 7 OUT 10h mask i 255 WAIT DURATION 1000 OUT 10h mask i 0 WAIT DURATION 1000 set CTRL Pins of T6963C Buzzer aus Pin auf 1 setzen 1 sec warten Pin auf O setzen 1 sec warten NEXT END 2 14 Wilke Technology GmbH 0241 918 900 http www wilke de support wilke de ICOM 200 201 Analog inputs The analog inputs have a hardware resolution of 10 bit nevertheless by software interpolation a resolution of 12 bit can be achieved More detailled information can be found in the BASIC Tiger Device driver manual To allow the universal use of Tiny Tiger analog inputs each channel is equiped with an OpAmp With this circuitry not only an amplification factor can be set but also a different configuration of the inputs is possible Three different configurations can be set 0 5V DC 0 10V DC 0 20mA Analog channel DB37 socket AnO 32 Ani 14 An2 33 An3 15 AGND 34 Wilke Technology GmbH 0241 918 900 http www wilke de support wilke de 2 15 ICOM manual The configuration is done with jumpers on the backside of the board see picture To alter the configuration it is neccessary to open the device This should only be done by a
26. to be set Following that the ICOM 200 201 falls into sleep mode and wakes up again at alarm time More detailled information on how to set the alarm time can be found in the BASIC Tiger Device driver manual If jumper J9 has been drawn and the Goldcap is unloaded it takes about 30 seconds from connecting the power supply before the ICOM 200 201 switches on Wilke Technology GmbH 0241 918 900 http Avww wilke de support wilke de 2 5 ICOM manual Keyboard The ICOM 200 has a 20 key matrix keyboard The keyboard is devided into two blocks The first block has four vertically arranged keys placed directly on the right side of the LC display Those keys can e g be assigned to a menu on the LC display The second block consists of 16 labeled keys Reading the keyboard is done with the device driver LCD1 TDD The following example scans the keyboard and gives back a numeric code for the pressed key Additionally a character can be assigned to the numeric code Read the Device driver manual of the BASIC Tiger on how it is done Multitasking Computer With a physical offset of 10h the keyboard culumns are at the addresses 19h to 27h In order to scan the keyboard the following settings have to be implemented into the program USER EPORT LASTLADR 10h USER EPORT PHYSOFFS OFOh 2 6 Wilke Technology GmbH 0241 918 900 http www wilke de support wilke de ICOM 200 201 define keyb keybo
27. un 485 MF2 8 RS 232 Reset 12 SER1 PC VDC PC Mode e 2 10 Wilke Technology GmbH 0241 918 900 http www wilke de support wilke de ICOM 200 201 Opto inputs The ICOM 200 201 has eight optocoupler inputs suited for an input voltage range of 5 12 VDC To use higher input voltages as 24V for example an additional serial resistor in the input line is used The resistor value is selected in accordance to 4 50mA input current needed for the logical 1 level The internal resistance is 680 Ohm 0 25 W If now another input voltage is needed the totally reguired resistance can be calculated with the following formula Rges Ue 1 3V Ip U Input voltage Ib Current into the optocoupler Res Total resistance Example Is e g an input voltage of 24 V with a current of 10 mA wanted you get from the above formula Rges 2270 Ohm This means either the internal 680 Ohm resistor has be replaced with a 2200 Ohm resistor rounded to norm value or a resistor of 1500 Ohm has to be connected in series The optocoupled inputs are realized as extended inputs of the Tiny Tiger They can be accessed under logical port address 11h physical 1 Both USER_EPORT instructions in the sample program are urgent Optocoupler pin DB37 socket Opto In0 6 Opto In 25 Opto In2 y Opto In3 26 Opto In4 8 Opto In5 27 Opto In6 9 Opto In7 28 GND 10 Wi
28. xel There s a special device driver to control this display By using this device driver it is possible to control the LC display with simple BASIC commands Detailled information about usage of this device driver LCD 6963 TDD is part of the Device driver manual of the BASIC Tiger The LC display has LED backlight The backlight s power consumption is approx 250mA Power supply is 5V To save energy backlight can be turned off by software For this Tiger pin P86 is used Setting the pin to 1 activates the backlight when set to 0 backlight is off define display off LCD ausschalten mit P86 define display on LCD anschalten mit P86 include define a inc user var strict TASK Main Dir port 8 0 INSTALL DEVICE lcd LCD2 TDD 0 0 0EEH 1 150 11H LCD 1 128x64 KB s print lcd start wait duration 2000 out 8 mask 6 display off Display ausschalten wait duration 2500 2 5 sec warten out 8 mask 6 display on Display einschalten print lcd OK End 2 8 Wilke Technology GmbH 0241 918 900 http www wilke de support wilke de ICOM 200 201 Serial Interface As a standard the ICOM 200 and ICOM 201 have two serial interfaces From these the port Ser0 can by choice be configured as RS232 or RS485 interface The port Seri always is a RS232 interface In PC mode this port is used for downloading the program into the ICOM 200 201 In Run mode it can be used as a usual RS232 interface
Download Pdf Manuals
Related Search
Related Contents
Widex MENU ME-19 - Hearing Health Clinic Pensamento conjunto, produto inovador Mist Control - ecuaquimica DJ Lase Performance 150 RGY / 250 RVP / 200 GVC láser manual User Guide User Manual - SGTechno 取扱説明書 Massive myKidsRoom Ceiling light 40153/55/16 取扱説明書 - 日立の家電品 Copyright © All rights reserved.
Failed to retrieve file