0% found this document useful (0 votes)
30 views133 pages

Dxmman CR

Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
30 views133 pages

Dxmman CR

Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 133

R

Instruction Manual
DXM SERIES

High Voltage Power Supply

MODEL : DXM
SERIAL# :
DATE :

SPELLMAN
HIGH VOLTAGE ELECTRONICS
CORPORATION
475 Wireless Blvd.
Hauppauge, New York, 11788

+1(631) 630-3000*FAX: +1(631) 435-1620*


E-mail: sales@spellmanhv.com
Website: www.spellmanhv.com

DXM SERIES MANUAL 118061-001 Rev A


IMPORTANT SAFETY PRECAUTIONS

SAFETY
THIS POWER SUPPLY GENERATES VOLTAGES THAT ARE DANGEROUS AND MAY BE FATAL.
OBSERVE EXTREME CAUTION WHEN WORKING WITH THIS EQUIPMENT.

High voltage power supplies must always be grounded.

Do not touch connections unless the equipment is off and the


Capacitance of both the load and power supply is discharged.

Allow five minutes for discharge of internal capacitance of the power supply.

Do not ground yourself or work under wet or damp conditions.

SERVICING SAFETY
.

Maintenance may require removing the instrument cover with the power on.

Servicing should be done by qualified personnel aware of the electrical hazards.

WARNING note in the text call attention to hazards in operation of these units
that could lead to possible injury or death.

CAUTION notes in the text indicate procedures to be followed to avoid possible


damage to equipment.

Copyright © 2000, Spellman High Voltage Electronics Corporation. All Rights Reserved.
This information contained in this publication is derived in part from proprietary and patent data. This information has
been prepared for the express purpose of assisting operating and maintenance personnel in the efficient use of the
model described herein, and publication of this information does not convey any right to reproduce it or to use it for
any purpose other than in connection with installation, operation, and maintenance of the equipment described.

118004-001 REV. B
Table of Contents
PAGE
1. INTRODUCTION
1.1 Description of the DXM Series............................................................................1
1.2 DXM Specifications.............................................................................................1
1.3 Standard Features ................................................................................................2
1.4 System Status and Fault Diagnostic Display .......................................................2
1.5 Interpreting the Model Number ...........................................................................3
1.6 High Voltage Connector Pin out Diagrams .........................................................3
2. INSPECTION & INSTALLATION
2.1 Initial Inspection ..................................................................................................6
2.2 Mechanical Installation ........................................................................................6
3. OPERATING INSTRUCTIONS
3.1 Operation..............................................................................................................8
3.2 Standard Control Features....................................................................................8
4. PRINCIPLES OF OPERATION
4.1 AC to DC Rectifier and Associated Circuits .......................................................21
4.2 High Frequency Inverter ......................................................................................21
4.3 High Voltage Circuits ..........................................................................................21
4.4 Control Circuits....................................................................................................22
4.5 Options .................................................................................................................22
5. OPTIONS
5.7 Custom Designed Models ....................................................................................23
5.8 Filament ..............................................................................................................23
6. MAINTENANCE
6.1 Periodic Servicing ................................................................................................24
6.2 Performance Test .................................................................................................24
6.3 High Voltage Dividers .........................................................................................24
7. FACTORY SERVICE
7.1 Warranty Repairs .................................................................................................25
7.2 Factory Service Procedures ..................................................................................25
7.3 Ordering Options and Modifications ...................................................................25
7.4 Shipping Instructions ...........................................................................................25

APPENDIX
A. Specification Controls (Custom Models Only)

DXM MANUAL i 118060-001 Rev J


 Power Factor:
Chapter 1 FL: 0.99, NL: 0.98
 Output voltage Regulation:
Load Regulation: 0.01% of full voltage for a no
load to full load change.
INTRODUCTION Line Regulation: ±0.01% of full voltage over the
specified input voltage range.
1.1 Description of the DXM Series  Current Regulation:
Load Regulation: 0.01% from 30% voltage to full
T he DXM Series of X-ray generator modules are
designed for OEM applications up to 70kV and up to
1200 watts. Its universal input, small package size
voltage.
Line Regulation: 0.01% of full current over the
and choice of three standard digital interfaces simplifies specified input voltage range.
integrating the DXM into your X-ray analysis system.  Ripple: ≤ 1%rms at >20 kHz, 0.1%rms below 20
Models are available to operate either floating filament kHz.
(negative HV polarity) or ground referenced filament
(positive HV polarity) based X-ray tube designs. DSP  Polarity: Positive or Negative polarity with respect
based emission control circuitry provides excellent to ground. (Specify at time of ordering).
regulation of emission current, along with outstanding  Stability: ≤ 25ppm/hr after a 2 hour warm up
stability performance.
 Temperature Coefficient: ≤ 50ppm / C.
The dramatically reduced size of the DXM Module,  Temperature:
compared to traditional high voltage modules, is obtained
by a state of the art off-line resonant converter. The Operating: 0C to 40C
resonant converter utilizes a unique control scheme, which Storage: -40C to +85
allows constant frequency operation while maintaining
high efficiency. The high efficiency is obtained by zero  Monitoring:
current switching (ZCS) resonant control. High operating
0-10 VDC corresponding to 0-100% of output
frequency, typically 50kHz, allows for low ripple and
voltage
excellent dynamic response capabilities.
0-10VDC corresponding to 0-100% of output current.
The DC output voltage and current are controllable over
0-5VDC corresponding to 0-5arms of filament
the full range of operation. Monitoring and control
current.
signals are provided for simple, yet flexible control of the
power supply. The DXM series operates from 90 -
265VAC, at 50/60 Hz single phase for the 300Watt
Models and 180 –264vac, at 50/60 Hz single phase for the
600Watt and 1200 watt Models. The input is power
factor corrected. The DXM series operates at full power
continuous. The ambient temperature must be kept below
the maximum rating as specified in 1.2. The standard
warranty applies to the modules. Consult factory about
the warranty for custom DXM modules.

1.2 DXM Specifications


 Input Voltage:
90-264VAC 47-63Hz, for 300watt models
180-264VAC 47-63Hz, for 600watt models
180-264VAC 47-63Hz, for 1200watt models

DXM MANUAL 1 118060-001 Rev J


LOCAL Operating Features The Default Remote program feature will default the unit
to only power up in Remote mode and not allow the
analog control signals local enable to be active at power
(1) Output Control: Voltage, current filament limit
up. It can be enabled and stored in non-volatile memory,
and preheat level are externally programmable over
The Default Remote program feature can be accessed via
the entire range from zero to maximum rating via 0-
any of the DXM digital interfaces with the DXM GUI
10VDC input.
version SWD0159-007. See the DXM Digital Manual for
(2) +10VDC Reference: A +10VDC reference is more information.
provided for local programming via two
Power Factor and Universal Input: The input voltage
potentiometers to be used to adjust filament limit and
of the DXM can operate within the range from 90VAC to
preheat level.
265VAC for the 300Watt Model and at 180 –264vac, for
(3) High Voltage Enable: A hardware based, dry the 600Watt Model. The power factor is actively
contact closure will enable the power supply into the corrected across this entire range and is better than 0.99 at
high voltage on mode. full load.
Internal EMI Filter and Fuse Protection: An internal
EMI filter and fuse provide protection against line voltage
1.3 Standard Features surges and power supply faults.
The DXM series incorporates several standard features
designed to optimize user operation. Remote Operating Features
Remote Control: USB, Ethernet and RS232 are standard.
Controlled Ramping: Controlled Ramping is a user-
A provided G.U.I allow user to control the unit via RS232
controlled feature that allows the customer to program kV,
and USB interfaces. An imbedded Applet web Brower allow
filament and mA ramps to meet the application use and X-
user to control the unit via Ethernet. Refer to DXM Digital
ray tube requirements. Standard DXM units are shipped
Protocol spec for Details.
with this ramping feature disabled. The standard DXM
ramping is a 5 second (to full scale) kV ramp and a 2.5 Remote Monitor: Allows remote monitoring of the
second filament ramp which starts when the kV output Output voltage, current, filament limit, preheat level and
exceeds 30% of full-scale output. total HV On clock counter via the USB, Ethernet or RS232.
The Controlled Ramping feature can be accessed via any Remote Programming: Allows remote programming of
of the DXM digital interfaces with the DXM GUI version the Output voltage, current, filament limit and preheat level
SWD0159-007. See section 3.1.1 X-ray Tube Operation via the USB, Ethernet or RS232.
and the DXM Digital Manual for more information.
X-ray Enable/Interlock: In local mode, allows remote
Arc Fault Control: Arc Fault Control features allow the ON/OFF control of the high voltage. In remote mode, the
user to custom select the type of arc intervention that is hardware based dry contact closure must be closed in
required. This feature is disabled as a default, which order to enable the high voltage via the USB, Ethernet or
means the unit will shut down with one arc fault. When RS232.
Arc Control is enabled, the user can set the arc detection
parameters to custom fit their requirements. IMPORTANT
The Arc Fault Control feature can be accessed via any of This control signal is not a safety
the DXM digital interfaces with the DXM GUI version
SWD0159-007. See section 3.2 and the DXM Digital
interlock and should not be used for
Manual for more information. protection from high voltage generation
for safety purposes.
Default Remote Program:
The DXM unit can be controlled by analog signals in
Local mode or Digital interfaces in Remote mode.The 1.4 System Status and Fault
standard unit powers up in Local mode and can be
switched to Remote via a command on the digital Diagnostic Display
interface.

DXM MANUAL 2 118060-001 Rev J


If a fault occurs, the power supply will revert to the  Filament Protection: If the output voltage goes
Shutdown mode indicated by extinguishing of X-ray ON below 30% of full rating the filament power will be
led and via RS-232 as HV OFF. To reset a fault in local disable to protect the filament in the users X-ray tube,
mode the enable must be reset. To reset a fault in remote but the filament preheat will still be active. This will
mode a HV ON command must be sent via the RS-232, cause an undercurrent fault.
USB or Ethernet.
 PS Fault Indication: PS Faults an open collector
 OVER CURRENT FAULT: Indicates the over output with a 1k ohm series impedance on J2-1,
current protection circuitry has caused the high indicates that a fault has occurred. High = no faults
voltage to turn off. This fault will occur if the output
current exceeds 110% of full scale or 110% of current  X-ray On Indication: X-ray On Signal is an open
program value. This fault is indicated by illumination collector output a 1k ohm series impedance on J2-14,
of over current led status on the front cover and via indicates X-ray status. High = X-ray Off, Low =X-
RS-232, USB or Ethernet as Over Current. ray On

 OVERVOLTAGE: Indicates the over voltage  X-ray On LED: when the high voltage status is
protection circuitry has caused the high voltage to “On” state it is indicated by X-RAY ON led status on
turn off. This fault will occur if the output voltage the front cover
exceeds 110% of full scale or 110% of program  Power On LED: when the input power is applied to
value. This fault is indicated by over voltage led the unit it is indicated by PWR ON led status on the
status on the front cover and via the RS-232, USB or front cover
Ethernet as Over voltage.
 ARC FAULT: Indicates that an arc has occurred.
This fault is indicated by illumination of Arc Fault led 1.5 Interpreting the Model Number:
status on front cover and via RS-232, USB or
The model number of the power supply describes its
Ethernet as arc fault. See Arc Fault Control in section
capabilities. After the series name is:
3.2.
 UNDER VOLTAGE: Indicates a failure in the (1) The maximum voltage in kilovolts.
voltage regulation circuitry. This fault occurs when (2) The polarity of the output – positive (P), or
there is a lack of output power to maintain regulation negative (N).
and will result in shutdown of the HV. This fault will (3) The maximum output in watts.
occur if the output voltage less than 10% below the (4) Custom “X” number representing details listed in
program value. This fault is indicated by illumination a separate specification control drawing.
of under voltage led status on the front cover and via
RS-232, USB or Ethernet as under voltage.
 UNDER CURENT: Indicates failure in the current DXM 70 P 600/X(#)
regulation circuitry. This fault occurs when the
allowable percentage of error between actual and
programmed emission current is exceeded. This fault Series Polarity
will not cause a shutdown of the HV. This fault will Name
Custom
occur if the output current less than 10% below the Maximum Maximum
"X" Number
Voltage Power
program value. This fault is indicated by illumination
of under current led status on front cover and via RS-
232, USB or Ethernet as under current.
1.6 High Voltage Connector Pin out
 OVER TEMPERATURE: Indicates either a failure
in the cooling system that would cause the internal
Diagrams
heat sink temperature to exceed it’s operating range
or the ambient temperature to exceed 40degC,
resulting in shutdown of HV. This fault is indicated
by over temperature led status on the front cover and
via RS-232, USB or Ethernet as over temperature.

DXM MANUAL 3 118060-001 Rev J


DXM – POSITIVE POLARITY

DXM – NEGATIVE POLARITY

_____________________________________________________________________________________

DXM MANUAL 4 118060-001 Rev J


STATUS LIGHTS
UNDER CURRENT UNDER VOLTAGE
X-RAY 0N PWR ON
TOP COVER FIL PRE HEAT ADJ
FIL I LIM ADJ
OVER CURRENT ARC
OVER TEMPERATURE OVER VOLTAGE

J1 AC INPUT

J2 CONTROL I/O
J5
ETHERNET
J4
FRONT PANEL USB

J6 J3
HV OUT RS232

Figure 1.1 LED Legend (300W and 600W unit)

DXM MANUAL 5 118060-001 Rev J


Chapter 2 INSPECTION AND
INSTALLATION
I nitial inspection and preliminary checkout procedures
are recommended. For safe operation, please follow
the step-by-step procedures described in Chapter 3,
2.2 Mechanical Installation
The DXM series module power supplies are
Operating Instructions. designed for installation into existing or newly
developed OEM equipment. The power supply
2.1 Initial Inspection can also easily fit into bench top applications or
test set requirements. Standard unit dimensions
Inspect the package exterior for evidence of damage due
are shown in Figure 2.1
to handling in transit. Notify the carrier and Spellman
immediately if damage is evident. Do not destroy or For custom mounting requirements or specific
remove any of the packing material used in a damaged package size requirements consult Spellman’s
shipment. After unpacking, inspect the panel and chassis Sales Department. Spellman has many package
for visible damage. designs available, or can design a specific
enclosure for your requirements.
Standard DXM high voltage power supplies and
components are covered by warranty. Custom and special The DXM series utilizes solid encapsulations for
order models (with an X suffix in the model number) are corona free operation. No periodic maintenance
also covered by warranty. is required.

J2 CONTROL I/O
J5
ETHERNET
J4
USB

DANGER

Figure 2.1 Unit Dimensions (300W and 600W unit)

DXM MANUAL 6 118060-001 Rev J


Figure 2.2 Unit Dimensions (1200W unit)

DXM MANUAL 7 118060-001 Rev J


Chapter 3

OPERATING INSTRUCTIONS
3.1 Operation E) For initial turn-on, program the voltage and
current for zero output. Connect the enable/disable signal
WARNING to disable.
F) The input power cable may now be connected to
THIS EQUIPMENT GENERATES the AC power line.
DANGEROUS VOLTAGES THAT MAY BE
G) Enable the power supply via the enable/disable
FATAL. PROPER GROUNDING OF ALL HIGH
hardware based, dry contact closure.
VOLTAGE EQUIPMENT IS ESSENTIAL.
H) Slowly program the output voltage and current to
desired level. Monitor the output voltage and current via
IMPORTANT: the monitoring test points. Note equipment operation is
Before connecting the power supply to the normal, i.e. Load is behaving as predicted.
AC line, follow this step-by-step procedure. I) To turn high voltage off, use the enable/disable
Do not connect the power supply to the AC signal. If equipment is to be kept off for extended
line until Step F is reached. periods, disconnect power supply from line voltage
source.
Failure to follow these procedures may void
the warranty.

