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
 
While downloading the program size and progress of written bytes is 
shown at the LCD. 
BAS: XXXX BYTES 
WRITING: XXX 
 
 
The download is finished when the corresponding message is shown at 
the LCD. 
BAS: XXXX BYTES 
WRITING: XXX 
The Chipcard is ready to be used as boot device. 
 
To aktive/deactivate the Boot Option run the programs run the dedicated programs, located in the folder 
START OPTION  
 
Please note that the Unit M 2.0 and M ADVANCED need different files to deactivate the boot option. 
 
 
 
 
FLAOTING POINT MODULE (FPM)  
The Floating Point Module is only available for the Unit-M Advanced 
INTRODUCTION 
The C-Control I Unit-M Advanced is based on the Operating System of a standard Unit-M 2.0, but has an 
additional 32 bit Floating Point SoftwareModule and an extended program memory (22k). The memory for 
variables has also been extended, but with some small restrictions. Unrestricted usable are 140 bytes, up to 
240 bytes are usable if the File Function PRINT# is not used, or is used that way, (e.g for temporary 
variables) that it does not matter if variables content in the range from 140 to 240 will be changed when 
INPUT# is used. 
 
Introducing the C-Control I Unit-M Advanced requires new data structures for floating point variables, what 
can't be managed by the old CCBASIC compiler. Even though the standard functions (compatible to a M 2.0) 
can still be used with the CCBASIC IDE, using the Floating Point Module requires the BASIC++ IDE, or the 
more comfortable Development Environment WORKBENCH. The WORKBENCH can be found on the 
installation CD as well as sample programms mentioned in this document. For Updates and news please 
visit WWW.c-control-support.net frequently.  
 
 
Floating Point Extension Library 
The basic floating point operations are done on system level i.e. they are implemented as machine code 
executables. Beside this, other functions e.g LN (natural logarithm) are executed on BASIC level, because 
here it is useful to trade between accuracy and computing speed. Similar can be said for tools. e.g a 
program module that allows to enter  floating point values, using the c-control Keyboards. Here also the user 
has the chance to change this modules to his specific requirements.  
 
 
Limitations: 
Implementing a Floating Point Module in a small machine like the C-Control does not affect the accuracy of 
course, but has some other disadvantages. This means that the stack of the c-control is sufficient to do all 
calculations, but requires some careful considerations of the user, programming his applications. 
Same can be said for type convertations. Often this convertations are done in background, and the user may  
directly move a integer value to a floating point  variable. In such a small machine there is not enough 
memory for the operating system do do things like this. Here the user has to take care himself to make 
proper convertations when mixing variable Types. 
 
Mismatching variable types  will often cause wrong results in calculations and may crash the program 
because of stack errors. 
 
 
28