contents
Table of contents

Introduction

Installation of the program isegCANHVControl

CAN hardware set up

Handling of isegCANHVControl

Main dialog of isegCANHVControl

Selection of a high voltage module

Menu of the dialog of high voltage modules

Supply voltages and temperature of module

Status information of a high voltage module

Device information (serial number)

Statistic

Passwords for additional functions of modules

Implemented crate monitoring unit

Generate a profile

Termination of isegCANHVControl

Document: isegCANHVControl Version: 1.40  Date: 15. June 2006 13:31


Introduction

Program “isegCANHVControl” is an extended version of the known “isegHVM”. It can be used for simple remote control of the iseg Multi-Channel High Voltage (HV) modules, iseg system crates and iseg CIO devices through a PC via CAN. Additional it can be used to re-programme the firmware-flash of the modules and the changing of the identifier of the CIO devices.

The System requirements in order to use this program are:

VGA-display resolution minimal 1024*768 recommended.

Operating system WINDOWS 2000 and XP.


Installation
Installation of the program isegCANHVControl

Step 1:  Installation of the program isegCANHVControl and the PEAK CAN device driver

The installation has to be started with the program ”Setup.exe” from the directory Win2000_WinXP according to your operating system.

Follow the instructions and restart your system after the end of the installation. The setup program will install a program group ”isegHVwithCAN” with the entry ”isegCANHVControl”.

If you have installed a non Plug-and-Play PEAK CAN hardware on your system or if you have installed the driver for a Plug-and-Play PEAK CAN hardware before the software must work properly with the PEAK CAN hardware after the restart.

If you want to install a Plug-and-Play PEAK CAN hardware on your system we suggest to proceed as follows:

The installation of the PEAK CAN hardware should be made after the setup procedure of the iseg OPC package because the drivers will be copied into the directory \Program Files\iseg\isegCANHVControl\PCAN_PCI or ..\PCAN_USB on your system.

After the end of setup procedure close the OS and switch off your system.

The OS will find the new hardware and you can root under WINDOWS Hardware Wizard to this directory.

If there are any problems see manual “CAN remote ctr.pdf” part: “CAN Remote Control if connected to the PCI card or USB adapter”

Step 2: Please check whether the CAN software is installed properly

Go to the Windows “control panel” and open “CAN-Hardware”-control panel. Select with radio button the “Active device”. If you have a Plug-and-Play hardware a symbol of the hardware should be displayed in the window below. Clicking on “Information” you can see, that a driver has been loaded. It depends on your hardware whether it is a non Plug-and-Play driver (for parallel port dongles and ISA PC cards) or a Plug-and-Play driver (for PCI cards, USB adapter). The serial number of this driver is shown too. The properties of this driver should remain unchanged.

By using parallel port dongles make sure that the interrupt system of the CAN hardware is working properly. In this case go to the Windows “device manager” and look that the correct interrupt has been set. You must set the I/O properties of the LPT - see separate manual “CAN RemoteCtr.pdf”.

Step 3: Start the communication program ”isegCANHVControl.exe”.

Select the entry “isegCANHVControl” of group ”isegHVwithCAN” via Start button from WINDOWS Taskbar and folder Programs. If you receive the message ”Client iseg HV has been connected to isegnet[x]” the internal CAN network communication is working properly and you should try to control the HV modules via CAN. If not - if you receive a warning, for instance ”Error while registering hardware” - you must choose the installed CAN interface with CAN hardware setup dialog  --  see next chapter.

x	1 to 16


CANhardware
CAN hardware set up

If you receive a warning, for instance ”Error while registering hardware” you must choose the installed CAN interface with CAN hardware setup dialog. You can get this dialog by the button ”CAN hardware setup” on the right hand side of the tool bar.

Type of hardware  (corresponds to the installation):

First section is prepared for all types of PEAK hardware in this dialog. Here you can find entries for all kinds of hardware.

I/O Address:

Interrupt:

For non Plug-and-Play hardware the actual address and interrupt number from your system must be set as next  --  see manuals of hardware. (CAN-Dongle Address LPT1=0x378, Interrupt 7)

For Plug-and-Play hardware the fields I/O Address and Interrupt have to be unchanged.

Clear internal connection check box: (default checked):

checked	- The internal CAN network will be created when the isegCANHVControl is started and closed while

the program will terminated.

unchecked 	- The CAN client “isegCANHVControl will be handled without network changing

Crate monitoring unit (default unchecked):

The check box must be marked if an iseg system crate is implemented as CAN node on the bus.

Bit rate (default 125 kbit/s):

Via the combo box Bit rate is it possible to change to 20, 50, 100, 125 and 250 kbit/s  of the CAN interface card at PC. Please, keep attention that all CAN nodes are changed to the same bit rate for the whole CAN bus line. The new bit rate will be activated after a restart of the program “isegCANHVControl.exe”. (The Crate monitoring unit is able to communicate via a bit rate up to 125kbit/s only all other iseg CAN modules are able up to 250kbit/s.)