A) Insure that the high voltage cable is properly WARNING


installed and terminated to the load. Insure that all AFTER TURNOFF, DO NOT HANDLE THE LOAD
circuits connected to the high voltage output are safely UNTIL THE CAPACITANCE HAS BEEN
interlocked against accidental contact. Insure external DISCHARGED!
load is discharged. LOAD CAPACITANCE MAY BE DISCHARGED BY
B) Check the input voltage rating on the serial SHORTING TO GROUND.
nameplate of the supply and make certain that this is the
rating of the available power source WARNING
C) PROPER GROUNDING TECHNIQUE: The
chassis of high voltage power supplies must be grounded, THE VOLTAGE MONITOR ON THE POWER
preferably to a water system ground using copper pipe or SUPPLY FRONT PANEL DOES NOT READ THE
other earth ground. A ground stud is provided on the front OUTPUT VOLTAGE WHEN THE POWER IS
panel .See Figure 3.1 for a typical operating setup. The TURNED OFF, EVEN IF A CHARGE STILL EXISTS
return line from the load should be connected to the power ON THE LOAD.
supply chassis. Using a separate external ground at the CAUTION
load is not recommended. An IEC 320 connector is
provided for connection to the line voltage source. A ALWAYS OPERATE THE UNIT WITH THE COVER
standard line cord is also provided. ON. DO NOT ATTEMPT TO ACCESS OR REPAIR
ANY INTERNAL CIRCUITS. DANGEROUS AND
D) Hook-up: Connect control and monitoring LETHAL VOLTAGES ARE GENERATED INSIDE
connections as described in this manual.
THE MODULE.

DXM MANUAL 8 118060-001 Rev J


J2 CONTROL I/O
J5
ETHERNET
J4
USB

OUTPUT
DANGER
LOAD

OUTPUT RETURN

Figure 3.1 Proper Grounding Technique

3.1.1 X-ray Tube Operation


The X-ray tube should be operated according to the X-ray When setting the Filament Limit below the maximum X-
manufacturers specifications. Filament Limit program Ray tube specification, the Filament Limit should be 10-
and Filament Preheat program shall be set so not to 15% higher than the filament current required to achieve
exceed maximum filament current as per the X-ray tube the maximum programmed emission current (mA) at the
manufacturers specifications. X-ray tube seasoning lowest kV setting to be used. Remember, filament
schedules and kV ramp profiles should also be per the X- maximum values are different than the REQUIRED values
ray tube manufacturer’s specification. for emission. Setting 10-15% over the needed emission
current values provides headroom as well as better trainset
Set Filament Limit: One of the most critical settings is the
response characteristics.
Filament Limit adjustment. The Filament Limit set point
limits that maximum output current of the filament power
supply to protect the filament of the X-Ray tube. This Always keep the Filament Limit level at or below the
manufacturers recommended maximum filament
setting will make it impossible for the X-Ray generator to
current specification.
exceed this value under any circumstance. It should be set
at or below the X-Ray tube manufacturer’s specification.
Some common X-Ray tubes used with the DXM: See
table below
Filament Limit program scaling is 0 to 10Vdc = 0 to 5
amps.

Maximum Filament
X-Ray Tube Data Sheet Current
http://www.comet-xray.com/Resources/Products/X-Ray-
Comet CXR105 Tubes/Documents/cxr_105_en.pdf 3.2 amps
http://www.comet-xray.com/Resources/Products/X-Ray-
Comet MXR-160-HP/20 Tubes/Documents/mxr_160hp_20_en.pdf 4.1 amps
http://www.comet-xray.com/Resources/Products/X-Ray-
Comet MXR-75-HP/20 Tubes/Documents/mxr_75hp_20_en.pdf 3.4 amps
http://www.comet-xray.com/Resources/Products/X-Ray-
Comet MXR101 Tubes/Documents/mxr_101_en.pdf 4.2 amps
Lohmann 160/3EPN http://www.lohmannx-ray.com/products.htm#xl_stanmen 3.7 amps
Rontgen-Technik MCBM
65B-50 http://www.rtwxray.de/tubes/pdf/mcbm65b50x.pdf 3.2 amps
RTW MCD100H-3 http://www.rtwxray.de/tubes/pdf/mcd100h3x.pdf 4.4 amps
RTW MCT100F
panoramic http://www.rtwxray.de/tubes/pdf/mct100f05x15.pdf 4.5 amps

Disclaimer: The most recent X-ray tube data sheet should always be consulted regarding accurate specifications.

DXM MANUAL 9 118060-001 Rev J


Set Filament Standby (Preheat): The Filament Standby period of time (which is set by the mA Ramp Hold), prior
current (referred to as Filament Preheat on some product to ramping to its mA programmed value. It is
lines) is the idle current supplied to the X-Ray tube programmable from 0.5- 5 seconds and is Factory
filament during X-Ray Standby (HV OFF/X-Ray defaulted to 5 seconds. All value changes are stored in
disabled) conditions. non-volatile memory once the Save settings button is
clicked.
Filament Standby programing scaling is 0 to 10Vdc = 0 to
mA Ramp Hold: This setting controls the length of time
2.5 amps.
the mA program is held at 5% of the mA program value
during the ramping sequence. This feature is used to hold
The Filament Preheat set point is typically around 1 amp
the mA programming at a low level during filament
to 2 amps, but the X-Ray tube manufacturer should be
ramping to allow the mA regulation control circuitry to
consulted. A good guideline to consider is the maximum
take control prior to the mA ramping to the programmed
Filament Preheat level should be limited to 50% of the
mA value. It is programmable from 1- 30 seconds and is
Filament Limit specification. It is perfectly fine to set
Factory defaulted to 30 seconds .Typically this mA Ramp
standby current to zero if fast emission current ramping is
hold period should be equal or great than the filament
not required.
ramp time. All value changes are stored in non-volatile
For additional information please visit this link.
memory once the Save settings button is clicked.
Set Point Ramp: This setting, when enabled, will ramp
DXM Controlled Ramping: both the kV and mA during programming setting changes
during operations of the X-ray tube. The rate of the
Controlled Ramping is a user-controlled feature that ramping will be the same as the settings selected for KV
allows the customer to program kV, filament and mA Ramp Time and mA Ramp Time. This is Factory
ramps to meet the application use and X-ray tube defaulted to disabled. The Enable status is stored in non-
requirements. Standard DXM units are shipped with this volatile memory once the Save settings button is clicked.
user-controlled ramping feature disabled. The standard
DXM ramping is defaulted to 5 second (to full scale) kV Emission Loop Operation Threshold: This setting
ramp and a 2.5 second filament ramp which starts when controls the kV output threshold for when the emission
the kV output exceeds 30% of full-scale output. loop is active. It is programmable from 5% to 50% of full-
scale kV output and determines at what kV output the
The following parameters are programmable in the Filament loop is disabled. This protects the X-ray tube
firmware and are stored in non-volatile memory. from operating mA output at low kV outputs that are not
KV Ramp Time: This setting controls the ramp time of recommended by the X-ray tube manufacturer. The
the kV output to full-scale value upon X-ray enable and threshold should be set 3% below the minimum required
during programming changes when the Set Point Ramping kV operation point. For an example, setting to 37% on a
feature has been enabled. It is programmable from 1-20 75kV output unit will allow for a minimum of 30kV
seconds and is Factory defaulted to 5 seconds. All value operation (and not allow operation at approximately
changes are stored in non-volatile memory once the Save 27.8kV or below). Consult your X-ray tube manufacturer
settings button is clicked. for minimum operating specifications.

Filament Ramp Time: This setting controls the ramp To setup the DXM Controlled Ramping feature, the unit
time of the Filament output to full-scale value (0- 5A) must be connected to a Host PC using either RS-232,
upon X-ray enable. Filament ramping starts at the USB, or Ethernet using The DXM GUI (SWD0159-007).
completion of the kV ramp. It is programmable from 0.5- Refer to DXM Digital Manual to setup communications.
30 seconds and is defaulted to 30 seconds. All value
changes are stored in non-volatile memory once the Save Once communications have been established between the
settings button is clicked. DXM and the GUI (also see Digital manual for command
list for these features), proceed through the following
mA Ramp Time: This setting control the ramp time of screens as follows: Click on the Control Tab.
the mA to full-scale value upon X-ray enable and during
programming changes when the Set Point Ramping
feature has been enabled. mA ramping starts at the
completion of the KV ramp and steps to 5% of the mA
program value set point. It is held at this value for a

DXM MANUAL 10 118060-001 Rev J


The button will then turn green per below, indicating the
Control Ramp feature has been enabled .Click “Save
Settings” button at the bottom of the window to save
parameters.

The unit now has default control Ramp settings as shown


below:

The below User Configuration screen will open:


The below defines the ramp sequence with the above
default values

EXAMPLE #1 – Default settings


Standard units are shipped with the Controlled Ramp
disabled.

To enable, Click the “Ramp Control Disabled” button


circled below

DXM MANUAL 11 118060-001 Rev J


Programmed set points:
Preheat set point = 1.0A (1V/A)
Filament limit set point = 3.6A (1V/A)
kV set point = full scale 10V
kV set point = full scale 10V
Scope waveforms:
CH1 (YELLOW) mA tube current monitor
CH2 (GREEN) high voltage monitor (kV Ramp Time 5 seconds)
CH3 (PURPLE) Filament current monitor (Filament ramp 30 seconds)
CH4 (BLUE) mA program ramp (mA Ramp Time 5 second, after mA
Hold of 30 seconds)
Programmed set points:
Preheat set point = 0.0A (1V/A)
Filament limit set point = 3.6A (1V/A)
kV set point = full scale 10V
kV set point = full scale 10V
CH1 (YELLOW) mA tube current monitor
CH2 (GREEN) high voltage monitor
CH3 (PURPLE) Filament current monitor
CH4 (BLUE) mA program ramp

At the completion of the kV ramp, the mA program steps


to 5% of the programmed mA value. At the same time, the
filament slowly ramps up allowing mA regulation to take
control. After mA regulation is in control and stabilizes,
the mA ramps to the final program value with no
overshoot. The Filament current never reaches the
maximum filament limit set point of 3.6A. The total
enable ramps sequence to full-scale is 40 seconds.
By adjusting the set point values in the User Configuration The faster ramp sequence does not allow enough time for
screen users can customize ramp length to meet the tube filament to achieve the required temperature for
applications requirement and X-ray tube requirements. emissions current before the mA ramp starts. This causes
Example #2 - Faster ramp setting result: the filament current to ramp to the maximum filament
limit and stay at that level for several seconds while the
filament reaches required temperature for emission. The
mA current rise is not controlled by the mA ramp and may
have slight overshoot due to this.
Example #3 – increased times compared to Example#2
(14 sec)

DXM MANUAL 12 118060-001 Rev J


Same Programmed set points as Example #3

Programmed set points:


Preheat set point = 1.0A (1V/A)
Filament limit set point = 3.6A (1V/A)
kV set point = full scale 10V
kV set point = full scale 10V The total enable ramps sequence to full-scale is 10
seconds.

EXAMPLE#5 – 5 sec sequence

The total enable ramps sequence to full-scale is 14 Preheat set point =1.5A (1V/A)
seconds.
Filament limit set point =3.6A (1V/A)
EXAMPLE #4 – 10sec sequence
KV set point =full scale 10V

KV set point =full scale 10V

DXM MANUAL 13 118060-001 Rev J


Example of set point ramping with the above Ramping parameters:

CH1 (YELLOW) mA tube current monitor


CH2 (GREEN) high voltage monitor
The total enable ramps sequence to full-scale is 5 seconds. CH3 (PURPLE) Filament current monitor
CH4 (BLUE) mA program ramp

It is recommended to set the ramp times as long as your


application can tolerate. As the results may vary Below plot shows, kV programming that was changed
depending on the X-ray tube characteristics, user testing from half-scale value to full-scale value. Then changed
of ramp times is required to ensure requirements of X-ray back to half-scale value. Ramping is 2.5 second for half
scale change because the total ramp time is set for 5
tube Manufacturer and applications are met (See
seconds.
DXM/DXB data sheet for monitor pin outs). Consult with
the X-ray tube manufacturer about required ramp speed
and Filament limit set points for the X-ray tube.

Set Point Ramp:

Set Point Ramp: This setting, when enabled, will ramp


both the kV and mA during programming setting changes
during operation of the X-ray tube. The rate of the
ramping will be the same as the settings selected for kV
Ramp Time and mA Ramp Time. Standard units are
shipped from the factory with this feature disabled. Enable
status is stored in non-volatile memory once the Save
settings button is clicked.
Below plot shows mA programming that was changed
from half-scale value to full-scale value. Then changed
To enable set point ramping, click the box shown below back to half-scale value. Ramping is 2.5 second for half-
scale change because the total ramp time is set for 5
and the Click the “Save Settings” button.
seconds.

DXM MANUAL 14 118060-001 Rev J


