ii Wilke Technology GmbH ??? 0241 / 918 900 ??? http://www.wilke.de/ ??? support@wilke.de
General
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.
ICOM-manual
1 Typographic conventions and symbols
Following fonts and symbols are used for fast identification of important informations:
1-2 Wilke Technology GmbH ??? 0241 / 918 900 ??? http://www.wilke.de/ ??? support@wilke.de
ICOM-200 / 201
2 ICOM-200 / 201
Versions
Note: The sleep function is available if the ICOM contains a TINY-Tiger?? with real time clock. It is not available, if internally e.g. a TINY-Tiger?? TNN-R/4 is used.
ICOM-manual
First steps
Power supply
The ICOM-200/201 uses a power supply with 8-12 VDC, 1A. Minus is placed 2 on the pin of the power supply connector. The current consumption is,
depending on the application, up to 400mA.
PC mode
After a reset or power-down the Tiny-Tiger?? inside the ICOM-200/201 is testing if the 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-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.
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. 70??A, 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
2
To put the ICOM-200/201 into sleep mode, the alarm time for the Tiny-Tiger?? clock has 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.
ICOM-manual
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.
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, 0F0h
2-6 Wilke Technology GmbH ??? 0241 / 918 900 ??? http://www.wilke.de/ ??? support@wilke.de
ICOM-manual
LC display
The ICOM-200 has a graphic LC display with a resolution of 128 x 64 pixel. 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.
#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, 150
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 Ser1 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 2 be used as a usual RS232 interface.
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.
Attention: Never place IC3 and IC12 at the same time, as this could lead to destruction of port 0 !!!
ICOM-manual
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.
Layout of DB37 connector (RS485)
2-10 Wilke Technology GmbH ??? 0241 / 918 900 ??? http://www.wilke.de/ ??? support@wilke.de
ICOM-200 / 201
Opto inputs
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.
Wilke Technology GmbH ??? 0241 / 918 900 ??? http://www.wilke.de/ ??? support@wilke.de 2-11
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 equiped with a driver IC type TD62083 or compatible. The outputs have the physical address 00h and can be (with an offset of ???10h)
Wilke Technology GmbH ??? 0241 / 918 900 ??? http://www.wilke.de/ ??? support@wilke.de 2-13
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.
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 qualified person. How the jumpers have to be placed for the specific configurations is shown in the following table and pictures.
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 !
2-16 Wilke Technology GmbH ??? 0241 / 918 900 ??? http://www.wilke.de/ ??? support@wilke.de
ICOM-200 / 201
Configuration 0...20mA
The past configurations have been voltage inputs. The following configuration makes it possible to realize current inputs.
Wilke Technology GmbH ??? 0241 / 918 900 ??? http://www.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.
2
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.
2-18 Wilke Technology GmbH ??? 0241 / 918 900 ??? http://www.wilke.de/ ??? support@wilke.de
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. 2 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
2-22 Wilke Technology GmbH ??? 0241 / 918 900 ??? http://www.wilke.de/ ??? support@wilke.de
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??.
Pin layout 37-ch. D-Sub connector
The 37-ch. D-Sub connector carries all available I/O pins except for serial port 1.
2-24 Wilke Technology GmbH ??? 0241 / 918 900 ??? http://www.wilke.de/ ??? support@wilke.de
ICOM-200 / 201
Technical data
Wilke Technology GmbH ??? 0241 / 918 900 ??? http://www.wilke.de/ ??? support@wilke.de 2-25
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). 3 The maximum input voltage for the analog inputs is 5V DC.
Components side ICOM-241
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.
3
PC-Mode
After a reset or power-down the Tiny-Tiger?? Economy inside the ICOM-241 is testing if the 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.
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:
ICOM-manual
Opto inputs
The ICOM-241 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 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-manual
Power outputs
The power outputs of the ICOM-241 are extended outputs of the Tiny-Tiger?? Economy, which are equiped with a driver IC type TD62083 or compatible. This IC has got eight open collector outputs.
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 Ser1 always is a RS232 interface. In PC 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.
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.
ICOM-manual
The pins of serial port Ser0 are located on the DB25 connector. The pin layout is shown in the table below:
Layout of DB25 connector (RS232)
RS 485
The configuration of port Ser0 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
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.
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 needed. 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.
View of components side with potis of analog amplifiers
Pin layout of DB25 connector (analog channels)
Wilke Technology GmbH ??? 0241 / 918 900 ??? http://www.wilke.de/ ??? support@wilke.de 3-11
ICOM-manual
3
Circuit of analog inputs
3-12 Wilke Technology GmbH ??? 0241 / 918 900 ??? http://www.wilke.de/ ??? support@wilke.de
Wilke Technology GmbH ??? 0241 / 918 900 ??? http://www.wilke.de/ ??? support@wilke.de 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.
3
3-14 Wilke Technology GmbH ??? 0241 / 918 900 ??? http://www.wilke.de/ ??? support@wilke.de
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.
ICOM-241
Connection to PC
For programme download, debugging and other communication with a PC use a crosslinked cable (null modem)
Technical data
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.
4-2 Wilke Technology GmbH ??? 0241 / 918 900 ??? http://www.wilke.de/ ??? support@wilke.de