CAN line (default line 1):

The entry of the have to be fit to the corresponding interface of PEAK CAN PCI card which will be used. If there is more than one CAN ports you can select one of this only (x = 1 to 16).

Push Save button and shut the dialog with button OK. Terminate and restart the program “isegCANHVControl”.

You should get the message “Client iseg HV has been connected to isegnet[x]!”


Handling
Handling of isegCANHVControl

The handling for this program is mouse and hotkey based.

Hotkeys:

1	- 	Status1 voltage limit

2	-	Status2 hardware current limit

3	-	Status3 software current trip

4	-	Status4 regulation error

C	-	Select another channel

V	-	Set voltage of selected channel

I	-	Set current of selected channel

T	-	Set software current trip of selected channel

O	-	Switch on the selected channel

F	-	Switch off the selected channel

E	-	Set the selected channel in kill enable mode

D	-	Set the selected channel in kill disable mode

Y	-	Switch emergency set of the selected channel

M	-	Switch emergency reset of the selected channel

S	- Start voltage change (only for NIM and one channel EHQ)

G	- Set voltage of all channels

P	- Set current trip of all channels

R	- Set ramp

Strg+O	-	Switch on of all channels

Strg+F	- Switch off of all channels

Strg+E	-	Switch kill enable on off all channels

Strg+D	-	Switch kill disable for all channels

Strg+Y	-	Switch emergency set of all channels

Strg+M	-	Switch emergency reset of all channels

You can select between instructions for a single channel (click with right mouse button on this channel) or for the complete HV module (click with right mouse button outside from any channel). The instructions are explained with help of pop-up menus.

Popup menu to control a single channel.

OPTION	- Polarity     to control the elektronical polarity switch of EPU modules

- Download sequence     to download a relay sequence for BPS switches

Popup menu to control the whole HV modulel.

Example: Input a Set voltage for channel 2 by push the key V or select from the popup menu of the single channel the entry Set voltage.


Main dialog of isegCANHVControl

