C Control I Unit-M 2.0 BASIC 5 Vdc Inputs / outputs 16 x digital I/Os/8 x analog or digital I/Os/2 x analogue outputs (s 198822 Data Sheet

Product codes
198822
Page of 20
Computer is connected to the interface adapter by a cable (198876) and is in circuit programmable 
this way after applying the operation voltage to the adapter. 
Terminal 9 to 15V DC
Connect the operating voltage to this terminal and carefully check for correct polarity. Advice regarding 
polarity you find printed at the board or in the manual for the adapter
DC Jack 9 to 15V DC
This jack is suitable to connect a standard power suply. Ground is located at the plug coat, +5 is 
located at the plug’s center. Please check for proper polarity before connecting the power supply to 
the adapter.
Caution:
If you connct a C-Control Unit M 1.2 / 2.0 to the Interface Adapter, the operating voltage may 
either be provided by your application or by the Interface Adapter but never by both at the 
same time.
Never connect the Interface Adapter to a C-Control Unit if it is plugged into an application that 
needs more than 100mA current consumption. In this case the operating voltage must be 
provided by the user application. Otherwise the voltage regulator at the Interface Adapter will 
pemanently be damaged and may cause damage of the C-Control Unit and connected 
components.
Connection to a PC
The C-Control Computer needs a connection to a PC for downloading the user program. Depending 
on the hardware environment you now may connect the Application Board or the RS232/USB 
Interface Adapter to your PC. Together with the Application Board or Interface Adapter a dedicated 
interface cable was supplied. Connect this cable to the PC serial interface
Running the Integrated Development Environment (IDE)
Apply the supply voltage now and start the BASIC++ IDE for a download of your program.
The BASIC++ manual, included in the DIE, offers you more advice concerning this matter.
 Download to the  C-Control Unit
If no error is encountered during compilation, the program  downloaded can be started. The C-Control 
Unit is ready for download if it is in the RESET-State. Press the RESET button at the Application 
Board, or tie the RESET pin low for a moment, if you use the unit stand alone. Make sure that the 
START jumper is removed. For details concerning the download with the IDE please refer to the 
BASIC++ manual. Depending on the program size the download lasts betwen 1s for short programs 
and up to a minute for large programs. The LEDs located at the interface Adapter and the Application 
Board shows activity at the interface lines, the download window on your PC shows the progress.  
After download the connection to the PC either may stay (e.g. for program outputs to a terminal 
program) or can be removed if desired.
EEPROM Boot Option (only M 2.0 und Station)
The Operating System Versions above 2.05 offer the option to load a user program from a EEPROM 
e.g. in form of a „Chip-Card“. This is very comfortable if the user program has to be updated in the field 
without a PC available or if qualified personnel for a manual program download is not present. The 
EEPROM Boot Option is set als default but can be switched off. The procedure is similar to a usual 
downlaod. A RESET causes the Unit to enter the Download Mode and the Operarting System tries to 
identify a EEPROM containing a valid program file. If no EEPROM is connected or the loaded file is 
not valid, the usual procedure (download from serial interface) is applyable. If a EEPROM containing a 
valid program file is connected then the program is copied into the FLASH Memory.
A program file on EEPROM is defined to have the first byte in memory loaded with the value $55. The 
memory beyond the program bytes can be used as data memory. The boot option is set on/off with a 
dedicated small BASIC program. The boot file located on EEPROM is created with a special program 
running on a C-Control Unit. Details you will find in the Programmers’s Manual