preheat level. The Monitor outputs are always positive
regardless of the output polarity, where zero (0) to 10 (10)
volts equals 0-100% of output. See Figure 3.4 for
monitoring wiring and see data sheet for pin outs.
X-RAY Enable/Interlock: In Local Mode allows
ON/OFF control of the high voltage. The hardware based
dry contact closure must be closed in to enable the high
voltage. In Remote Mode this I/O acts as an Interlock.
The hardware based dry contact closure must be closed in
order to enable the high voltage via the USB, Ethernet or
RS232. This can be done by connecting pins 11 and 12
on J2. See Figure 3.5.
REMOTE PROGRAMMING:
After establishing communication with the DXM as
per the DXM Digital Protocol spec. Switch the DXM to
3.2 Standard Control Features Remote Mode by sending a Program Local/Remote Mode
A note on remote interface circuitry and remote signal command. If the unit is in Local Mode and enabled prior
grounding: whenever possible, electrical isolation should to switching it to Remote Mode, the DXM will shutdown
be provided when interfacing with any high voltage power and a P.S Fault indictor will occur when it is switch to
supply. For enable/disable signal connections, an isolated Remote Mode. A clear command can be sent to clear this
relay or optocoupler should be used. For PS Fault fault.
indication an optocoupler should be used. If possible, Remote Control: USB, Ethernet and RS232 are standard
analog programming and monitoring signals should be Refer to DXM Digital Protocol spec for Details.
isolated via analog isolation amplifiers. Spellman
application engineers are available to assist in interface Remote Monitor: Allows remote monitoring of the
circuitry design. All interface cables should be properly Output voltage, current, filament limit and preheat level via
shielded. All power supply signals should be referenced the USB, Ethernet or RS232.
to the power supplies signal ground or power supply Remote Programming: Allows remote programming of
chassis ground the Output voltage, current, filament limit and preheat level
Local Programming potentiometers: The filament limit via the USB, Ethernet or RS232.
and preheat level controls on the front panel can be used ARC FAULT CONTROL:
as follows: For local filament limit control, jump J2-4 to Arc Fault Control features allow the user to custom select
J2-5. For local preheat control, jump J2-6 to J2-7. See the type of arc intervention that is required. This feature is
Figure 3.2. disabled as a default, which means the unit will shut down
LOCAL PROGRAMMING: Allows local adjustment with one arc fault.
of the output voltage, current filament limit and preheat
level via an external voltage source. 0-10VDC signal is When Arc Control is enabled, the user can set the arc
supplied to pin 3 of the J2 for voltage programming and 0- detection parameters to custom fit their requirements. The
10 VDC signal is supplied to Pin 2 J2 for current following parameters are programmable in the firmware
programming. 0-10VDC signal is supplied to pin 4 of the and are stored in non-volatile memory once the Save
J2 for filament limit programming. 0-10VDC signal is settings button is clicked.
supplied to pin 6 of the J2 for filament preheat Arc Count:
programming (2.5a max). Programming signals should be This sets how many arcs are required within the selected
referenced to Pin 9 of J2, signal ground. By adjusting the time period to cause an arc shutdown. It is programmable
voltage source from 0 volts (zero output) to 10 volts (full from 2 arc to 10 arcs. The factory default setting is 4 arcs
rated output) the desired output can be selected. See when Arc Control is enabled.
Figure 3.3 for wiring diagram and specifications.
Arc Period:
Local Monitoring: Monitor outputs are made available This sets the time period that the selected arc count must
for monitoring the voltage, current output and filament occur within to cause an arc shutdown .It is programmable

DXM MANUAL 15 118060-001 Rev J


from 10 to 20 seconds. The default setting is 10 seconds The Remote program feature will default the unit to only
when Arc Control is enabled. power up in Remote mode and not allow the analog
control signals local enable to be active at power up. It
Quench Time:
can be enabled by clicking the box shown below and
This sets the length of time that the high voltage is
clicking “Save Settings”.
shutdown to quench the arc after an arc occurs. It is
programmable from 50ms to 300ms. The factory default
setting is 150ms when Arc Control is enabled.

No Re-Ramp:
After an arc occurs, the kV output will re-ramp to the
programmed value as per the ramp time settings. If the
Ramp control in Section 1.0 is enable the programmed
ramps will be used. If the Ramp control is disable, the
Standard DXM ramps will be used.
If No Re-ramp is enabled (by clicking the box next to “No
Re Ramp” and clicking “Save Settings”) then there will be
no ramping after an arc.
The standard units are shipped with the Arc Control
disabled.

To enable Click the Arc Control button circled below.

The button will turn green, indicating the Control Ramp


feature has been enabled . Click “Save Settings” button at
the bottom of the window to save parameters.

3.0 Default Remote Program


The DXM unit can be controlled by analog signals in
Local mode or Digital interfaces in Remote mode.The
standard unit powers up in Local mode and can be
switched to Remote via a command on the digital
interface.

DXM MANUAL 16 118060-001 Rev J


WARNING
It is extremely dangerous to use this
circuit to inhibit high voltage generation
for the purpose of servicing or
approaching any area of load
considered unsafe during normal use.

Figure 3.2 Local Programming Via Internal Front Panel Pot Voltage Source.

DXM MANUAL 17 118060-001 Rev J


Figure 3.3 Local Programming Via External Voltage Source

DXM MANUAL 18 118060-001 Rev J


Figure 3.4 Remote Monitoring

DXM MANUAL 19 118060-001 Rev J


RELAY

Figure 3.5 Enable/Interlock Logic Control

DXM MANUAL 20 118060-001 Rev J


Chapter 4

PRINCIPLES OF OPERATION
T he DXM Series of high voltage power supplies
utilizes sophisticated power conversion technology.
Advanced analog and power conversion techniques
be present before and after the power supply is
used. Consult IEEE recommended practices for
safety in high voltage testing #510-1983.
are used in the DXM series. The intention of the
Principles of Operation is to introduce the basic function 4.2 High Frequency Inverter
blocks that comprise the DXM power supply. For details
on a specific circuit, consult Spellman’s Engineering The DXM is a resonant converter operating in a zero
Department. current switching, series resonant, parallel loaded
topology. MOSFET transistors switch the 400 VDC
The DXM power supply is basically an AC to DC power
voltage to the resonant tank circuit. Typical operating
converter. Within the power supply, conversions of AC to
frequency is in the range of 35-65kHz depending on
DC then to high frequency AC, then to high voltage DC
model. Control of the resonant circuit output is done by
take place.
the low voltage control circuits, and are isolated by an
Typical DXM power supplies comprise a few basic isolated pulse transformer. The output of the resonant
building blocks. These are: 1) AC to DC rectifier, 2) circuit is applied to the primary of the high voltage
Power Factor correction boost circuitry 3) High frequency transformer.
quasi-resonant inverter, 4) High voltage transformer and
rectifier circuits, and 5) Control and monitoring circuits. 4.3 High Voltage Circuits
The following is a brief description of each building The high voltage transformer is a step-up type. The
block. secondary of the high voltage transformer is connected to
the high voltage rectifier circuit. The rectifier circuit will
4.1 Power Factor and Associated vary depending upon the rated output voltage. For lower
Circuits power a half wave Cockroft-Walton multiplier is used, for
higher power a full wave Cockroft-Walton multiplier is
The DXM series can operate from 90 - 265VAC, for the
used. A feedback signal is generated by the high voltage
300Watt Model and 180 –264VAC for the 600 and 1200
resistor divider. This feedback signal is sent to control
Watt Models. The input voltage is connected via a typical
circuits to provide voltage regulation and monitoring. A
IEC 320 type input connector. An internal EMI filter and
current sense resistor is connected at the low voltage end
fuse housing is an integral part of the DXM module. The
of the rectifier circuit. The circuit sense signal is sent to
input circuits actively correct the power factor.
the control circuits to provide current regulation and
The input line voltage is applied to a current limit device monitoring.
to reduce the initial inrush current. The input line voltage
The high voltage rectifier output is connected to the
is converted to a 400VDC voltage via an active PFC
output limiting resistors. These resistors limit the peak
Converter.
surge current in the event an arc or discharge occurs. The
limiting resistor output is connected to the output
WARNING connector provided.
The energy levels used and generated by the
power supply can be lethal! Do not attempt to
operate the power supply unless the user has a
sufficient knowledge of the dangers and hazards
of working with high voltage. Do not attempt to
approach or touch any internal or external
circuits or components that are connected or
have been connected to the power supply. Be
certain to discharge any stored energy that may

DXM MANUAL 21 118060-001 Rev J


4.4 Control Circuits 4.5 Options
Control circuits are used for regulation, monitoring, pulse- Due to the variations of models and options provided in
width, control, slow-start and inhibit control. Feedback the DXM series, details of actual circuits used may differ
signals are calibrated and buffered via general purpose slightly from above descriptions. Consult Spellman’s
OP-AMPS. Pulse width control is accomplished by a Engineering Department for questions regarding the
typical PWM type control I.C. Logic enable/disable is principles of operations for the DXM series.
provided by a logic gate I.C. Regulators generate +/- 15V
and 10VDC. DSP based control circuitry provides
excellent regulation, along with outstanding stability
performance

WARNING
LINE VOLTAGE IS PRESENT
WHENEVER THE POWER SUPPLY IS
CONNECTED TO EXTERNAL LINE
VOLTAGES. BE SURE TO DISCONNECT
THE LINE CORD BEFORE OPENING THE
UNIT. ALLOW 5 MINUTES FOR
INTERNAL CAPACITANCE TO
DISCHARGE BEFORE REMOVING ANY
COVER.

DXM MANUAL 22 118060-001 Rev J


Chapter 5