[

File menu:

File

Open a profile	-	load a set of adjustments from hard disk

Save a profile	-	store a set of adjustments to hard disk

Exit	-	terminate the program “isegCANHVControl” (see Termination also)

Flash

EHQ	-	call a dialog for the global flash update of all connected modules of one HV device class

ECH	-	call a dialog for the global flash update of all connected crates

Configuration

Identifier	-	distribute a new identifier for the selected CIO module

Bit rate	-	global changing of the CAN bit rate

Temperature	-	global calibration of the temperature offset

Option

Password	-	call an input dialog for password selection to have access to special menus

Save screen	-	store the position of the windows on the hard disk

Colors	-	call a dialog to change the colors of the different channel items

Module display:

The modules whose are connected and recognized will displayed in screen below the file menu.

(See part “Selection” also)


Selection
Selection of a high voltage module

If you want to select another HV module go to the window “iseg canHVcontrol”. The selected module will displayed ”blue” in case of no error and ”red” in case of any error (see group access ”Module status”).

The other modules will be displayed ”green” if there is no error and ”yellow” if there is any error.

You can select another module by click of the left mouse button on this module or by using arrow keys.

You will get hint of the serial number and the nominal values, if you move the mouse arrow to the entry of module in the main window “iseg canHVcontrol”.


FMHVmodules
Menu of the dialog of high voltage modules

File

Save all values to EEPROM	-	release this entry with password “Config”

store all set values into the EEPROM of the module

Exit	-	exit this file menu

Group instructions

Set voltage general	-	global input of a voltage for all channels

Current trip general	-	global input of a current trip all channels

Ramp	-	ramp speed in [V/s] or % of the nominal voltage per second

Hardware limits	-	call a window to display the hardware limits - if there are no hardware limits then the nominal values are displayed

1st Filter notch frequency	-	to change the conversion time of the ADC - be carefully with this, refer the manual of the module

Instruction for all channels

On	-	global set of all channels to high voltage on

Off	-	global set of all channels to high voltage off

Kill enable	-	global set of all channels to Kill enable

Kill disable	-	global set of all channels to Kill disable

Emergency on	-	global set of all channels to emergency on

Emergency off	-	global set of all channels to emergency off

Statistic	-	started a continuously recording of the measurements in depending of the record time to a buffer, use the button “Save measurements” to write the buffer on hard disk

Single instructions

Select channel	-	change the active channel for inputs

Set voltage	-	input of the set voltage of the active channel

Current trip	-	input of the current trip of the active channel

On	-	set channel to high voltage on

Off	-	set of channel to high voltage off

Kill enable	-	set of channel to Kill enable

Kill disable	-	set of channel to Kill disable

Emergency on	-	set of channel to emergency on

Emergency off	-	set of channel to emergency off

Download sequence	-	download of a time stamped relay switching sequence from file

Timer

Record time	-	input a new record time in [s]

Help

isegCANHVControl	-	call this file


ModuleVoltage
Supply voltages and temperature of module

You will receive the information of the module power supply and the module temperature.


StatusInfo
Status information of a high voltage module

The channel errors (see single access ”Status channel”) will be displayed in the channel status field. With the button 1 to 4 on the left group of the tool bar you can select between a read request of the group status 1 to 4 the the status will be displayed in the status line and a resest by a write access with set the corresponding channel status bit to “1”.


DeviceInfo
Device information (serial number)

By pushing the button ”Release” which is in the left group of the toolbar you will get the device information:

Device: serial number - 6 digits

Firmware release: software release - 3 digits

Channel number: channels  - 1 to 16

EHQ: or EHS: or NHQ: or SHQ: or CIO: Kind of the HV module and the number of the CAN node 0 to 63 .


Statistic

By pushing the right mouse button outside of any channel and additionally selecting and ”Statistic” which you find in the popup-menu you will start a permanent record of the actual data Vmeas and Imeas. You can write the information into a text file by clicking on ”Save measurement” button of the toolbar. The data format will be stored as following:

Vmeas[0]; Timestamp[0]; Imeas[1]; Timestamp[1]… Vmeas[max channel]; Timestamp[max channel]

Vmeas[0]; Timestamp[0]; Imeas[1]; Timestamp[1]… Vmeas[max channel]; Timestamp[max channel]

.

.

.

until you save the measurement into a file.


PassWord
Passwords for additional functions of modules

If you push the button “password” of the toolbar line in the main dialog “iseg canHVcontrol” for all devices you will get a dialog to input one of following passwords:

hex2flashEHS	activate the file menu “Flash-EHS” to call a dialog for an update of the firmware of all selected EHS modules with a “*.s19” file.

hex2flashEHQ	activate the file menu “Flash-EHQ” to call a dialog for an update of the firmware of all selected EHQ modules with a “*.hex” file.

ConfigID	activate the file menu “Configuration - Identifier” to call a dialog for the changeof the address identifier of the Multi-Channel CAN I/O devices.

ConfigBtr	activate the file menu “Configuration - Bit rate” to call a dialog for the global change of the bit rate of all devices (without crate controllers SN. 490xxx).

ConfigMTemp	activate the file menu “Configuration - Temperature” to call a dialog for the global change of the temperature offset.	(option for device classes 0, 1, 2, 3 , 6 and 7).

If you push the button “password” of the toolbar line in a dialog for a special device you will get a dialog to input one of following passwords:

hex2flash	activate an additional button in the toolbar line to call a dialog for updating the firmware of selected module with a “*.hex” file.

avad	activate an additional button from which you can select the averaging or the fine adjustment of the selected module, depending on the type of module.	(option for the device classes 0, 1, 2, 3, 6 7 and EHS modules)

Config	activate an additional button in the toolbar line to call a dialog for the configuration of the module properties and the file menue entry “Save all set values to EEPROM”

Nominals	to change the nominal values by pushing the right mouse button on the corresponding channel panel and selecting Vnominal or Inominal.	(option for the device classes 4, 5 and 8)

If you push the button “Enter password” of the toolbar line in the dialog “Connected crates with has been scanned” you will get a dialog to input one of following passwords:

ConfigBtr	activate the file menu “Configuration - Bit rate” to call a dialog for the global change of the bit rate of all connected crate monitoring units.

DBTS	activate an additional button in the toolbar line to call a dialog for the configuration of the crate identifiers.

hex2flash: Select with button “flash hex-file” a file, run firmware update with button “flash programming” and wait

until “Programmed” will be displayed as status.

Config: You can select from three configuration properties.

You should use the capability to configure the bit rate very carefully. Please note that all CAN nodes must have the same bit rate after the restart of the system -- also see “CAN hardware dialog” of “isegCANHVControl”.

Threshold to arm the errors detection above. See user manual of HV device for the description.

Used only if your device is delivered with a relay (option) for switch off.

DBTS: 	You can co figurate the crate network address via the NMT button and the identifiers of the operational mode via the DBT button.


CrateMonitor
Implemented crate monitoring unit

By pushing the button “Crate control” you will receive the crate information of the power supply “V24” and “V5”, the charging voltage of the UPS-accumulator  ”V battery ”, the temperature on the surface of the back plane “Tbp” and the temperature on the surface of the DC - power supply “Tps”. In this dialog you can also select another crate by pushing button “Choose another crate” and select a crate in the list field “Crate IDs”. Furthermore there is the capability to update the crate firmware with a new hex file.


Profile
Generate a profile

There is a possibility to generate special profiles out of the main dialog which can be stored to and reloaded from the hard disk - see section Main dialog of isegCANHVControl. So it is possible to change very quick all adjustments with means of such profiles. Additional the user can distribute new channel names by using of the password “Config” and selecting the label of the corresponding channel. The new channel names can be stored permanently with help of the profiles.


Termination
Termination of isegCANHVControl

By pushing the button ”Exit” a menu will be opened. The button “yes” terminates the program by voltage ramping down to zero. The button “no” terminates the program without any change of the parameters.