XLC4Commander Manual

XLC4Commander
Manual
Program to demonstrate the application of
Chromasens LED-Control Unit XLC4-1
Version 1.0
preliminary
Content
1
Overview
1.1 Installation
1.2 Interfaces
2
Handling
2.1 Cabling to PC
2.2 Start of program
2.3 To begin the Session
2.4 Controlling the Corona II module
2.5 Closing the connection
2.6 Use of XLC4 in a local Eternet
2.7 Direct input of XLC4 commands
2.8 Manual Configuratuion of Channels
2.9 12
2.10 Registry stored Settings
3
3
3
4
4
4
5
7
8
9
10
11
12
Figure 1: Startup screen .......................................................................................................................... 4
Figure 2: Configure and connect on RS232 ............................................................................................ 5
Figure 3: XLC4 connected and Corona modules identified .................................................................... 6
Figure 4: Control panel of corona module ............................................................................................... 7
Figure 5: Closin the connection ............................................................................................................... 8
Figure 6: Connection via local network ................................................................................................... 9
Figure 7: Entering direct commands ..................................................................................................... 10
Figure 8: manually configuration of channels ........................................................................................ 11
2
Chromasens GmbH – Max Stromeyer Straße 116 – 78467 Konstanz (Germany)
www.chromasens.de
1 Overview
The XLC4Commander program is intended as an easy to install and easy to use demonstration tool to
get acquainted with the handling of the Chromasens line Scan Illumination Corona II and its Control
Unit XLC4-1. So it is assumed that you have carefully read the manuals describing the XLC4-1 and
the CORONA II as prerequisite.
Even though the XLC4 knows 4 different operation modes, namely Bulb-Mode, Command-Mode,
PWM Controlled Mode and Analog Controlled Mode, the XLC4Commander is meant to be used
mainly in Command-Mode.
Used documents
[1] Chromasens GmbH: LED-Control Unit XLC4-1 Manual
[2] Chromasens GmbH: LED Line Scan Illumination Manual
1.1
Installation
The program comes as an exe-file and needs no further files or installer kits. Just copy
XLC4Commander.exe to a directory of your choice on your PC. It is started by double-click on the
filename. Better store a copy or a shortcut on the desktop.
1.2
Interfaces
The XLC4-1 is equipped with 3 different control interfaces:
RS232
USB
Ethernet
(connector X1)
(connector X2)
(connector X3)
With XLC4Commander there are some restrictions. It works
with RS232 (COMx-Interface)
with Ethernet TCP/IP using a preset IPv4-Adresse
USB might be used when emulated as virtual COM-Interface
3
Chromasens GmbH – Max Stromeyer Straße 116 – 78467 Konstanz (Germany)
www.chromasens.de
preliminary
2 Handling
2.1
Cabling to PC
Connect your Corona II modules in the desired configuration to the XLC4-1 using the connectors X8
through X11. For cabling and valid combinations of Corona II modules and XLC4 see the manuals
[1] and [2].
For the connection to the PC use
1) RS-232-Cable DSUB9 1:1 female-male
2) Cat-5 Patch cabel for Ethernet
3) USB Kabel AM-BM
2.2
Start of program
To start of the XLC4Commander program double click on its exe-file in the explorer or copy a shortcut
on the desktop and start it from there.
Figure 1: Startup screen
4
Chromasens GmbH – Max Stromeyer Straße 116 – 78467 Konstanz (Germany)
www.chromasens.de
2.3
To begin the Session
The User interface comes up with empty frames where later when the connected corona II modules
will be identified by the program their controls panels will show up. The question mark in the menu bar
shows some Information about the program.
To have the Corona II modules
identified you need to connect the
XLC4-1 via its interface to the PC.
Chose in the menu bar
RS232 Configure
Select the appropriate COM-Interface.
The other interface parameters are
constant values hardcoded in the XLC4
and need not to be changed
.
Next to establish a link to the XLC4
select from the menu
RS232 connect
Figure 2: Configure and connect on RS232
5
Chromasens GmbH – Max Stromeyer Straße 116 – 78467 Konstanz (Germany)
www.chromasens.de
preliminary
The program will then inqure the Version of theXLC4-1 and its controller firmware and show it in the
status fields at the bottom of the window. In the next step the Corona II modules will be scanned by
sending the appropriate ILA commands to channels A, B, C, D. If modules respond to the inquriy with
their configuration data the data will be shown in the operation panels. Here e.g. a configuration with
four single modules is connected. Automatic identification of the Corona II modules is only possible if
they are equipped with an I²C-Interface. Modules without I²C-Interface have to be configured
manually. See menu item "Channels".
Figure 3: XLC4 connected and Corona modules identified
With the scanning of corona modules done, the monitoring of LED temperatures and voltages will
begin. Every 3 seconds the temperature and voltage data is requested from the XLC4 and shown in
appropiate displays. In addition the XLC4Commander sends a request for error information every 3
seconds.(command "ER"). As long as no error condition exists the response is not shown in the
protocol display.
Besides the operational data the serial number and length of the corona II module are shown.
Note that if length of the module is greater than one, the neighbouring (length -1) operation panels
remain empty.
6
Chromasens GmbH – Max Stromeyer Straße 116 – 78467 Konstanz (Germany)
www.chromasens.de
2.4
Controlling the Corona II module
The control elements for the channels are active now.
-
Checkbox on/off
Edit field Current/mA
-
Slider control
Apply button
to switch the channel on
to enter the preset current value for the corona module manually
(200mA….1800mA)
also to set preset current value for the corona module
to send the preset current values to the module
The temperature and voltage data is currently shown for the controller unit of the channel and the
Corona II module.
Serial number of Corona module
on /off illumination
Edit field to enter
current manually
Slider Control
to set LED current
Length of module 1,2,3,4
Button to apply current
setting
Temperature of Controller and Corona
module, updated every 3 sec
LED voltage, updated every 3 sec
activate/deactivate Voltage
and Temperature monitoring
Button to clear the
protocol display
Protocol display
showing XLC-commands and
responses along with other events
Figure 4: Control panel of corona module
7
Chromasens GmbH – Max Stromeyer Straße 116 – 78467 Konstanz (Germany)
www.chromasens.de
preliminary
2.5
Closing the connection
To end the session select Disconnect from the
menu. The program will close the connection
to the XLC4 and indicate the completion in the
protocol display by the message
">>Info: Disconnect complete"
The fields "Device Info" and Connection status
are cleared.
Figure 5: Closing the connection
8
Chromasens GmbH – Max Stromeyer Straße 116 – 78467 Konstanz (Germany)
www.chromasens.de
2.6
Use of XLC4 in a local Eternet
As XLC4Commander works only with fixed IPv4 addresses, the use of Ethernet as a link to the XLC4
is restricted to local sub nets. To establish the connection plug a cat-5 patch cable from X3 to an
ethernet hub within your local sub net or directly to the XCLC4, then select configure from the menu
and
enter the IPv4-Address.
In the picture below a 3 channel Corona II
module is connected to channel A. Hence the
next two operation panels remain empty
because these 3-modules are treated as a unit
on channel E. On channel D a 1-channel
module is connected using virtual channel H.
2 empty adjacent panels
Figure 6: Connection via local network
9
Chromasens GmbH – Max Stromeyer Straße 116 – 78467 Konstanz (Germany)
www.chromasens.de
preliminary
2.7
Direct input of XLC4 commands
The Command field is used to enter commands manually. XLC4-commands can be entered as they
are defined in the XLC4 manual. By clicking the Send button, the program will add the protocol tags
STX and ETX and send the command to the XLC4. The results of the command will show up in the
protocol display (the tag STX and ETX stripped off). The results also might update the associated
controls in the panel.
Figure 7: Entering direct commands
Important note:
If you work with CORONA II modules, always use the channel qualifiers E,F,G and H instead of using
the LC command without channel qualifier.
For more details on channel qualifyers see
[1] Chromasens GmbH: LED-Control Unit XLC4-1 Manual
10
Chromasens GmbH – Max Stromeyer Straße 116 – 78467 Konstanz (Germany)
www.chromasens.de
2.8
Manual Configuratuion of Channels
Illumination modules with no automatic detection capability can be configured with the "Select
Channels" dialog. It allows the assignment of modules to the channels according to the rules given in
[1] LED-Control Unit Manual Appendix chapter 11.2.
Modules with and without automatic detection capability can be mixed as long as the configuration
adheres to the above mentioned configuration rules.
Select item "config" in the "Channels"
menu. This will pop up the dialog to
place the modules on the channels.
In the "Select Channels" dialog it is
stated how many illumination modules
shall be controlled by each of the
channels A,B,C,D.
Maximum of controlled modules on
channel A = 4
channel B = 3
channel C = 2
channel D = 1
The sum of the number of Coronas
controlled on A+B+C+D must not
exceed 4.
For valid combinations see [1]
Figure 8: manual configuration of channels
11
Chromasens GmbH – Max Stromeyer Straße 116 – 78467 Konstanz (Germany)
www.chromasens.de
preliminary
2.9
2.10 Registry stored Settings
When closing the XLC4Commander some parameters are stored under the registry key
HKEY_CURRENT_USER\Software\CHROMASENS\XLC4COmmander\Version x.y
The following parameters will be saved
1)
2)
3)
4)
5)
RS232 port COMx
baud rate of COMx
IPv4 Address
TCP/IP port number
The commands entered in the direct command mode
These values will be read back and used as default when starting the XLC4 commander again.
12
Chromasens GmbH – Max Stromeyer Straße 116 – 78467 Konstanz (Germany)
www.chromasens.de
Phone: +49 7531 876-0
Fax:
+49 7531 876-303
22 Febr. 2012 Copyright by Chromasens GmbH
Chromasens GmbH
Max-Stromeyer-Straße 116
78467 Konstanz
Germany
www.chromasens.de
[email protected]
13
Chromasens GmbH – Max Stromeyer Straße 116 – 78467 Konstanz (Germany)
www.chromasens.de