OPTIONS
T He options available for this power supply
described in this section. Interface diagrams
shown where required. Options are specified
are
are
by
5.2 Filament
Filament outputs with an emission control loop are
including the option code in the model number as available for use with X-ray tubes. Generally, filament
described in Section 1.4. outputs are in the range of 3V – 10V, at currents up to 5A.
Both floating AC and grounded DC filaments are
available. The filament on a standard DXM Module is
5.1 Custom Designed Models X (#) calibrated to 5A@10V using either a 10ft High Voltage
Units built to customer specifications are assigned an X cable for floating filament or 10ft of 18awg wire for
number be the factory. If this unit is an X model, grounded filament
specification control sheet is added at the end of this
instruction manual. Spellman welcomes the opportunity to tailor units to fit
your requirements or to develop new products for your
applications. Contact Spellman Sales Department.

Note: Before operating this system, refer to operating


instructions in Chapter 3.

DXM MANUAL 23 118060-001 Rev J


Chapter 6

MAINTENANCE
T his section describes periodic
performance testing procedures.
servicing and High voltage test procedures are described in Bulletin
STP-783, Standard Test Procedures for High Voltage
Power Supplies. Copies can be obtained from the
Spellman Customer Service Department. Test equipment,
including an oscilloscope, a high impedance voltmeter,
WARNING and a high voltage divider such as the Spellman HVD-100
or HVD-200, is needed for performance tests. All test
THIS POWER SUPPLY GENERATES VOLTAGES components must be rated for operating voltage.
THAT ARE DANGEROUS AND MAY BE FATAL.
6.3 High Voltage Dividers
OBSERVE EXTREME CAUTION WHEN WORKING High voltage dividers for precise measurements of output
WITH HIGH VOLTAGE. voltage with an accuracy up to 0.1% are available from
Spellman. The HVD-100 is used for voltages up to
6.1 Periodic Servicing 100KV. The HVD-200 measures up to 200KV. The
Spellman divider is designed for use with differential
Approximately once a year (more often in high dust
voltmeters or high impedance digital voltmeters. The high
environments), disconnect the power to the unit.. Use
input impedance is ideal for measuring high voltage low
compressed air to blow dust out of the inside of the unit.
current sources, which would be overloaded by traditional
Avoid touching or handling the high voltage assembly.
lower impedance dividers.

6.2 Performance Test

WARNING

HIGH VOLTAGE IS DANGEROUS.


ONLY QUALIFIED PERSONNEL SHOULD
PERFORM THESE TESTS.

DXM MANUAL 24 118060-001 Rev J


Chapter 7

FACTORY SERVICE
7.1 Warranty Repairs A preliminary estimate for repairs will be given by phone
During the Warranty period, Spellman will repair all units by Customer Service. A purchase order for this amount is
free of charge. The Warranty is void if the unit is worked requested upon issuance of the RMA Number. A more
on by other than Spellman personnel. See the Warranty in detailed estimate will be made when the power supply is
the rear of this manual for more information. Follow the received at the Spellman Repair Center. In the event that
return procedures described in Section 7.2. The customer repair work is extensive, Spellman will call to seek
shall pay for shipping to and from Spellman. additional authorization from your company before
completing the repairs.
7.2 Factory Service Procedures
7.3 Ordering Options and
Spellman has a well-equipped factory repair department.
If a unit is returned to the factory for calibration or repair, Modifications
a detailed description of the specific problem should be Many of the options listed in Chapter 5 can be retrofitted
attached. into Spellman power supplies by our factory. For prices
For all units returned for repair, please obtain an and arrangements, contact our Sales Department.
authorization to ship from the Customer Service
Department, either by phone or mail prior to shipping. 7.4 Shipping Instructions
When you call, please state the model and serial numbers, All power supplies returned to Spellman must be sent
which are on the plate on the rear of the power supply, shipping prepaid. Pack the units carefully and securely in
and the purchase order number for the repair. A Return a suitable container, preferably in the original container, if
Material Authorization Code Number (RMA Number) is available. The power supply should be surrounded by at
needed for all returns. This RMA Number should be least four inches of shock absorbing material. Please
marked clearly on the outside of the shipping container. return all associated materials, i.e. high voltage output
Packages received without an RMA Number will be cables, interconnection cables, etc., so that we can
returned to the customer. The Customer shall pay for examine and test the entire system.
shipping to and from Spellman.
All correspondence and phone calls should be directed to:
Spellman High Voltage Electronics Corp.
475 Wireless Boulevard
Hauppauge, New York 11788
TEL: (631) 630-3000 FAX: (631) 435-1620
E-Mail: sales@Spellmanhv.com
http://www.spellmanhv.com

DXM MANUAL 25 118060-001 REV J


WICHTIGE SICHERHEITSHINWEISE

SICHERHEIT
DIESES HOCHSPANNUNGSNETZTEIL ERZEUGT LEBENSGEFÄHRLICHE HOCHSPANNUNG.
SEIN SIE SEHR VORSICHTIG BEI DER ARBEIT MIT DIESEM GERÄT.

Das Hochspannungsnetzteil muß immer geerdet sein.

Berühren Sie die Stecker des Netzteiles nur, wenn das Gerät ausgeschaltet ist und die elektrischen
Kapazitäten des Netzteiles und der angeschlossenen Last entladen sind.

Die internen Kapazitäten des Hochspannungsnetzteiles benötigen ca. 5 Minuten, um sich zu entladen.

Erden Sie sich nicht, und arbeiten Sie nicht in feuchter oder nasser Umgebung.

SERVICESICHERHEIT
Notwendige Reparaturen können es erforderlich machen, den Gehäusedeckel während des Betriebes zu
entfernen.

Reparaturen dürfen nur von qualifiziertem, eingewiesenem Personal ausgeführt werden.

“WARNING” im folgenden Text weist auf gefährliche Operationen hin, die zu Verletzungen oder zum Tod
führen können.

“CAUTION” im folgenden Text weist auf Prozeduren hin, die genauestens befolgt werden müssen, um
eventuelle Beschädigungen des Gerätes zu vermeiden.

118004-001 REV. B
PRECAUTIONS IMPORTANTES POUR VOTRE SECURITE

CONSIGNES DE SÉCURITÉ
CETTE ALIMENTATION GÉNÈRE DES TENSIONS QUI SONT DANGEUREUSES ET PEUVENT ÊTRE FATALES.
SOYEZ EXTRÊMENT VIGILANTS LORSQUE VOUS UTILISEZ CET ÉQUIPEMENT.

Les alimentations haute tension doivent toujours être mises à la masse.

Ne touchez pas les connectiques sans que l’équipement soit éteint et que la capacité à la fois de la charge et de
l’alimentation soient déchargées.

Prévoyez 5 minutes pour la décharge de la capacité interne de l’alimentation.

Ne vous mettez pas à la masse, ou ne travaillez pas sous conditions mouillées ou humides.

CONSIGNES DE SÉCURITÉ EN CAS DE REPARATION


La maintenance peut nécessiter l’enlèvement du couvercle lorsque l’alimentation est encore allumée.

Les réparations doivent être effectuées par une personne qualifiée et connaissant les risques électriques.

Dans le manuel, les notes marquées « WARNING » attire l’attention sur les risques lors de la manipulation de ces
équipements, qui peuvent entrainer de possibles blessures voire la mort.

Dans le manuel, les notes marquées « CAUTION » indiquent les procédures qui doivent être suivies afin d’éviter
d’éventuels dommages sur l’équipement.

118004-001 REV. B
IMPORTANTI PRECAUZIONI DI SICUREZZA
SICUREZZA
QUESTO ALIMENTATORE GENERA TENSIONI CHE SONO PERICOLOSE E
POTREBBERO ESSERE MORTALI.
PONI ESTREMA CAUTELA QUANDO OPERI CON QUESO APPARECCHIO.

Gli alimentatori ad alta tensione devono sempre essere collegati ad un impianto di terra.

Non toccare le connessioni a meno che l’apparecchio sia stato spento e la capacità interna
del carico e dell’alimentatore stesso siano scariche.

Attendere cinque minuti per permettere la scarica della capacità interna dell’alimentatore
ad alta tensione.

Non mettere a terra il proprio corpo oppure operare in ambienti bagnati o saturi d’umidità.

SICUREZZA NELLA MANUTENZIONE.

Manutenzione potrebbe essere richiesta, rimuovendo la copertura con apparecchio


acceso.
La manutenzione deve essere svolta da personale qualificato, coscio dei rischi elettrici.

Attenzione alle AVVERTENZE contenute nel manuale, che richiamano all’attenzione ai


rischi quando si opera con tali unità e che potrebbero causare possibili ferite o morte.

Le note di CAUTELA contenute nel manuale, indicano le procedure da seguire per evitare
possibili danni all’apparecchio.

118004-001 REV. B
To obtain information on Spellman’s product warranty please visit our website at:
http://www.spellmanhv.com/en/About/Warranty.aspx
ENS

DXM Digital Interface


Manual
Ethernet
Serial – RS-232
Universal Serial Bus - USB

Copyright  2021, Spellman High Voltage Electronics Corporation. All Rights Reserved.
This information contained in this publication is derived in part from proprietary and patent data. This information has
been prepared for the express purpose of assisting operating and maintenance personnel in the efficient use of the
model described herein, and publication of this information does not convey any right to reproduce it or to use it for
any purpose other than in connection with installation, operation, and maintenance of the equipment described.

118079-001 Rev G

475 Wireless Boulevard • Hauppauge, New York 11788, USA • www.spellmanhv.com • T:+1 631.630.3000 • F:+1 631.435.1620
Table Of Contents
1.0 Scope ....................................................................................................................... 3
2.0 Functional Description ........................................................................................... 3
3.0 Getting Started - Interface Wiring and Pin-outs.................................................... 3
3.1 RS232 Interface .................................................................................................................... 3
3.2 Ethernet Interface .................................................................................................................. 5
3.3 Universal Serial Bus Interface .............................................................................................. 6
3.4 RS-232 Cabling..................................................................................................................... 6
3.5 Ethernet Cabling ................................................................................................................... 6
3.6 USB Cabling ......................................................................................................................... 8
4.0 Getting Started - Software .................................................................................... 10
4.1 RS-232 ................................................................................................................................ 10
4.2 Ethernet ............................................................................................................................... 12
4.3 USB ..................................................................................................................................... 26
5.0 Ethernet Commands ............................................................................................... 34
5.1 TCP/IP Format .................................................................................................................... 34
5.2 Command Arguments ......................................................................................................... 35
5.3 Command Overview ........................................................................................................... 35
5.4 Response Overview ............................................................................................................ 37
5.5 Command Structure ............................................................................................................ 38
6.0 Serial Commands – RS-232 / USB ....................................................................... 67
6.1 Serial Interface Protocol ..................................................................................................... 67
6.2 Command Arguments ......................................................................................................... 67
6.3 Checksums .......................................................................................................................... 67
6.4 Command Overview ........................................................................................................... 69
6.5 Response Overview ............................................................................................................ 70
6.6 Command Structure ............................................................................................................ 72
6.7 Spellman Test Commands ................................................................................................ 100
6.8 Serial Command Handling ................................................................................................ 100

118079-001 Rev G Page 2 of 101


WARNING
THIS EQUIPMENT GENERATES DANGEROUS VOLTAGES THAT MAY BE FATAL.
PROPER GROUNDING OF ALL HIGH VOLTAGE EQUIPMENT IS ESSENTIAL.SEE DXM
OWNERS MANUAL FOR PROPER GROUNDING TECHNIQUE AND SAFETY
PRECAUTIONS BEFORE APPLING AC INPUT POWER TO THE DXM UNIT.

TO PREVENT DAMAGE TO THE HOST COMPUTER THE COMPUTER SHOULD BE


GROUNDED TO THE SAME GROUND AS THE UUT.

1.0 SCOPE
This document applies to the communications interfaces on the DXM , assembly
460067.

2.0 FUNCTIONAL DESCRIPTION


The DXM provides 3 different types of digital communications interfaces:
 RS-232 on J3
 Ethernet (10/100-Base-T) on J5
 Universal Serial Bus on J4.

3.0 GETTING STARTED - INTERFACE WIRING AND PIN-OUTS

3.1 RS232 INTERFACE


The RS232C interface has the following attributes:
 115K bits per second
 No Parity
 8 Data Bits
 1 Stop Bit
 No handshaking
 DB-9 connector as shown

Figure 1 – J3, RS-232 DB-9M pinout (front view)

118079-001 Rev G Page 3 of 101


PIN DESCRIPTION
1 -
2 Tx Out
3 Rx In
4 -
5 Ground
6 -
7 -
8 -
9 -

118079-001 Rev G Page 4 of 101


3.2 ETHERNET INTERFACE

The Ethernet interface has the following attributes:


 10/100-Base-T
 IP address can be set by the system integrator
 Network Mask can be set by the system integrator
 TCP Port Number can be set by the system integrator
 RJ-45 connector
 Network attachment via Crossover and Standard Ethernet cables.
 Supported Operating Systems: Windows 98 2ED, Windows 2000
(SP2), Windows NT (SP6), Windows XP Professional

LED 1 LED 2

87654321

Figure 2 – J5, Ethernet RJ45 Jack (front view)

PIN DESCRIPTION
1 TX+
2 TX-
3 RX+
4 -
5 -
6 RX-
7 -
8 -

The Ethernet RJ-45 has two LED indicators, as shown in Figure 2. The left
LED, LED1 indicates that the network processor has a valid network link.
The right LED, LED2 indicates network activity.

118079-001 Rev G Page 5 of 101


3.3 USB – UNIVERSAL SERIAL BUS INTERFACE
The USB interface has the following attributes:
 Compliant with USB 1.1 and USB 2.0 specifications
 Type B male connector
 Included driver can be communicated with via standard Windows
serial communications methods

Figure 3 – J4, USB Type B (front view)

PIN DESCRIPTION
1 Vbus +5V
2 D-
3 D+
4 Ground

3.4 RS-232 CABLING


A standard shielded RS-232 cable is used to connect the DXM serial port
to the serial port on a standard personal computer. Please refer to the
following chart.

PC to DXM Board Cable Details


PC Connector (DB-9 Female) DXM Connector (DB-9 Male)
Pin 2: RX In Pin 2: TX Out
Pin 3: TX Out Pin 3: RX In
Pin 5: Ground Pin 5: Ground

3.5 ETHERNET CABLING


Unshielded Category 5e (CAT5e) Ethernet patch cables are used to
connect the DXM to the host computer. Although it is not recommended to
use shielded cables, if a shielded Ethernet cable is used, it is advised to
only connect the shield to Earth ground at one end of the Ethernet cable.
This will prevent ground loops and other isses from occurring that can
cause data corruption. Please note the DXM’s Ethernet connector’s (J5)
shell is connected Earth ground. The end user should conduct tests to

118079-001 Rev G Page 6 of 101


determine the best method of grounding the cable shield for their
application.

A standard connection through a hub, switch, or network uses a standard


CAT5 patch cable. Please refer to the two cable ends shown below in
figure 4.

1 1

Figure 4 – Standard Straight Through Cable – Standard CAT5 Patch

118079-001 Rev G Page 7 of 101


3.6 USB CABLING
A high-quality double shielded USB 2.0 Type A to B (host to slave) cable
should be used in all applications. This type of cable is a standard PC to
peripheral cable that utilizes full-size connectors.

Figure 5 – USB A-to-B cable

3.6.1 HIGH EMI ENVIRONMENTS


If the DXM USB interface is being used in a high-EMI environment, ferrites
should be added to the USB cable. Figure 7 illustrates the possible
combinations of ferrites that can be used to achieve acceptable operation
under these conditions.

POW ER SUPPLY F E R R IT E F E R R IT E
W IT H BEAD CORE
USB ( c a b le ) ( c a b le )

F E R R IT E
CORE
( c a b le )

24 V DC

PC
F E R R IT E F E R R IT E W IT H
CORE BEAD USB
( c a b le ) ( c a b le )

USB CABLE

118079-001 Rev G Page 8 of 101


Figure 6 – Block Diagram of USB Cable Utilizing Ferrites
Ferrite beads should be attached to the USB cable next to the connectors
– both sides should be installed. In extreme cases ferrite cores may be
added where the cable is looped 3 or 4 times around the core as shown in
figure 8. Cores of 1.5 to 2 inches should be used at both ends of the
cable.

Figure 7 - Example of a USB Cable Using Ferrites

Please refer to the USB Interface Setup section, for an explanation of how
USB works and why EMI may present a problem for this communications
interface.

118079-001 Rev G Page 9 of 101


4.0 GETTING STARTED – SOFTWARE
The following sections detail how to create software to interface to the DXM
communications interfaces.

4.1 RS-232
The RS-232 interface makes use of a standard ‘command/response’
communications protocol. See section 6.0 for the syntax of the serial
interface protocol. The programmer should also review section 4.3 for
programming considerations for the USB interface as the code is nearly
identical for the RS-232 interface.

All software that addresses the RS-232 interface must adhere to the
following parameters:

 A default Baud rate of 115.2K bps


 No Parity
 8 Data Bits
 1 Stop Bit
 No handshaking
The Baud rate can be changed to 115.2K ,57.6k,38.4k,19.2k or 9600 bps
and stored in the unit.

4.1.1 Enabling Communications Objects in Visual Basic for RS-232


Communications in Microsoft Visual Basic 6.0 are directed to a control
that abstracts the port. In the case of serial and USB we need
Microsoft Comm Control 6.0. To enable this in your VB 6 project, go to:

Project -> Components

Then in the list make sure that Microsoft Comm Control 6.0 has a
check next to it. The Comm Control Object should then appear in your
toolbox. It will have an icon of a telephone and will be named:
MSComm. This can be dragged and dropped into your application.
You will then need to set the object’s properties.

4.1.2 Configuring Communications in Visual Basic for RS-232


In order to configure the MSComm Object, first you must initialize it
in the Object properties:

Settings 115200,n,8,1
Handshaking 0 – comNone

The application can be set to either default to a specific COM Port


or the End User can be allowed to choose one for the particular PC.

118079-001 Rev G Page 10 of 101


For the “Default” scenario, include the following commands in the
Form_Load() routine:

MSComm1.CommPort = portNumber
MSComm1.PortOpen = True

For the “Choice” scenario, place the above two commands in a


selectable menu item.

118079-001 Rev G Page 11 of 101


4.2 ETHERNET
The DXM contains an embedded diagnostic web server that can be
accessed through any standard web browser by browsing to the DXM’s IP
address. For example:

http://192.168.1.4

The following are the default username and password to access


webserver:

Username: root
Password: shv

The Ethernet interface communicates using the following protocols:

 TCP/IP
 HTTP
 TFTP
 FTP

118079-001 Rev G Page 12 of 101


4.2.1 Web Server
DXM contains an embedded webserver which allows the user change
network settings and do firmware updates.

4.2.1.1 Web Pages


4.2.1.1.1 Home Page
Here is the Home page.

Figure 8: Web Server – Home Page

118079-001 Rev G Page 13 of 101


4.2.1.1.2 Network Settings
Click Network on left column of Home page to access
Network settings window. You can change any parameter
and save them by clicking Save button.

Figure 9 – Network Settings

118079-001 Rev G Page 14 of 101


4.2.1.1.3 Firmware Update
Click Upload Firmware on left column of Home page to
access Upload Formware window. Click Choose File will
open a browsw window where you can select the file to
download. The file needs to be named image.bin for the
Upload to work.

Figure 10 – Firmware Update

118079-001 Rev G Page 15 of 101


After image.bin file is selected, click upload to start
uploading the file. Image upload complete message is
displayed after uploading successfully finished. A message
will propmp user to reboot. You can do this by clicking
Reboot on left of screen. Sometimes yo may be asked to re-
login before re-boot. If ths is the case, enter username and
padsword again.

Figure 11: Firmware Update - File

118079-001 Rev G Page 16 of 101


4.2.2 Reset Network Settings
Ethernet device inside DXM can be reset to factory configuration
values. This becomes useful when network settings were
accidentally changed or became unknown.
To reset network settings you need to have access to DXM control
board. Turn power off and remove top cover. Locate Ethernet
module and find JP5 pin header. JP5 is located nearby Ethernet
module. Install jumper on JP5. Replace top cover and turn power
on for about one minute and then turn back off. At this point
firmware has already retored newtowk seting to factory values. You
can remove jumper now, close the unit and turn power back on.

4.2.3 Connection between the DXM and a Computer


A direct Ethernet connection between the DXM and the computer
requires a standard Ethernet cable.
When direct connecting the DXM to a computer using an Ethernet
cable, they are essentially participating in a private network. As
such you need to pick two valid IP addresses, one for each device.
The table below illustrates that not all IP addresses are actually
valid IP addresses. For example, IP addresses beginning with 127
are not valid.

Class Address Range


A 1.0.0.0-126.255.255.255
B 128.0.0.0-191.255.255.255
C 192.0.0.0-223.255.255.255

4.2.3.1 Configuring the Computer for Direct Ethernet


Connection
As mentioned above both the IP Address and Subnet Mask need to
be configured. In our environment computers normally are assigned
IP addresses dynamically, using DHCP. We need to change this
and assign the IP Address statically to the one we have selected.

118079-001 Rev G Page 17 of 101


Here are the steps to follow when using Windows 10. Go to Contol
Panel, Network and Internet, Network Sharing. Click on Change
Adapter Settings on left column.

Figure 12: Change Adapter Settings

118079-001 Rev G Page 18 of 101


Right click on Ethernet Controller connected to DXM unit and select
Properties.

Figure 13: Ethernet Controller

After selecting properties you are brought up to the screen below .


You must RIGHT CLICK and select Properties on Local Area
Connection.
Now you must select “Internet Protocol (TCP/IP)” and click on the
Properties button to be brought to figure 20.

Figure 14 – Local Area Connection Properties

118079-001 Rev G Page 19 of 101


Here you need to change the IP address to the one that is
programmed in the DXM.

Figure 15 – TCP/IP Properties

Lastly you must disable any firewall software you have running. If
you are running a proxy server for Internet access, you must also
disable the proxy client. Disabling this also requires a reboot.

118079-001 Rev G Page 20 of 101


4.2.3.2 Testing a Direct Connection
You can use the program “Ping” to test a network connection
between the computer and the DXM. “Ping” is a command line tool
so we will need to bring up a command prompt.
To do this, on Windows search bar at bottom of scree, type
‘command’ and hit Enter
Then on the command line type
Ping <IP Address>
For example
Ping 192.168.1.4

If the DXM is found at the specified IP address, the Ping command


will respond with a report that is similar to:
Pinging 192.168.1.4 with 32 bytes of data:
Reply from 192.168.1.4: bytes=32 time<1ms TTL=64
Reply from 192.168.1.4: bytes=32 time<1ms TTL=64
Reply from 192.168.1.4: bytes=32 time<1ms TTL=64
Reply from 192.168.1.4: bytes=32 time<1ms TTL=64
Ping statistics for 192.168.1.4:
Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
Minimum = 0ms, Maximum = 0ms, Average = 0ms

4.2.4 Configuring the DXM For a Local Area Network (LAN)


If you have chosen to place the DXM onto your local area network
you will need:
 A CAT5 network patch cable to physically connect the DXM
to the LAN
 A static IP address to assign to the DXM.
Remember that even if the IP address you have selected is in
general a valid IP address it needs to be valid for your LAN (local
area network). Otherwise the device will not be accessible from an
Internet browser or Ping.

118079-001 Rev G Page 21 of 101


4.2.4.1 Configuring the Network Settings from the Web Server
Click Network on left column of Home page to access Network
settings window. You can change any parameter and save them by
clicking Save button.

Figure 16: Configure Network Settings

The network settings are configurable from the Settings->Network


Settings screen, refer to figure 24.

The settings that can be changed are the:


 IP Address
 Subnet Mask
 Default Gateway
 Primary DNS
 Secondary DNS
Once the network settings of the SIC arre configured, the SIC is
rebooted, and the Web server is disconnected from the SIC. You
must type the NEW IP address into a web browser to bring up a
new instance of the Web Server. This may also require
reconfiguring the host computer with the correct host IP address,
subnet mask, and TCP port.

118079-001 Rev G Page 22 of 101


Depending on the type of network you are attaching the SIC to, you
may need to configure the host PC’s IP address and subnet mask
as shown in section 4.2.2.1. You can also test a network
connection to the SIC by following the instructions listed in section.

4.2.5 Enabling Communications Objects in Visual Basic for Ethernet


Communications
For Ethernet communications, we need Microsoft Winsock Control 6.0 and
SP5. To enable this in your VB 6 project, go to:

Project -> Components

Once selected in your toolbox you will have an icon of two computers
linked together and it will be named: Winsock.This can be dragged and
dropped into your application. Then set the object’s properties.

4.2.6 Configuring Communications in Visual Basic for Ethernet


In order to configure the Winsock Object, you must make the following
initialization in the object’s properties:

Protocol 0 – sckTCPProtocol

Then, in the application code, include the following commands:

tcpClient.RemoteHost = host
tcpClient.RemotePort = portNumber
tcpClient.Connect

For further information regarding the use of the above commands, please
refer to your Visual Studio Help File.

118079-001 Rev G Page 23 of 101


4.2.6.1 Data Output Example
MSComm1 is both the serial and USB port. TcpClient is the
Ethernet port.

If (portType = "ethernet") Then


tcpClient.SendData (str)
Else
MSComm1.InBufferCount = 0
On Error GoTo done
MSComm1.Output = str
done:
tmrOpenClose.Enabled = True
End If

118079-001 Rev G Page 24 of 101


4.2.6.2 Data Input Example
If (portType = "ethernet") Then
Do
DoEvents
tcpClient.GetData temp$
str = str + temp$
Loop Until InStr(str, Chr(3)) Or Timer - t1 > 1
On Error Resume Next
Else
Do
DoEvents
If MSComm1.InBufferCount > 0 Then
str = str & MSComm1.Input
End If
Loop Until InStr(str, Chr(3)) Or Timer - t1 > 1
If InStr(str, Chr(3)) > 0 Then
tmrOpenClose.Enabled = False
End If
End If

118079-001 Rev G Page 25 of 101


4.3 USB
The USB interface makes use of a standard ‘command/response’
communications protocol. See section 6.0 for the syntax of the serial
interface protocol.

The USB interface is accessed through a Windows USB Human Interface


driver (HID).

4.3.1 USB Driver Installation


The HID driver is a Windows driver installed with the operating system. To
determine if the driver had been acquired open the System properties
window selecting the Control Panel System Properties.

Figure 16 – System Properties

Then select Device Manager and expand the Human Interface Devices.
View the properties of the USB Human Interface Device icon and verify
that Spellman USB HID appears in the Location section.

118079-001 Rev G Page 26 of 101


Figure 17 – Device Manager showing USB HID

4.3.2 USB and EMI


The USB protocol utilizes a heartbeat signal from each client device back
to the host (PC). If the heartbeat is interrupted due to radiated or
conducted transient noise, it is possible that the host may lose connection
with the client. This can cause problems with data transfers over the USB
cable.

The DXM when used in combination with the HID Windows driver makes it
possible for the host to renumerate the client connection and reestablish
communications. This is providing the control application implements a
method of timeout and retry.

NOTE: If an EMI disruption occurrs the DXM will continue to renumerate


until a connection with the GUI is re-established.

118079-001 Rev G Page 27 of 101


4.3.3 Enabling Communications Objects in Visual Basic for USB
The dynamic link library USB_dll.dll will be provided which needs to be
added to the project. The library has three functions that can be called
from the VB code.

The three functions are:


 FindTheHid – finds the connection with the correct VID, PID and Serial
Number
 WriteReport(str) – Writes a string to the connected HID interface
 ReadReport() – Returns a string from the connected HID interface

4.3.4 Configuring Communications in Visual Basic for USB


To use the USB_dll.dll in VB the following statements are needed.

Dim usb As usbDll


Dim MyDeviceDetected As Boolean

Set usb = New usbDll

Using this statement determines whether a connection is present.

MyDeviceDetected = usb.FindTheHid

If MyDeviceDetected is true then the connection is present.

4.3.5 Software Considerations for USB Reconnection


The following Visual Basic code snippets are presented as a guideline for
implementation with revision C and higher assemblies.

4.3.5.1 Recognize partial, corrupt, or absent data


1: temp2$ = inputInputString
2: If temp2$ <> "" Then
3: btn_UPDATEDATA.Value = False
4: CommStatusFlag = True
5: CommaPos = InStr(Start, temp2$, Comma, vbTextCompare)
6: ' Channel 0
7: On Error GoTo endhere
8: AmbTemp = Mid(temp2$, Start, (CommaPos - Start))

Please note that even though we have guarded against no data, in


line 2, we still need to guard against bad data, in this case no
comma, on line 8. If there is no comma, we wind up passing a
negative value to Mid, which is an error, that we should trap for.

118079-001 Rev G Page 28 of 101


4.3.5.2 Retrieve data only if it exists
1: Do
2: DoEvents
3: If MSComm1.InBufferCount > 0 Then
4: str = str & MSComm1.Input
5: End If
6: Loop Until InStr(str, Chr(3)) Or Timer - t1 > 1
7: 'str = str & MSComm1.Input
8: If InStr(str, Chr(3)) > 0 Then
9: tmrOpenClose.Enabled = False
10: End If

Notice that in line 3 we check for the existence of data before we


extract data from the USB port. Normally, if there is no data, line 4
would append an empty string. However, during a noise event,
retrieving data without first checking the existence of data could
hang.

4.3.5.3 Example Output Routine


Notice that on line 13 we register an error handler in case the port
is invalid because we have closed it in another routine. Notice that
on line 16 we start a timer. When we output data on the port we
start a timer to keep track of incoming data. If we get no incoming
data it means that communications have been interrupted.

1: Private Sub outputOutputString(outputString As String)


2: Dim str As String
3: str = ProcessOutputString(outputString)
4: StatusBar1.Panels(4).Text = "TX: " & str
5: 'StatusBar1.Panels(3).Text = "RX: Waiting"
6: If (portType = "ethernet") Then
7: tcpClient.SendData (str)
8: ElseIf (portType = "USB") Then
9: usb.WriteReport (str)
10: Else
11: MSComm1.InBufferCount = 0
12:
13: On Error GoTo done
14: MSComm1.Output = str
15: done:
16: tmrOpenClose.Enabled = True
17: End If
18: End Sub

118079-001 Rev G Page 29 of 101


4.3.5.4 Example Input Routine
Notice on line 26 we check for data first before extracting data from
the input. Then if we have actual data we turn off the timer.
Otherwise the timer routine toggles the port open/close.

1: Private Function inputInputString() As String


2: Dim str As String
3: Dim t1 As Single
4: Dim temp$

5: Dim stra As String


6: Dim stri(300) As String

7: t1 = Timer
8:
9: If (portType = "ethernet") Then
10: Do
11: DoEvents
12: tcpClient.GetData temp$
13: str = str + temp$
14: Loop Until InStr(str, Chr(3)) Or Timer - t1 > 1
15: On Error Resume Next

16: ElseIf (portType = "USB") Then


17: Do
18: DoEvents
19: stra = usb.ReadReport
20: str = str & stra
21: 'str = str & ReadReport
22: Loop Until InStr(str, Asc(3)) Or Timer - t1 > 0.09

23: Else
24: Do
25: DoEvents
26: If MSComm1.InBufferCount > 0 Then
27: str = str & MSComm1.Input
28: End If
29: Loop Until InStr(str, Chr(3)) Or Timer - t1 > 1
30:
31: If InStr(str, Chr(3)) > 0 Then
32: tmrOpenClose.Enabled = False
33: End If
34:
35: frm_EXTRAS.txt_MSCOMMBUFF.Text = str
36: tmr_COMMWDT.Enabled = True
37: On Error Resume Next

118079-001 Rev G Page 30 of 101


38: End If
39: StatusBar1.Panels(3).Text = "RX: " & str
40: inputInputString = str
41: tmr_RCVTIMER.Enabled = True
42: End Function

4.3.5.5 Example Timer Routine: Toggle Port State


This is the timer routine in which the open/closed state of the port is
toggled. If communications are interrupted, the USB device will re-
register itself with the OS (vendor term: renumeration). Once this
happens, re-opening the port will enable communications. Until the
re-registration happens, open operations will fail. Notice line 5
where we register an error handler.

1:Private Sub tmrOpenClose_Timer()


2: If MSComm1.PortOpen = True Then
3:
4: MSComm1.PortOpen = False
5: On Error GoTo done
6: MSComm1.PortOpen = True
7: done:
8: tmrOpenClose.Enabled = False
9: End If
10:
11: End Sub

4.3.5.6 Example Timer Routine: Port Reconnection


This is another timer routine whose purpose is to turn the port on if
it is off. Notice that in line 8 an error handler is called because if the
device has not re-registered itself with the OS, an error will be
raised.

1: Private Sub tmr_COMMWDT_Timer()


2:
3: tmr_COMMWDT.Enabled = False
4:
5: If CommStatusFlag = True Then
6:
7: If MSComm1.PortOpen = False Then
8: On Error GoTo done
9: MSComm1.PortOpen = True
10: done:
11: End If
12:
13: ElseIf CommStatusFlag = False Then
14:

118079-001 Rev G Page 31 of 101


15: If MSComm1.PortOpen = False Then
16:
17: MSComm1.PortOpen = True
18: Else
19: MSComm1.PortOpen = False
20: End If
21:
22: End If

4.3.5.7 Data Parsing Example


Here we have an example of a code that parses incoming data.
Notice that it makes use of our generic input and output routines.
The important consideration is to gracefully handle corrupted input
data after a noise event. In this case we may get data, so a test
against empty string returns false, but we may not get commas in
the correct place. Notice that we register an error handler on line 26
so that the mid function, which would raise an error when given a
negative number, is handled.

1: Private Sub btn_EMI_Click()


2: Dim temp2$
3: Dim Response1$
4: Dim Response2$
5: Dim number$
6: Dim Comma
7: Dim CommaPos
8: Dim Start
9: Dim ODATA$
10:
11: Comma = ","
12: Start = 5
13:
14: If tmr_RCVTIMER.Enabled = True Then
tmr_RCVTIMER.Enabled = False
15: If tmr_NETRCVTMR.Enabled = True Then
tmr_NETRCVTMR.Enabled = False
16:
17: If AutoUpdate = True Then
18: tmr_UPDATE.Enabled = False
19: End If
20:
21: number$ = "15,"
22: outputOutputString (number$)
23:
24: temp2$ = inputInputString
25: CommaPos = InStr(Start, temp2$, Comma, vbTextCompare)

118079-001 Rev G Page 32 of 101


26: On Error GoTo endhere
27: Response1$ = Mid(temp2$, Start, (CommaPos - Start))
28:
29: 'With a 5v reference:
30: ODATA$ = Format(str(Response1$ * 0.0004884), "0.##0")
31:
32: txt_DACB.Text = ODATA$ + " mA"
33: frm_RAWDATA.txt_RAWDACB.Text = str(Response1$)
34: txt_DACB.BackColor = vbWhite
35: CommStatusFlag = True
36: endhere:
37:
38: If portType = "ethernet" Then
39: tmr_NETRCVTMR.Enabled = True
40: Else
41: tmr_RCVTIMER.Enabled = True
42: End If
43:
44: If AutoUpdate = True Then tmr_UPDATE.Enabled = True
46: End Sub

118079-001 Rev G Page 33 of 101


5.0 ETHERNET COMMANDS

5.1 TCP/IP FORMAT


Each Ethernet command will consist of a TCP/IP header followed by the required
data bytes. Figure 18 summarizes the TCP/IP header configuration. Please note
that this functionality is provided by the software implementation of the Open
Systems Interconnection (OSI) TCP/IP protocol stack, specifically the upper 4
layers.

Byte
0 Protocol Header Type Of Total Length
Version Service
Length
4 Packet ID Flags Fragmentation Offset

8 Time To Live Protocol Header checksum

12 Source Address

16 Destination Address

20 Source Port Destination Port

24 Sequence Number

28 Acknowledgement Number

32 Data Reserved Code Bits Window


Offset
36 Checksum Urgent Pointer

40 Data Byte 1 Data Byte 2 Data Byte 3 Data Byte N

Figure 18: Network TCP/IP datagram header

118079-001 Rev G Page 34 of 101


The format of Data Bytes 1 through N are as follows:

<STX><CMD><,>ARG><,><ETX>

Where:
<STX> = 1 ASCII 0x02 Start of Text character
<CMD> = 2 ASCII characters representing the command ID
<,> = 1 ASCII 0x2C character
<ARG> = Command Argument
<,> = 1 ASCII 0x2C character
<ETX> = 1 ASCII 0x03 End of Text character

5.2 COMMAND ARGUMENTS


The format of the numbers is a variable length string. To represent the number
42, the string ‘42’, ‘042’, or ‘0042’ can be used. This being the case, commands
and responses that carry data are variable in length.

5.3 COMMAND OVERVIEW


Data Byte section of the TCP/IP Datagram
Command Name <CMD> <ARG> RANGE
Program RS-232 07 1 ASCII 1-5
unit baud rate
PROGRAM USER 09 16 ASCII
CONFIGURATION
Program kV 10 1-4 ASCII 0-4095
Program mA 11 1-4 ASCII 0-4095
Program Filament 12 1-4 ASCII 0-4095
Limit
Program Filament 13 1-4 ASCII 0-4095
Pre-Heat
Request kV 14 None -
Setpoint
Request mA 15 None -
Setpoint
Request Filament 16 None -
Limit Setpoint
Request Filament 17 None -
Pre-Heat Setpoint
Request Analog 19 None -
Monitor
Readbacks
-
Request HV On 21 None -
Hours Counter

118079-001 Rev G Page 35 of 101


Request Status 22 None -
Request Software 23 None -
Version
Request Hardware 24 None -
Version
Request User 27 None
Configuration
Reset HV On 30 None -
Hours Counter
Reset Faults 31 None -
Request kV 60 None -
monitor
Request mA 61 None -
monitor
Request Filament 62 None -
Feedback
Request Filament 63 None -
Limit
Request Filament 64 None -
Pre-Heat
Request –15V 65 None -
LVPS
-

Program 99 1 ASCII 0 or 1
Local/Remote
Mode

118079-001 Rev G Page 36 of 101


5.4 RESPONSE OVERVIEW
The command responses will follow the same network TCP/IP header format as
outlined above in section 5.1. This list is comprised of Commands with complex
responses only. Commands using a simple response will use the <$> character
(ASCII 0x24) as a “Success” response or a single character error code. These
will be seven ASCII characters in length.

Response Name <CMD> Response


Request kV 14 10 ASCII
Setpoint
Request mA 15 10 ASCII
Setpoint
Request Filament 16 10 ASCII
Limit Setpoint
Request Filament 17 10 ASCII
Pre-Heat Setpoint
Request Analog 19 23-50
Monitor ASCII
Readbacks
Request Total 21 13 ASCII
Hours High
Voltage On
Request Status 22 11 ASCII
Request DSP 23 17 ASCII
Software Version
Request Hardware 24 9 ASCII
Version
Request User 27 16 ASCII
Configuration
Read Interlock 55 11 ASCII
Status
Request kV 60 7-10
monitor ASCII
Request mA 61 7-10
monitor ASCII
Request Filament 62 7-10
Feedback ASCII
Request –15V 65 7-10
LVPS ASCII
Request Faults 68 6 ASCII

118079-001 Rev G Page 37 of 101


5.5 COMMAND STRUCTURE
5.5.1 Program kV
Description:
The host requests that the firmware change the setpoint of kV.

Direction:
Host to supply

Syntax:
<STX><10><,><ARG><,><ETX>

Where:
<ARG> = 0 - 4095 in ASCII format

Example:
<STX>10,4095,<ETX>

Response:
<STX><10><,><$><,><ETX>
<STX><10><,><ARG><,><ETX>

where <ARG> = error code

Error Codes TBD, 1 = out of range

118079-001 Rev G Page 38 of 101


5.5.2 Program mA
Description:
The host requests that the firmware change the setpoint of mA.

Direction:
Host to supply

Syntax:
<STX><11><,><ARG><,><ETX>

Where:
<ARG> = 0 - 4095 in ASCII format

Example:
<STX>11,4095,<ETX>

Response:
<STX><11><,><$><,><ETX>
<STX><11><,><ARG><,><ETX>

where <ARG> = error code

Error Codes TBD, 1 = out of range

118079-001 Rev G Page 39 of 101


5.5.3 Program Filament Limit
Description:
The host requests that the firmware change the setpoint of Filament Limit.

Direction:
Host to supply

Syntax:
<STX><12><,><ARG><,><ETX>

Where:
<ARG> = 0 - 4095 in ASCII format

Example:
<STX>12,4095,<ETX>

Response:
<STX><12><,><$><,><ETX>
<STX><12><,><ARG><,><ETX>

where <ARG> = error code

Error Codes TBD, 1 = out of range

Standard Scaling(0 – 4095 = 0 – 5 amps)

118079-001 Rev G Page 40 of 101


5.5.4 Program Filament Pre-Heat
Description:
The host requests that the firmware change the setpoint of Filament Pre-
Heat.

Direction:
Host to supply

Syntax:
<STX><13><,><ARG><,><ETX>

Where:
<ARG> = 0 - 4095 in ASCII format

Example:
<STX>13,4095,<ETX>

Response:
<STX><13><,><$><,><ETX>
<STX><13><,><ARG><,><ETX>

where <ARG> = error code

Error Codes TBD, 1 = out of range

Standard Scaling(0 – 4095 = 0 – 2.5 amps)

118079-001 Rev G Page 41 of 101


5.5.5 Request kV Setpoint
Description:
The host requests that the firmware report the kV setpoint.

Direction:
Host to supply

Syntax:
<STX><14><,><ETX>

Response:
<STX><14><,><ARG><,><ETX>

Where:
<ARG> = 0 - 4095 in ASCII format

Example:
<STX>14,4095,<ETX>

118079-001 Rev G Page 42 of 101


5.5.6 Request mA Setpoint
Description:
The host requests that the firmware report the current mA setpoint.

Direction:
Host to supply

Syntax:
<STX><15><,><ETX>

Response:
<STX><15><,><ARG><,><ETX>

Where:
<ARG> = 0 - 4095 in ASCII format

Example:
<STX>15,4095,<ETX>

118079-001 Rev G Page 43 of 101


5.5.7 Request Filament Limit Setpoint
Description:
The host requests that the firmware report the current Filament Limit
setpoint.

Direction:
Host to supply

Syntax:
<STX><16><,><ETX>

Response:
<STX><16><,><ARG><,><ETX>

Where:
<ARG> = 0 - 4095 in ASCII format

Example:
<STX>16,4095,<ETX>

118079-001 Rev G Page 44 of 101


5.5.8 Request Filament Pre-Heat Setpoint
Description:
The host requests that the firmware report the current Filament Pre-Heat
setpoint.

Direction:
Host to supply

Syntax:
<STX><17><,><ETX>

Response:
<STX><17><,><ARG><,><ETX>

Where:
<ARG> = 0 - 4095 in ASCII format

Example:
<STX>17,4095,<ETX>

118079-001 Rev G Page 45 of 101


5.5.9 Request Analog Monitor Readbacks
Description:
The host requests that the firmware transmit the present values of Analog
Monitor Readbacks.

Direction:
Host to supply

Syntax:
<STX><19><,><ETX>

Example:
<STX><19>,<ETX>

Response:
<STX><19><,><ARG1><,><ARG2><,><ARG3><,><ETX>

Where:
ARG1 = kV monitor = 0 – 4095
ARG2 = mA monitor = 0 – 4095
ARG3 = Filament monitor = 0– 4095

Example:
<STX><19>,4095,4095,4095,<ETX>

118079-001 Rev G Page 46 of 101


5.5.10 Request Total Hours High Voltage On
Description:
The host requests that the firmware sends the present value of the Total
Hours High Voltage On.

Direction:
Host to supply

Syntax:
<STX><21><,><ETX>

Example:
<STX>21,<ETX>

Response:
<STX><21><,><ARG1>< ARG2>< ARG3><ARG4><ARG5>
<.><ARG6><,><ETX>

Where:
<.> = ASCII 0x2E
ARGx =0-9 in ASCII format

Example:
<STX>21,99999.9,<ETX>

118079-001 Rev G Page 47 of 101


5.5.11 Request Status
Description:
The host requests that the firmware sends the power supply status.

Direction:
Host to supply

Syntax:
<STX><22><,><ETX>

Example:
<STX>22,<ETX>

Response:
<STX><22><,><ARG1><,><ARG2><,><ARG3><,><ARG4><,><,><ETX>

Where:
<ARG1> 1 = HvOn, 0 = HvOff
<ARG2> 1 = Interlock 1 Open, 0 = Interlock 1 Closed
<ARG3> 1 = Fault Condition, 0 = No Fault
<ARG4> 1 = Remote Mode, 0 = Local Mode

Example:
<STX>22,1,1,0,0,<ETX>

NOTE: This response will also be sent in an unsolicited manner when a


change of state is detected on the HvOn and Interlock 1 bits. This is
providing that a valid handle has already been established with a host.

118079-001 Rev G Page 48 of 101


5.5.12 Request DSP Software Part Number/Version
Description:
The host requests that the firmware sends the DSP firmware version.

Direction:
Host to supply

Syntax:
<STX><23><,><ETX>

Example:
<STX>23,<STX>

Response:
<STX><23><,>< ARG><,><ETX>

Where:
<ARG> consists of eleven ASCII characters representing the current
firmware part number/version. The format is SWM9999-999

Example:
<STX>23,SWM9999-999,<ETX>

118079-001 Rev G Page 49 of 101


5.5.13 Request Hardware Version
Description:
The host requests that the firmware sends the hardware version.

Direction:
Host to supply

Syntax:
<STX><24><,><ETX>

Example:
<STX>24,<ETX>

Response:
<STX><24><,>< ARG><,><ETX>

Where:
<ARG> consists of 3 ASCII characters representing the hardware version.
The format is ANN, where A is an alpha character and N is a numeric
character

Example:
<STX>24,A01,<ETX>

118079-001 Rev G Page 50 of 101


5.5.14 Reset Run Hours
Description:
The host requests that the firmware resets the run hour counter.

Direction:
Host to supply

Syntax:
<STX><30><,><ETX>

Example:
<STX>30,<ETX>

Response:
<STX><30><,><$><,><ETX>

118079-001 Rev G Page 51 of 101


5.5.15 Reset Faults
Description:
The host requests that the firmware resets all Fault messages and
indicators.

Direction:
Host to supply

Syntax:
<STX><31><,><ETX>

Example:
<STX>31,<ETX>

Response:
<STX><31><,><$><,><ETX>

118079-001 Rev G Page 52 of 101


5.5.16 Read Interlock Status
Description:
The host requests that the firmware read the status of the interlock
channel.

Direction:
Host to supply

Syntax:
<STX><55><,><ETX>

Response:
<STX><55><,><ARG1><,><ETX>
Where ARG1 is Interlocks 1. A 1 indicates that the Interlock is energized

Example:
<STX>55,1,<ETX>

118079-001 Rev G Page 53 of 101


5.5.17 Request kV Monitor

Description:
The host requests that the firmware report kV monitor.

Direction:
Host to supply

Syntax:
<STX><60><,><ETX>

Response:
<STX><60><,><ARG><,><ETX>

Where:
<ARG>=0-4095 in ASCII format representing unscaled value.

Example:
<STX>60,4095,<ETX>

118079-001 Rev G Page 54 of 101


5.5.18 Request mA Monitor
Description:
The host requests that the firmware report mA monitor.

Direction:
Host to supply

Syntax:
<STX><61><,><ETX>

Response:
<STX><61><,><ARG><,><ETX>

Where:
<ARG>=0-4095 in ASCII format representing unscaled value.

Example:
<STX>61,4095,<ETX>

118079-001 Rev G Page 55 of 101


5.5.19 Request Filament Feedback
Description:
The host requests that the firmware report Filament Feedback.

Direction:
Host to supply

Syntax:
<STX><62><,><ETX>

Response:
<STX><62><,><ARG><,><ETX>

Where:
<ARG>=0-4095 in ASCII format representing unscaled value.

Example:
<STX>62,4095,<ETX>

118079-001 Rev G Page 56 of 101


5.5.20 Request –15V LVPS
Description:
The host requests that the firmware report –15V LVPS.

Direction:
Host to supply

Syntax:
<STX><65><,><ETX>

Response:
<STX><65><,><ARG><,><ETX>

Where:
<ARG>=0-4095 in ASCII format representing unscaled value.

Example:
<STX>65,4095,<ETX>

118079-001 Rev G Page 57 of 101


5.5. 21 Request Faults
Description:
The host requests that the firmware report Faults.

Direction:
Host to supply

Syntax:
<STX><68><,><ETX>

Response:
<STX><68><,><ARG1><,><ARG2><,><ARG3><,><ARG4><,><ARG5><,
><ARG6><,><ETX>

Where:
<ARGx> 1 = Fault, 0 = No Fault in ASCII format

ARG1 = ARC
ARG2 = Over Temperature
ARG3 = Over Voltage
ARG4 = Under Voltage
ARG5 = Over Current
ARG6 = Under Current

Example:
<STX>67,0,0,0,0,1,0,<ETX>

118079-001 Rev G Page 58 of 101


5.5.22 Turn HV on/off

Description:
The host requests that the firmware turn high voltage on or high voltage
off.

Direction:
Host to supply

Syntax:
<STX><98><,><ARG><,><ETX>

Where:
<ARG> 1 = HV on, 0 = HV off in ASCII format

Example:
<STX>98,1,<ETX>

Response:
<STX><98><,><$><,><ETX>
<STX><98><,><ARG><,><ETX>

where <ARG> = error code

Error Codes TBD,


1 = out of range

118079-001 Rev G Page 59 of 101


5.5.23 Program Local/Remote Mode
Description:
The host requests that the firmware to switch between Local and Remote
Mode.

Direction:
Host to supply

Syntax:
<STX><99><,><ARG><,><ETX>

Where:
<ARG> 1 = Remote, 0 = Local in ASCII format

Example:
<STX>99,1,<ETX>

Response:
<STX><99><,><$><,><ETX>
<STX><99><,><ARG><,><ETX>

where <ARG> = error code

Error Codes TBD,


1 = out of range

118079-001 Rev G Page 60 of 101


5.5.24 Program RS-232 Baud rate
Description:
The host requests that the firmware change the Baud rate for RS-232.

Direction:
Host to supply

Syntax:
<STX><07><,><ARG><,><ETX>

Where:
<ARG> 1 = 9.6k in ASCII format
<ARG> 2 = 19.2k in ASCII format
<ARG> 3 = 38.4k in ASCII format
<ARG> 4 = 57.6k in ASCII format
<ARG> 5 = 115.2k in ASCII format

Example:
<STX>07,1,><ETX>

Response:
<STX><07><,><$><,><CSUM><ETX>
<STX><07><,><ARG><,><CSUM><ETX>

where <ARG> = error code

Error Codes TBD,


1 = out of range

118079-001 Rev G Page 61 of 101


5.5.25 Program User Configuration( Controlled Ramping and Arc
Fault Control)
Description:
The User Configuration command is used to update the user configurable
items of the DXM.

Direction:
Host to supply

Syntax:
<STX><0><9><,><ARG1><,><ARG2><,><ARG3><,><ARG4><,>
<ARG5><,><ARG6><,><ARG7><,><ARG8><,><ARG9><,><ARG10><,>
<ARG11><,><ARG12><,><ARG13><,><ARG14><,><ARG15><,><ARG1
6><,><ETX>

118079-001 Rev G Page 62 of 101


Where:
Argument Description
Number
ARG1 kV Ramp Time. Adjustable between 1 to
20 seconds. Units are tenths of second.

ARG2 Filament Ramp time (MSB). Adjustable


from 0.5 to 30 seconds. Units are tenths of
second. Most significant byte
ARG3 Filament ramp time (LSB). Least
significant byte
ARG4 mA Ramp Time. Adjustable from 0.5 to 5
seconds. Units are tenths of seconds.
ARG5 Minimum filament emission. Adjustable
from5% to 50% of full scale kV output
ARG6 Arc count. Number of arcs allowed before
shutting down supply. Adjustable from 2 to
10 arcs.

ARG7 Arc period. If the number of arcs


programmed (ARG6) is found during this
period of time, supply will shut down.
Adjustable from 10 to 20 seconds
ARG8 Arc Quench time (MSB). Adjustable from
50 to 300 milliseconds. Units are
milliseconds. Most significant byte
ARG9 Arc Quench time (LSB). Least significant
byte
ARG10 Arc re-ramp. After the quench period is
completed, kV and mA will re-ramp to
programmed values in 100 milliseconds.
1: Disable
0: Enable

ARG11 Enable ramp control.


1: Enable
0: Disable

ARG12 Enable arc control


1: Enable
0: Disable

ARG13 Enable set point ramp. After ramp is


complete, kV and mA will ramp up or down
during any set point change.
1: Enable

118079-001 Rev G Page 63 of 101


0: Disable

ARG14 mA Ramp hold time (MSB). Time delay,


after kV ramp is completed, before mA
ramp starts. Adjustable from 1 to 30
seconds. Units are tenths of seconds.
Most significant byte
ARG15 mA Ramp hold time (LSB). Least
significant byte
ARG16 Remote programming enable. If enabled,
the unit will default to Remote
programming mode upon power up.
1: Remote mode enable
0: Remote mode disable

Example:
Sending this command will set the user configurable items as follows:

<STX>09,50,1,44,50,30,4,10,0,150,0,1,1,0,0,50,1, ><ETX>

<ARG 1> kV Ramp time = 5 seconds.


<ARG 2> Filament Ramp time MSB = 1
<ARG 3> Filament Ramp time LSB = 44
1x256 + 44 = 300, equivalent to 30 seconds
<ARG 4> mA Ramp Rate = 5 seconds.
<ARG 5> Minimum filament emission = 30%
<ARG 6> Arc count = 4
<ARG 7> Arc time period = 10 seconds
<ARG 8> Arc Quench time MSB = 0
<ARG 9> Arc Quench time LSB = 150
0x256 + 150 = 150 milliseconds
<ARG 10> Arc re-ramp = 0, Enable
<ARG 11> Ramp control = 1, Enabled
<ARG 12> Arc Control = 1, Enabled
<ARG 13> Set point ramp = 1, Enabled
<ARG14> mA ramp hold off time MSB = 0
<ARG15> mA ramp hold off time LSB = 50
0x256 + 50 = 50 equivalent to 5 seconds
<ARG16> Remote programming enable = 1, Enabled

Response:
<STX><0><9><,><$><,><ETX>

118079-001 Rev G Page 64 of 101


5.5.26 Request User Configuration( Controlled Ramping and Arc
Fault Control)
Description:

This command returns the current user configuration parameters.

syntax
<STX><2><7><,><$><,><ETX>

Response:
<STX><2><7><,><ARG1><,><ARG2><,><ARG3><,><ARG4><,>
<ARG5><,><ARG6><,><ARG7><,><ARG8><,><ARG9><,><ARG10><,>
<ARG11><,><ARG12><,><ARG13><,><ARG14><,><ARG15><,><ARG1
6><,><ETX>

Where:

Argument Number Description


ARG1 kV Ramp Time. Units are tenths of second.

ARG2 Filament Ramp time (MSB). Units are tenths of second. Most
significant byte
ARG3 Filament ramp time (LSB). Least significant byte
ARG4 mA Ramp Time. Units are tenths of seconds.
ARG5 Minimum filament emission. Adjustable from5% to 50% of full
scale kV output
ARG6 Arc count.

ARG7 Arc period in seconds


ARG8 Arc Quench time (MSB). Units are milliseconds. Most significant
byte
ARG9 Arc Quench time (LSB). Least significant byte
ARG10 Arc re‐ramp in 100 milliseconds.
1: Disabled
0: Enabled

ARG11 Enable ramp control.


1: Enabled
0: Disabled

ARG12 Enable arc control


1: Enabled
0: Disabled

ARG13 Enable set point ramp.

118079-001 Rev G Page 65 of 101


1: Enabled
0: Disabled

ARG14 mA Ramp hold time (MSB). Units are tenths of seconds. Most
significant byte
ARG15 mA Ramp hold time (LSB). Least significant byte
ARG16 Remote programming enable.
1: Remote mode enable
0: Remote mode disable

118079-001 Rev G Page 66 of 101


6.0 SERIAL COMMANDS – RS-232 / USB
6.1 SERIAL INTERFACE PROTOCOL
Serial communications will use the following protocol:

<STX><CMD><,>ARG><,><CSUM><ETX>

Where:
<STX> = 1 ASCII 0x02 Start of Text character
<CMD> = 2 ASCII characters representing the command ID
<,> = 1 ASCII 0x2C character
<ARG> = Command Argument
<,> = 1 ASCII 0x2C character
<CSUM> = Checksum (see section 6.3 for details)
<ETX> = 1 ASCII 0x03 End of Text character

6.2 COMMAND ARGUMENTS


The format of the numbers is a variable length string. To represent the number
42, the string ‘42’, ‘042’, or ‘0042’ can be used. This being the case, commands
and responses that carry data are variable in length.

6.3 CHECKSUMS
The checksum is computed as follows:
 Add the <CMD>, <,>, and <ARG> bytes into a 16 bit (or larger) word.
The bytes are added as unsigned integers.
 Take the 2’s compliment (negate it).
 Truncate the result down to the eight least significant bits.
 Clear the most significant bit (bit 7) of the resultant byte, (bitwise AND with
0x7F).
 Set the next most significant bit (bit 6) of the resultant byte (bitwise OR
with 0x40).
Using this method, the checksum is always a number between 0x40 and 0x7F.
The checksum can never be confused with the <STX> or <ETX> control
characters, since these have non-overlapping ASCII values.

If the DSP detects a checksum error, the received message is ignored – no


acknowledge or data is sent back to the host. A timeout will act as an implied
NACK.

The following is sample code, written in Visual Basic, for the generation of
checksums:

118079-001 Rev G Page 67 of 101


Public Function ProcessOutputString(outputString As String) As String

Dim i As Integer
Dim CSb1 As Integer
Dim CSb2 As Integer
Dim CSb3 As Integer
Dim CSb$
Dim X

X=0
For i = 1 To (Len(outputString)) 'Starting with the CMD character
X = X + Asc(Mid(outputString, i, 1)) 'adds ascii values together
Next i

CSb1 = 256 - X
CSb2 = 127 And (CSb1) 'Twos Complement
CSb3 = 64 Or (CSb2) 'OR 0x40
CSb$ = Chr(Val("&H" & (Hex(CSb3))))
ProcessOutputString = Chr(2) & outputString & CSb$ & Chr(3)

End Function

118079-001 Rev G Page 68 of 101


6.4 COMMAND OVERVIEW
Data Byte section of the TCP/IP Datagram
Command Name <CMD> <ARG> RANGE
Program RS-232 07 1 ASCII 1-5
unit baud rate
PROGRAM USER 09 16 ASCII
CONFIGURATION
Program mA 11 1-4 ASCII 0-4095
Program Filament 12 1-4 ASCII 0-4095
Limit
Program Filament 13 1-4 ASCII 0-4095
Pre-Heat
Request kV 14 None -
Setpoint
Request mA 15 None -
Setpoint
Request Filament 16 None -
Limit Setpoint
Request Filament 17 None -
Pre-Heat Setpoint
Request Analog 19 None -
Monitor
Readbacks
-
Request HV On 21 None -
Hours Counter
Request Status 22 None -
Request Software 23 None -
Version
Request Hardware 24 None -
Version
Request Model 26 None -
Number
Request User 27 None
Configuration
Reset HV On 30 None -
Hours Counter
Reset Faults 31 None -
Read Interlock 55 None -
Status
Request kV 60 None -
monitor
Request mA 61 None -
monitor

118079-001 Rev G Page 69 of 101


Request Filament 62 None -
Feedback
Request Filament 63 None -
Limit
Request Filament 64 None -
Pre-Heat
Request –15V 65 None -
LVPS

Turn HV on/off 98 1 ASCII 0 or 1

Program 99 1 ASCII 0 or 1
Local/Remote
Mode

6.5 RESPONSE OVERVIEW


The command responses will follow the same format as outlined above in
section 6.1. This list is comprised of Commands with complex responses
only. Commands using a simple response will use the <$> character
(ASCII 0x24) as a “Success” response or a single character error code.
These responses will be eight ASCII characters in length.

Response Name <CMD> Response


Request kV 14 10 ASCII
Setpoint
Request mA 15 10 ASCII
Setpoint
Request Filament 16 10 ASCII
Limit Setpoint
Request Filament 17 10 ASCII
Pre-Heat Setpoint
Request Analog 19 23-50
Monitor ASCII
Readbacks
Request Total 21 13 ASCII
Hours High
Voltage On
Request Status 22 11 ASCII
Request DSP 23 17 ASCII
Software Version
Request Hardware 24 9 ASCII
Version

118079-001 Rev G Page 70 of 101


Request Model 26 11 ASCII
number
Request User 27 16 ASCII
Configuration
Read Interlock 55 11 ASCII
Status
Request kV 60 7-10
monitor ASCII
Request mA 61 7-10
monitor ASCII
Request Filament 62 7-10
Feedback ASCII
Request –15V 65 7-10
LVPS ASCII
Request Faults 68 6 ASCII

118079-001 Rev G Page 71 of 101


6.6 COMMAND STRUCTURE
6.6.1 Program kV
Description:
The host requests that the firmware change the setpoint of kV.

Direction:
Host to supply

Syntax:
<STX><10><,><ARG><,><CSUM><ETX>

Where:
<ARG> = 0 - 4095 in ASCII format

Example:
<STX>10,4095,<CSUM><ETX>

Response:
<STX><10><,><$><,><CSUM><ETX>
<STX><10><,><ARG><,><CSUM><ETX>

where <ARG> = error code

Error Codes TBD, 1=out of range

118079-001 Rev G Page 72 of 101


6.6.2 Program mA
Description:
The host requests that the firmware change the setpoint of mA.

Direction:
Host to supply

Syntax:
<STX><11><,><ARG><,><CSUM><ETX>

Where:
<ARG> = 0 - 4095 in ASCII format

Example:
<STX>11,4095,<CSUM><ETX>

Response:
<STX><11><,><$><,><CSUM><ETX>
<STX><11><,><ARG><,><CSUM><ETX>

where <ARG> = error code

Error Codes TBD, 1=out of range

118079-001 Rev G Page 73 of 101


6.6.3 Program Filament Limit
Description:
The host requests that the firmware change the setpoint of Filament Limit.

Direction:
Host to supply

Syntax:
<STX><12><,><ARG><,><CSUM><ETX>

Where:
<ARG> = 0 - 4095 in ASCII format

Example:
<STX>12,4095,<CSUM><ETX>

Response:
<STX><12><,><$><,><CSUM><ETX>
<STX><12><,><ARG><,><CSUM><ETX>

where <ARG> = error code

Error Codes TBD, 1 = out of range

118079-001 Rev G Page 74 of 101


6.6.4 Program Filament Pre-Heat
Description:
The host requests that the firmware change the setpoint of Filament Pre-
Heat.

Direction:
Host to supply

Syntax:
<STX><13><,><ARG><,><CSUM><ETX>

Where:
<ARG> = 0 - 4095 in ASCII format

Example:
<STX>13,4095,<CSUM><ETX>

Response:
<STX><13><,><$><,><CSUM><ETX>
<STX><13><,><ARG><,><CSUM><ETX>

where <ARG> = error code

Error Codes TBD, 1 = out of range

118079-001 Rev G Page 75 of 101


6.6.5 Request kV Setpoint
Description:
The host requests that the firmware report the kV setpoint.

Direction:
Host to supply

Syntax:
<STX><14><,><CSUM><ETX>

Response:
<STX><14><,><ARG><,><CSUM><ETX>

Where:
<ARG> = 0 - 4095 in ASCII format

Example:
<STX>14,4095,<CSUM><ETX>

118079-001 Rev G Page 76 of 101


6.6.6 Request mA Setpoint
Description:
The host requests that the firmware report the current mA setpoint.

Direction:
Host to supply

Syntax:
<STX><15><,><CSUM><ETX>

Response:
<STX><15><,><ARG><,><CSUM><ETX>

Where:
<ARG> = 0 - 4095 in ASCII format

Example:
<STX>15,4095,<CSUM><ETX>

118079-001 Rev G Page 77 of 101


6.6.7 Request Filament Limit Setpoint
Description:
The host requests that the firmware report the current Filament Limit
setpoint.

Direction:
Host to supply

Syntax:
<STX><16><,><CSUM><ETX>

Response:
<STX><16><,><ARG><,><CSUM><ETX>

Where:
<ARG> = 0 - 4095 in ASCII format

Example:
<STX>16,4095,<CSUM><ETX>

118079-001 Rev G Page 78 of 101


6.6.8 Request Filament Pre-Heat Setpoint
Description:
The host requests that the firmware report the current Filament Pre-Heat
setpoint.

Direction:
Host to supply

Syntax:
<STX><17><,><CSUM><ETX>

Response:
<STX><17><,><ARG><,><CSUM><ETX>

Where:
<ARG> = 0 - 4095 in ASCII format

Example:
<STX>17,4095,<CSUM><ETX>

118079-001 Rev G Page 79 of 101


6.6.9 Request Total Hours High Voltage On
Description:
The host requests that the firmware sends the present value of the Total
Hours High Voltage On.

Direction:
Host to supply

Syntax:
<STX><21><,><CSUM><ETX>

Example:
<STX>21,<CSUM><ETX>

Response:
<STX><21><,><ARG1>< ARG2>< ARG3><ARG4><ARG5>
<.><ARG6><,><CSUM><ETX>

Where:
<.> = ASCII 0x2E
ARGx = 0 - 9 in ASCII format

Example:
<STX>21,99999.9,<CSUM><ETX>

118079-001 Rev G Page 80 of 101


6.6.10 Request Status
Description:
The host requests that the firmware sends the power supply status.

Direction:
Host to supply

Syntax:
<STX><22><,><CSUM><ETX>

Example:
<STX>22,<CSUM><ETX>

Response:
<STX><22><,><ARG1><,><ARG2><,><ARG3><,><ARG4><,><CSUM><
ETX>

Where:
<ARG1> 1 = HvOn, 0 = HvOff
<ARG2> 1 = Interlock 1 Open, 0 = Interlock 1 Closed
<ARG3> 1 = Fault Condition, 0 = No Fault
<ARG4> 1 = Remote Mode, 0 = Local Mode

Example:
<STX>22,1,1,0,0,<CSUM><ETX>

NOTE: This response will also be sent in an unsolicited manner when a


change of state is detected on the HvOn and Interlock 1 bits.

118079-001 Rev G Page 81 of 101


6.6.11 Request DSP Software Part Number/Version
Description:
The host requests that the firmware sends the DSP firmware version.

Direction:
Host to supply

Syntax:
<STX><23><,><CSUM><ETX>

Example:
<STX>23,<CSUM><STX>

Response:
<STX><23><,>< ARG><,><CSUM><ETX>

Where:
<ARG> consists of eleven ASCII characters representing the current
firmware part number/version. The format is SWM9999-999

Example:
<STX>23,SWM9999-999,<CSUM><ETX>

118079-001 Rev G Page 82 of 101


6.6.12 Request Hardware Version
Description:
The host requests that the firmware sends the hardware version.

Direction:
Host to supply

Syntax:
<STX><24><,><CSUM><ETX>

Example:
<STX>24,<CSUM><ETX>

Response:
<STX><24><,>< ARG><,><CSUM><ETX>

Where:
<ARG> consists of 3 ASCII characters representing the hardware version.
The format is ANN, where A is an alpha character and N is a numeric
character

Example:
<STX>24,A01,<CSUM><ETX>

118079-001 Rev G Page 83 of 101


6.6.13 Request Model Number
Description:
The host requests that the firmware sends the unit model number

Direction:
Host to supply

Syntax:
<STX><26><,><CSUM><ETX>

Example:
<STX>26,<CSUM><ETX>

Response:
<STX><26><,><ARG><,><CSUM><ETX>

Where:
<ARG> consists of five ASCII characters representing the model number.
The format is XNNNN or DXMNN, where N is a numeric character. See
section 7.0 for model number codes.

Example:
<STX>25,X9999,<CSUM><ETX>

118079-001 Rev G Page 84 of 101


6.6.14 Reset Run Hours
Description:
The host requests that the firmware resets the run hour counter.

Direction:
Host to supply

Syntax:
<STX><30><,><CSUM><ETX>

Example:
<STX>30,<CSUM><ETX>

Response:
<STX><30><,><$><,><CSUM><ETX>

118079-001 Rev G Page 85 of 101


6.6.15 Reset Faults
Description:
The host requests that the firmware resets all Fault messages and
indicators.

Direction:
Host to supply

Syntax:
<STX><31><,><CSUM><ETX>

Example:
<STX>31,<CSUM><ETX>

Response:
<STX><31><,><$><,><CSUM><ETX>

118079-001 Rev G Page 86 of 101


6.6.16 Read Interlock Status
Description:
The host requests that the firmware read the status of the interlock
channel.

Direction:
Host to supply

Syntax:
<STX><55><,><CSUM><ETX>

Response:
<STX><55><,><ARG1><,><CSUM><ETX>
Where ARG1 is Interlocks 1. A 1 indicates that the Interlock is energized

Example:
<STX>55,1,<CSUM><ETX>

118079-001 Rev G Page 87 of 101


6.6.17 Request kV Monitor
Description:
The host requests that the firmware report kV monitor.

Direction:
Host to supply

Syntax:
<STX><60><,><CSUM><ETX>

Response:
<STX><60><,><ARG><,><CSUM><ETX>

Where:
<ARG>=0-4095 in ASCII format representing unscaled value.

Example:
<STX>60,4095,<CSUM><ETX>

118079-001 Rev G Page 88 of 101


6.6.18 Request mA Monitor
Description:
The host requests that the firmware report mA monitor.

Direction:
Host to supply

Syntax:
<STX><61><,><CSUM><ETX>

Response:
<STX><61><,><ARG><,><CSUM><ETX>

Where:
<ARG>=0-4095 in ASCII format representing unscaled value.

Example:
<STX>61,4095,<CSUM><ETX>

118079-001 Rev G Page 89 of 101


6.6.19 Request Filament Feedback
Description:
The host requests that the firmware report Filament Feedback.

Direction:
Host to supply

Syntax:
<STX><62><,><CSUM><ETX>

Response:
<STX><62><,><ARG><,><CSUM><ETX>

Where:
<ARG>=0-4095 in ASCII format representing unscaled value.

Example:
<STX>62,4095, <CSUM><ETX>

118079-001 Rev G Page 90 of 101


6.6.20 Request –15V LVPS
Description:
The host requests that the firmware report –15V LVPS.

Direction:
Host to supply

Syntax:
<STX><65><,><CSUM><ETX>

Response:
<STX><65><,><ARG><,><CSUM><ETX>

Where:
<ARG>=0-4095 in ASCII format representing unscaled value.

Example:
<STX>65,4095,<CSUM><ETX>

118079-001 Rev G Page 91 of 101


6.6.21 Request Faults
Description:
The host requests that the firmware report Faults.

Direction:
Host to supply

Syntax:
<STX><68><,><CSUM><ETX>

Response:
<STX><68><,><ARG1><,><ARG2><,><ARG3><,><ARG4><,><ARG5><,
><ARG6><,><CSUM><ETX>

Where:
<ARGx> 1 = Fault, 0 = No Fault in ASCII format

ARG1 = ARC
ARG2 = Over Temperature
ARG3 = Over Voltage
ARG4 = Under Voltage
ARG5 = Over Current
ARG6 = Under Current

Example:
<STX>67,0,0,0,0,1,0,<CSUM><ETX>

118079-001 Rev G Page 92 of 101


6.6.22 Program Local/Remote Mode
Description:
The host requests that the firmware to switch between Local and Remote
Mode.

Direction:
Host to supply

Syntax:
<STX><99><,><ARG><,><CSUM><ETX>

Where:
<ARG> 1 = Remote, 0 = Local in ASCII format

Example:
<STX>99,1,<CSUM><ETX>

Response:
<STX><99><,><$><,><CSUM><ETX>
<STX><99><,><ARG><,><CSUM><ETX>

where <ARG> = error code

Error Codes TBD,


1 = out of range

118079-001 Rev G Page 93 of 101


6.6.23 Program RS-232 Baud rate
Description:
The host requests that the firmware change the Baud rate for RS-232.

Direction:
Host to supply

Syntax:
<STX><07><,><ARG><,><CSUM><ETX>

Where:
<ARG> 1 = 9.6k in ASCII format
<ARG> 2 = 19.2k in ASCII format
<ARG> 3 = 38.4k in ASCII format
<ARG> 4 = 57.6k in ASCII format
<ARG> 5 = 115.2k in ASCII format

Example:
<STX>07,1,<CSUM><ETX>

Response:
<STX><07><,><$><,><CSUM><ETX>
<STX><07><,><ARG><,><CSUM><ETX>

where <ARG> = error code

Error Codes TBD,


1 = out of range

118079-001 Rev G Page 94 of 101


6.6.24 Program User Configuration( Controlled Ramping and Arc
Fault Control)
Description:
The User Configuration command is used to update the user configurable
items of the DXM.

Direction:
Host to supply

Syntax:
<STX><0><9><,><ARG1><,><ARG2><,><ARG3><,><ARG4><,>
<ARG5><,><ARG6><,><ARG7><,><ARG8><,><ARG9><,><ARG10><,>
<ARG11><,><ARG12><,><ARG13><,><ARG14><,><ARG15><,><ARG1
6><,><CSUM><ETX>

Where:
Argument Description
Number
ARG1 kV Ramp Time. Adjustable between 1 to
20 seconds. Units are tenths of second.

ARG2 Filament Ramp time (MSB). Adjustable


from 0.5 to 30 seconds. Units are tenths of
second. Most significant byte
ARG3 Filament ramp time (LSB). Least
significant byte
ARG4 mA Ramp Time. Adjustable from 0.5 to 5
seconds. Units are tenths of seconds.
ARG5 Minimum filament emission. Adjustable
from5% to 50% of full scale kV output
ARG6 Arc count. Number of arcs allowed before
shutting down supply. Adjustable from 2 to
10 arcs.

ARG7 Arc period. If the number of arcs


programmed (ARG6) is found during this
period of time, supply will shut down.
Adjustable from 10 to 20 seconds
ARG8 Arc Quench time (MSB). Adjustable from
50 to 300 milliseconds. Units are
milliseconds. Most significant byte
ARG9 Arc Quench time (LSB). Least significant
byte
ARG10 Arc re-ramp. After the quench period is
completed, kV and mA will re-ramp to

118079-001 Rev G Page 95 of 101


programmed values in 100 milliseconds.
1: Disable
0: Enable

ARG11 Enable ramp control.


1: Enable
0: Disable

ARG12 Enable arc control


1: Enable
0: Disable

ARG13 Enable set point ramp. After ramp is


complete, kV and mA will ramp up or down
during any set point change.
1: Enable
0: Disable

ARG14 mA Ramp hold time (MSB). Time delay,


after kV ramp is completed, before mA
ramp starts. Adjustable from 1 to 30
seconds. Units are tenths of seconds.
Most significant byte
ARG15 mA Ramp hold time (LSB). Least
significant byte
ARG16 Remote programming enable. If enabled,
the unit will default to Remote
programming mode upon power up.
1: Remote mode enable
0: Remote mode disable

Example:
Sending this command will set the user configurable items as follows:

<STX>09,50,1,44,50,30,4,10,0,150,0,1,1,0,0,50,1,<CSUM><ETX>

<ARG 1> kV Ramp time = 5 seconds.


<ARG 2> Filament Ramp time MSB = 1
<ARG 3> Filament Ramp time LSB = 44
1x256 + 44 = 300, equivalent to 30 seconds
<ARG 4> mA Ramp Rate = 5 seconds.
<ARG 5> Minimum filament emission = 30%
<ARG 6> Arc count = 4
<ARG 7> Arc time period = 10 seconds
<ARG 8> Arc Quench time MSB = 0
<ARG 9> Arc Quench time LSB = 150

118079-001 Rev G Page 96 of 101


0x256 + 150 = 150 milliseconds
<ARG 10> Arc re-ramp = 0, Enable
<ARG 11> Ramp control = 1, Enabled
<ARG 12> Arc Control = 1, Enabled
<ARG 13> Set point ramp = 1, Enabled
<ARG14> mA ramp hold off time MSB = 0
<ARG15> mA ramp hold off time LSB = 50
0x256 + 50 = 50 equivalent to 5 seconds
<ARG16> Remote programming enable = 1, Enabled

Response:
<STX><0><9><,><$><,><CSUM><ETX>

118079-001 Rev G Page 97 of 101


6.6.25 Request User Configuration( Controlled Ramping and Arc
Fault Control)
Description:

This command returns the current user configuration parameters.

syntax
<STX><2><7><,><$><,><CSUM><ETX>

Response:
<STX><2><7><,><ARG1><,><ARG2><,><ARG3><,><ARG4><,>
<ARG5><,><ARG6><,><ARG7><,><ARG8><,><ARG9><,><ARG10><,>
<ARG11><,><ARG12><,><ARG13><,><ARG14><,><ARG15><,><ARG1
6><,><CSUM><ETX>

Where:

Argument Number Description


ARG1 kV Ramp Time. Units are tenths of second.

ARG2 Filament Ramp time (MSB). Units are tenths of second. Most
significant byte
ARG3 Filament ramp time (LSB). Least significant byte
ARG4 mA Ramp Time. Units are tenths of seconds.
ARG5 Minimum filament emission. Adjustable from5% to 50% of full
scale kV output
ARG6 Arc count.

ARG7 Arc period in seconds


ARG8 Arc Quench time (MSB). Units are milliseconds. Most significant
byte
ARG9 Arc Quench time (LSB). Least significant byte
ARG10 Arc re‐ramp in 100 milliseconds.
1: Disabled
0: Enabled

ARG11 Enable ramp control.


1: Enabled
0: Disabled

ARG12 Enable arc control


1: Enabled
0: Disabled

ARG13 Enable set point ramp.

118079-001 Rev G Page 98 of 101


1: Enabled
0: Disabled

ARG14 mA Ramp hold time (MSB). Units are tenths of seconds. Most
significant byte
ARG15 mA Ramp hold time (LSB). Least significant byte
ARG16 Remote programming enable.
1: Remote mode enable
0: Remote mode disable

118079-001 Rev G Page 99 of 101


6.7 SPELLMAN TEST COMMANDS
 Program Hardware Version (Hardware setup)
 Program Model number(Hardware setup)
 Set USB Mode (Program USB)
 Set USB Page Address (Program USB)
 Send USB Page Data (Program USB)
 Toggle Passthrough Mode (Diagnostics)
 Store A/D Calibration Value (Hardware setup)
 Request Miscellaneous Analog Readbacks

Contact Spellman High Voltage for details and the syntax of these
commands.

6.8 SERIAL COMMAND HANDLING


6.8.1 Command Time OutThe host computer should set a serial time
out at approximately 100mS. This allows the DSP to process the incoming
message, and transmit a response. The DSP will initiate a reply to
incoming messages in approximately 1-2mS, with a worst case of 5mS.

6.8.2 Buffer Flushing


The DSP will flush the incoming serial data buffer every time an STX is
received. This provides a mechanism to clear the receive buffer of partial
or corrupt messages.

6.8.3 Handshaking
The only handshaking implemented on the host interface, is built in to the
implementation of this protocol. That is, the host must initiate all
communications. If the supply receives a program command, an
acknowledge message is sent back to the host via the “$” message. If the
host does not receive an acknowledge within the time out window, the
host should consider the message lost or the device off-line.

Similarly, if the supply receives a request command, the requested data is


sent back to the host. If the host does not receive the requested data
within the time out window, the host should consider the message lost or
the device off-line.

This essentially uses the full-duplex channel in a half-duplex


communication mode.

118079-001 Rev G Page 100 of 101


7.0 Dxm Standard Firmware Model # Codes

Standard Firmware Standard Firmware


Model no Model Code Model no Model Code
300W 600W
Negitive Positive
DXM20N300 DXM01 DXM20P600 DXM13
DXM30N300 DXM02 DXM30P600 DXM14
DXM40N300 DXM03 DXM40P600 DXM15
DXM50N300 DXM04 DXM50P600 DXM16
DXM60N300 DXM05 DXM60P600 DXM17
DXM70N300 DXM06 DXM70P600 DXM18
DXM75N300 DXM37 DXM75P600 DXM40
300W 600W
Positive Negative
DXM20P300 DXMO7 DXM20N600 DXM19
DXM30P300 DXMO8 DXM30N600 DXM20
DXM40P300 DXMO9 DXM40N600 DXM21
DXM50P300 DXMO10 DXM50N600 DXM22
DXM60P300 DXMO11 DXM60N600 DXM23
DXM70P300 DXMO12 DXM70N600 DXM24
DXM75P300 DXM38 DXM75N600 DXM39
1200W 1200W
Positive Negative
DXM20P1200 DXM25 DXM20N1200 DXM31
DXM30P1200 DXM26 DXM30N1200 DXM32
DXM40P1200 DXM27 DXM40N1200 DXM33
DXM50P1200 DXM28 DXM50N1200 DXM34
DXM60P1200 DXM29 DXM60N1200 DXM35
DXM70P1200 DXM30 DXM70P1200 DXM36
DXM75P1200 DXM42 DXM75P1200 DXM41

118079-001 Rev G Page 101 of 101

You might also like