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
Expression Optional. Term, variable, value or constant as return value   
OBJECTS 
The Config Object is introduced together with the newer generation of the C-Control computers and is part of 
the Extended Functions. For any access to Objects belonging to the Extended Functions it is required to 
activate the Object prior to any read/write action. Because only one Object may be active at the same time it 
is required to cose the object before activating another Object.  
 
CONFIG REGISTER  
Two internal registers may be written to set up a special system configuration e.g alternate port functions or 
can be read to aquire a certain system status flag e.g. radio controlled clock synchronisation.  
 
CONFIG REGISTER 1 
 
Bit 0 - Switch both PWM-DACs to SERVO-Mode 
Bit 1 - Switch frequency counter 1 to event counter mode 
Bit 2 - Switch frequency counter 2 to event counter mode 
Bit 3 - switch on PULLUP- resistors for PORT 1 to 8 
Bit 4 - switch on PULLUP- resistors for PORT 9 to 15 
Bit 5 - radio controlled synchronising of RTC. Clock is Sync 
Bit 6 - IIC-BUS Communication Error 
Bit 7 - Mirrors logic level at Start button input port  
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
The mentioned action is performed on setting the corresponding bit to HI 
 
CONFIG REGISTER 2 
 
Bit 0 - IRQ disabled and replaced by 20 ms timer interrrupt 
Bit 1 - IRQ line logic level 
Bit 2 - IRQ disabled, replaced by RF-Module interrupt. 
Bit 3 - IRQ disabled, replaced by IR-Module interrupt. 
Bit 4 - AD-Ports now acting as digital BYTEPORT 3, external                
            IICBUS byteport 3 is disabled  
 
 
 
 
 
 
 
 
 
 
 
The mentioned action is performed on setting the corresponding bit to HI 
 
 
CONFIG.INIT 
Activate the Object to get access to its registers for read/write operation. Close other Objects prior to open. 
 
Syntax: OBJECT.instruction 
 
 
CONFIG.PUT 
CONFIG.GET 
Access the Config register for read/write a binary value 
 
 
CONFIG.OFF 
Close the Object prior to open any other Object. 
 
22