C Control The I Unit-M Advanced 5 Vdc Inputs / outputs 16 x digital I/Os / 8 x analogue or digital I/Os Program memory 2 198805 Datenbogen

Produktcode
198805
Seite von 42
INTRODUCTION 
ABOUT C-CONTROL 
Small microcontrollers can everywhere be found. They mostly are programmed in assembly language which 
requires a deep knowledge in this language and processor architectures. The manual for the controller 
counts most times some hundred pages and is hard to understand. To learn the assembly language you 
additionally have to study books about. BASIC++ is the language to program these microcontrollers without 
special knowledge. Around the core of standard BASIC instructions are few additional instructions to use the 
controller standard environment hardware for applications (such as a LCD). For experienced programmers 
BASIC++ offers features (such as import code from a library) which are a must for a modern programming 
language.  
 
Memory 
The C-Control computer have a operating system on board and can be programmed in BASIC. BASIC ist not 
only easy to learn, it is very efficient concerning the memory usage too. A BASIC program needs about 1/5 
of memory that would be needed if the same application is programmed in assembly language.  
 
Speed: 
The statement, BASIC is slow is from a time when the BASIC program is put to memory as source code 
which which must be read and interpreted at runtime. At the C-Control units the BASIC source code is 
converted to Tokens and loaded into the memory, representing the program. This Tokens are executed very 
fast resulting in a speed of app. 23000 instructions per second on a M 2.0 Unit.  
 
 
 
 
ABOUT BASIC++ 
Code Development 
If you know that a single BASIC instruction sometime consists of many hundred assembly instructions it is 
easy to believe that BASIC programming saves a lot of time. I guess you need 1/10 of time programming in 
BASIC instead in assembly language. C-Control and BASIC++ is a powerfull tool for rapid development even 
for experienced engineers. While others are still debugging their assembly or C++ program, your application 
is just running  
 
Programming Skill 
BASIC++ is even for unexperienced users simple to use (simple BASIC core functions). Beside of this 
professional programmers will find all the features required for a modern programming language. A bunch on 
programs, available in the library, makes it easy to solve even complex problems.  
 
Please look here for addons and product specifications www.c-control-support.net  
 
ABOUT THIS DOCUMENT 
This document is applicable on the C-CONTROL I Unit-M 2.0 and Unit-M ADVANCED with OS 2.05 and 
above. 
This Document is also applicable for both products STATION 2.0 and STATION ADVANCED, as they 
contain either a standard Unit-M 2.0 or a Unit-M 2.0 ADVANCED as BASIC-Computer. 
It describes the BASIC++ Instruction Set and Controller properties. As far as it is useful, a general syntax is 
given. 
 
Syntax: Variable = value1 MOD value2 
 
 Variable: Variable of Byte oder Word type  
 value1 Variable, value oder constant of Byte oder Word type  
 value2 Variable, value oder constant of Byte oder Word type 
 
The values (here value1 and value2) may also be complex terms closed in braces.  
 
 
4