OPERATING INSTRUCTIONS Version 11/09 C-Control PRO Mini-Station Item no.
Table of Contents Page 1. Introduction ................................................................................................................... 3 2. Scope of Delivery .......................................................................................................... 3 3. Intended Use ................................................................................................................. 4 4. Explanation of Symbols ........................................................
1. Introduction Dear Customer, Thank you for purchasing this product. This product meets the requirements of current statutory, European and national guidelines. To maintain this status and to ensure safe operation, you as the user must observe these operating instructions! Please read the operating instructions completely and observe the safety and operating notices before using the product. All company names and product names are trademarks of the respective owners. All rights reserved.
3. Intended Use The "C-Control PRO Mini-Station" is a micro computer (μC) with peripheral devides in a dust and splash proof housing (IP66). This product can be used to perform several control and regulation tasks; you need to create up the respective programmes for them. At delivery, a small test programme is pre-installed on the "C-Control PRO Mini-Station" by default. This will activate a running light when the operational voltage is connected.
. Safety Notices The guarantee/warranty will be void if damage is incurred resulting from non-compliance with the operating instructions. We will not assume any responsibility for consequential damage! Nor do we assume liability for damage to property or personal injury caused by improper use or the failure to observe the safety instructions! In such cases the guarantee/warranty will be void.
. Assembly Attention! The "C-Control PRO Mini-Station" consists of sensitive electronic components. Improper use may destroy them. Electrostatic discharges, inducted peak voltages and different voltage potential are particularly dangerous. Touch an electrically grounded object before working at the mini station, such as a metal computer housing. Never touch any electronic components or conductors on the circuit board.
. Control Elements, Connections a) Cable Connections Before you may electrically wire the "C-Control PRO Mini-Station", the four screws at the top of the housing must be loosened and the transparent lid must be removed. To insert the wires in the terminal strip, press the small notched tappet for the respective clamp down with a small screwdriver: this will cause the clamp to open so that the wire can be inserted. The wire thickness for terminal strips X1 and X2 should have a section of 0.2 to 0.5 mm².
b) Voltage / Current Supply Clamps (Clamps +UB" and "GND") The "+UB" connection of the upper terminal strip and the adjacent "GND" connection serve for voltage / current supply of the "C-Control PRO Mini-Station". The admissible supply voltage is between 9 and 16V (DC) Only use a stabilised supply voltage! The max. current input depth is at about 200mA.
f) Inputs ("INPUT1"....."INPUT5" Clamps) The "C-Control PRO Mini-Station" has five digital inputs The digital inputs of the "C-Control PRO Mini-Station" are designed so that a high level is recognised for a voltage area between 5 and 16Volt (DC). "Low" levels are recognised up to approx. 1V. Observe that the input current rises with a rising voltage at the I/O connection (max. 5mA per input at 16V/DC).
h) Relays "K1" and "K2" The two "K1" and "K2" relays can each be used for switching an external circuit. The maximum permissible switching current for each relay is at 10A (for 250V/AC) or 5A (at max. 30V/DC). An adjacent LED indicates the switching state (LED lights up when the relay is energized). Depending on the intended use, the connection is to be used as "NC" ("normally closed" = opener) or "NO" ("normally open" = shutter), with connection "C" ("Common") being the common connection.
l) Port Table Inputs Port ADC0 PA0 PortBit Name Comment PortA.0 0 ADC0 ADC input ADC1 PA1 PortA.1 1 ADC1 ADC input INTERN PA7 PortA.7 7 ADC7 Measuring operational voltage INPUT1 PD3 PortD.3 27 INT1 Ext. IRQ1 INPUT2 PD6 PortD.6 30 ICP Input capture pin for Pulse / period measurement Timer/Counter0 input INPUT3 PB0 PortB.0 8 T0 INPUT4 PB1 PortB.1 9 T1 Timer/Counter1 input INPUT5 PB2 PortB.2 10 INT/AIN0 Ext.
m) Description of the Connection Clamps "X1" Strip terminal Inputs Function Voltage range +UB Supply voltage (+) 9 - 16V/DC, 200mA GND Supply voltage (-) Ground ADC0 PA.0 / analogue input / 1 wire 0 - 5V/DC ADC1 PA.1 / analogue input / 1 wire 0 - 5V/DC INPUT1 PD.3 / external interrupt1 / INT1 0 - 16V/DC INPUT2 PD.6 / Input capture pin for pulse / period measurem. 0 - 16V/DC INPUT3 PB.0 / Input Timer/Counter0 / T0 0 - 16V/DC INPUT4 PB.
"X3" Strip terminal Outputs Port Technical Data Relay K1 "Change-over contact" PC.4 10A / 250V/AC or 5A / 30V/DC Outputs Port Technical Data Relay K2 "Change-over contact" PC.
8. Connection and Operation Connect the two adjacent clamps "+UB" and "GND" of the "X1" terminal strip to the operating voltage. The green LED "POWER ON" indicates that the "C-Control PRO Mini-Station" is supplied with voltage and in operation. At delivery, a small test programme is pre-installed on the "C-Control PRO Mini-Station" by default. This will activate a running light when the operational voltage is connected.
9. The Software There is the following content on the CD: • C-Control PRO IDE Programming interface for C-Control PRO For updates and further examples, see: www.c-control.
At the start, select the language for your installation. Afterwards you can choose if the software is to be installed to the standard path or to your own target directory. At the end of the installation process, you will be asked if the program is supposed to create a desktop icon. Once the installation process is completed, you can view the "ReadMe" file, a short introduction or start the "C-Control PRO" developer environment.
10. Programming Cable (USB Programmer) A data cable and software are available as accessories to connect the "C-Control PRO MiniStation" to a computer (Conrad order number 197339). GND VBUS RXD TXD_5V For installing the data cable software, insert its CD into the respective drive of your computer and start the installation program (Voltcraft_USB_Programmer.exe). Do not connect the programmer cable to the USB port on your PC until the installation is completed.
11. Commissioning and testing After you have installed the software and connected the "C-Control Mini-Station" to the operational voltage, you can start trying out the demo programs. The following steps indicate the usual procedure for handling the software ("IDE") and "CControl Mini-Station". First copy the contents of the CD into a new directory on your hard disk. Then start the "CControl PRO" software. At the first start, you will have to make some adjustments.
Now press the "STOP" button at the "C-Control PRO Mini-Station". Now the "C-Control PRO" should appear in the output window. Once this is the case, you can open a program. To do so, choose the menu item "File" and then "Open". Select the directory to which you copied all data and load a program under "Demos", e.g. "Clock_I.cprj". The program code appears in the editor. Compile the code with the "F9" button (or by pressing the small blue arrow to the right in the menu line).
12. C-Control PRO Mini-Station Library To make programming the "C-Control PRO Mini-Station" easier, a library was created to address the hardware through functions created specifically for this. Thus, no long commands must be entered to switch a relay. It can be done with RELAIS_K1_ON() or RELAIS_K1_OFF(). The following sections explain the syntax and use of the library. Of course you can expand this for own applications and functions.
RELAY_K1_ON(), RELAIS_K2_ON() Switches on relays K1 or K2. The switching state is indicated by the status LED at the respective relay (when the relay is activated, the respective red LED lights up). RELAY_K1_OFF(), RELAIS_K2_OFF() Switches off relays K1 or K2. The switching state is indicated by the status LED at the respective relay (when the relay is deactivated, the respective red LED is not lit).
READ_UB() As Single READ_UB() reads the operating voltage of the "C-Control PRO Mini-Station". The returned value is of the single type. For reasons of component tolerance, the measured values must be adjusted by the software. Volt = Volt * 3.75 The factor of "3.75" results from voltage divider ratio + corrective factor DELAY_MS(time As Integer) DELAY_MS(time As Integer) is a time loop (inaccurate as compared to AbsDelay), but it has the great advantage of not completely stopping the interpreter.
PRINT(ByRef serial_text As Char) This command is used for the output of an ASCII-character chain by the serial interface. This must first be transferred to the function! Example: Dim Txt(20) As Char Txt = "Hello World" PRINT(txt) PRINTLN(ByRef serial_text As Char) This command has the same function as PRINT, except that CR+LF is sent at the end of the string ("CR" = Carriage Return, "LF" = Linefeed).
13. Troubleshooting The POWER ON LED does not light up, C-Control Mini-Station does not work. • Check the power supply for the "C-Control PRO Mini-Station" • Is the connection cable okay? • Cable isolation may also be caught in the clamp so that the conductor has no contact. • There may be short circuits that happened during wiring. Is any external wiring you made okay? The Voltcraft USB Programmer has a question or exclamation mark in the device manager.
The programme cannot be transferred from IDE to the "C-Control PRO Mini-Station" • Ensure that the "C-Control PRO Mini-Station" is in BOOT mode and connected to sufficient power supply. Proceed as follows: Press the "STOP" button at the "C-Control PRO Mini-Station" Now the "C-Control PRO" should appear in the output window. Now the programme can be transferred to the "C-Control PRO" using the "transfer programme" symbol (green arrow upwards) or the SHIFT+F9 keys.
14. Maintenance and Care The product is maintenance-free. To clean the outside of the product, a dry, soft and clean cloth is sufficient. When you need to open the housing (e.g. for programming or connecting more components), first switch off the operational voltage of the "C-Control PRO Mini-Station" and all connected devices. Then clean the outside of the housing before opening it. Never use any aggressive cleaning agents or chemical solutions, because these will damage the surface of the housing (e.g.
16. Technical Data Supply voltage: ........................................... 9 -16 V/DC, stabilised Current consumption: ................................. Max. approx. 200mA Power loss at 12V/DC: ............................... approx. 1.8 W Relay switching output: .............................. Max. 10A/250V/AC or 5A/30V/DC ADC reference voltage: .............................. 5V ADC Resolution: ......................................... 10Bit (0 - 1023) Potential division of the digital port: ...........
http://www.conrad.com Legal Notice These operating instructions are a publication by Conrad Electronic SE, Klaus-Conrad-Str. 1, D-92240 Hirschau (www.conrad.com). All rights including translation reserved. Reproduction by any method, e.g. photocopy, microfilming, or the capture in electronic data processing systems require the prior written approval by the editor. Reprinting, also in part, is prohibited. These operating instructions represent the technical status at the time of printing.