background image

require reconfiguring the host computer with the correct host IP 
address, subnet mask, and TCP port. 
 
The device name does not affect the operation of the SLM; it is 
simply a way for the user to differentiate multiple units on the same 
network. 
 
Depending on the type of network you are attaching the SLM to, 
you may need to configure the host PC’s IP address and subnet 
mask as shown in section 4.2.3.1. You can also test a network 
connection to the SLM by following the instructions listed in section 
4.2.3.2 . 
 
 
 

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 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. 

 

4.2.6.1 

Data Output Example 

MSComm1 is both the serial and USB port. TcpClient is the  
Ethernet port. 
 

118080-001 REV A

 

    

Page 27 of 95 

 

Summary of Contents for SLM SERIES

Page 1: ...n Manual High Voltage Power Supply MODEL 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 SLM SERIES ...

Page 2: ... range 0 01 of rated output current for a 100μA for a full voltage change Ripple 0 2 rms of maximum rated voltage measured with a 10 foot long HV cable Stability 50ppm hr after a 2 hour warm up Temperature Coefficient 100ppm per degree C Environmental Temperature Range Operating 0 C to 40 C Storage 40 C to 85 C Humidity 20 to 85 RH non condensing Control Interface Local Interface Potentiometers ar...

Page 3: ... 10V 0 to 100 Rated Output Zout 4 99k 1 9 Signal Ground Ground 10 Current Monitor 0 to 10V 0 to 100 Rated Output Zout 4 99k 1 11 HV Enable Input Connect to Pin 12 to HV Enable Supply 12 HV Enable Output 15V Open 15mA Closed 13 NC No Connection 14 HV On Output Signal Open Collector 35V 10mA Maximum 15 Spare No Connection SPELLMAN HIGH VOLTAGE ELECTRONICS CORPORATION 300W 1200W HIGH VOLTAGE MODULE S...

Page 4: ...232 FRONT VIEW BOTTOM VIEW 4 75 120 10 50 266 0 75 19 1 06 27 9 875 250 36 SIDE VIEW 10 32 BLIND PEMS 4 PLCS DANGER HIGH VOLTAGE J2 CONTROL I O FILAMENT J4 USB J5 ETHERNET J3 RS 232 AIR FLOW AIR FLOW 1200 Watt 300 600 Watt Corporate Headquarters Hauppauge New York USA 1 631 630 3000 FAX 1 631 435 1620 e mail sales spellmanhv com www spellmanhv com 128035 001 REV M Spellman High Voltage is an ISO 9...

Page 5: ... 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 par...

Page 6: ...spannungsnetzteiles benötigen ca 5 Minuten um sich zu entladen Erden Sie sich nicht und arbeiten Sie nicht in feuchter oder nasser Umgebung 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 ...

Page 7: ...de l alimentation Ne vous mettez pas à la masse ou ne travaillez pas sous conditions mouillées ou humides 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 m...

Page 8: ...carica 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 ...

Page 9: ... 1 Operation 7 3 2 Standard Features 8 4 PRINCIPLES OF OPERATION 4 1 AC to DC Rectifier and Associated Circuits 13 4 2 High Frequency Inverter 13 4 3 High Voltage Circuits 13 4 4 Control Circuits 14 4 5 Options 14 5 OPTIONS 5 7 Custom Designed Models 15 6 MAINTENANCE 6 1 Periodic Servicing 16 6 2 Performance Test 16 6 3 High Voltage Dividers 16 7 FACTORY SERVICE 7 1 Warranty Repairs 17 7 2 Factory...

Page 10: ...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 SLM modules 1 2 SLM Specifications Input Voltage 90 264Vac 47 63Hz for 300watt models 180 264Vac 47 63Hz for 600watt models 180 264Vac 47 63Hz for 1200watt models Power Factor FL 0 99 Output Voltage 22 models 1kv to 70kv Voltage Regulation 0 01 of rated ou...

Page 11: ...nhibits the generation of high voltage and reverts the unit to HV OFF mode illuminating the OVER VOLTAGE indicator This can be enabled in the firmware and is adjustable from 0 to 110 of full scaled output voltage The select values are stored internally in the SLM memory When ROV is disabled the default overvoltage trip point is 110 of full scaled output The factory default setting for ROV is disab...

Page 12: ...thernet OVER CURRENT FAULT Indicates the over current protection circuitry has caused the high voltage to turn off This fault will occur if the output current exceeds 110 of full scale If AOL is enable this fault will occur when the current exceeds the current program set point This fault is indicated by illumination of over current LED status on the front panel and via RS 232 USB or Ethernet as O...

Page 13: ...pabilities After the series name is 1 The maximum voltage in kilovolts 2 The polarity of the output positive P or negative N 3 The maximum output in watts 4 Custom X number representing details listed in a separate specification control drawing J2 CONTROL I O ETHERNET J4 USB J5 J3 RS232 J6 HV OUT TOP COVER FRONT PANEL WARNING OVER VOLTAGE ARC REGULATION ERROR LOCAL CURRENT ADJ LOCAL VOLT ADJ STATU...

Page 14: ...the unit Standard SLM high voltage power supplies and components are covered by warranty Custom and special order models with an X suffix in the model number are also covered by warranty 2 2 Mechanical Installation The SLM series module power supplies are designed for installation into existing or newly developed OEM equipment The power supply can also easily fit into bench top applications or tes...

Page 15: ...SLM MANUAL 6 118073 001 Rev C Figure 2 2 Unit Dimensions 1200W ...

Page 16: ...arate external ground at the load is not recommended An IEC 320 connector is provided for connection to the line voltage source A standard line cord is also provided D Hook up Connect control and monitoring connections as described in this manual E For initial turn on program the voltage and current for zero output Connect the enable disable signal to disable F The input power cable may now be con...

Page 17: ...oltage source from 0 volts zero output to 10 Vdc full rated output the desired output can be selected See Figure 3 3 for wiring diagram and specifications Local Monitoring Monitor outputs are made available for monitoring the voltage and current output The monitor outputs are always positive regardless of the output polarity where zero 0 to 10 Vdc equals 0 100 of output See Figure 3 4 for monitori...

Page 18: ... 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 ...

Page 19: ...SLM MANUAL 10 118073 001 Rev C Figure 3 3 Local Programming via External Voltage Source ...

Page 20: ...SLM MANUAL 11 118073 001 Rev C Figure 3 4 Remote Monitoring ...

Page 21: ...RELAY Figure 3 5 Enable Interlock Logic Control 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 ...

Page 22: ...pt 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 be present before and after the power supply is used Consult IEEE recommended practices for safety in high voltage testing 510 1983 4 2 High Frequency Inverter The SLM is a resonant converter operating in a zero cur...

Page 23: ...ntrol 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 4 5 Options Due to the variations of models and options provided in the ...

Page 24: ... Rev C Chapter 5 5 1 Custom Designed Models X Units built to customer specifications are assigned an X number be the factory If this unit is an X model specification control sheet is added at the end of this instruction manual ...

Page 25: ...cribed 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 and a high voltage divider such as the Spellman HVD 100 is needed for performance tests All test components must be rated for operating voltage 6 3 High Voltage Dividers High volt...

Page 26: ...rly on the outside of the shipping container Packages received without an RMA Number will be returned to the customer The Customer shall pay for shipping to and from Spellman A preliminary estimate for repairs will be given by phone by Customer Service A purchase order for this amount is requested upon issuance of the RMA Number A more detailed estimate will be made when the power supply is receiv...

Page 27: ...ged breach of this warranty No modification amendment supplement addition or other variation of this warranty will be binding unless it is set forth in a written instrument signed by an authorized officer of Spellman Factory Service Procedures For an authorization to ship contact Spellman s Customer Service Department Please state the model and serial numbers which are on the plate on the rear pan...

Page 28: ...tion 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 475 Wireless Boulevard Hauppauge New York 11788 US...

Page 29: ...ted Software 10 4 1 RS 232 10 4 2 Ethernet 12 4 3 USB 29 5 0 Ethernet Commands 37 5 1 TCP IP Format 37 5 2 Command Arguments 38 5 3 Command Overview 38 5 4 Response Overview 40 5 5 Command Structure 41 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 Te...

Page 30: ...NDED TO THE UNIT 1 0 SCOPE This document applies to the communications interfaces on the SLM assembly 460067 2 0 FUNCTIONAL DESCRIPTION The SLM 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 115...

Page 31: ...Figure 1 J3 RS 232 DB 9M pinout front view PIN DESCRIPTION 1 2 Tx Out 3 Rx In 4 5 Ground 6 7 8 9 118080 001 REV A Page 4 of 95 ...

Page 32: ...via Crossover and Standard Ethernet cables Supported Operating Systems Windows 98 2ED Windows 2000 SP2 Windows NT SP6 Windows XP Professional LED 2 LED 1 8 7 6 5 4 3 2 1 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 T...

Page 33: ...t the SLM serial port to the serial port on a standard personal computer Please refer to the following chart PC to SLM Board Cable Details PC Connector DB 9 Female SLM 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 Shielded Category 5 CAT5 Ethernet patch cables are used to connect the SLM to the host computer There are two ways ...

Page 34: ...le ends shown below in figure 4 Figure 4 Crossover Cable for Direct Connection 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 5 Figure 5 Standard Straight Through Cable Standard CAT5 Patch 1 1 1 1 118080 001 REV A Page 7 of 95 ...

Page 35: ... 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 P O W E R S U P P L Y W IT H U S B F E R R IT E B E A D c a b le F E R R IT E B E A D c a b le P C W IT H U S B F E R R IT E C O R E c a b le F E R R IT E C O R E c a b le U S B C A B L E F E R R IT E C ...

Page 36: ...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 8 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 118080 001 REV A Page 9 of 95 ...

Page 37: ...ications 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 to...

Page 38: ...nario 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 118080 001 REV A Page 11 of 95 ...

Page 39: ...it to be configured in real time The application consists of three web pages a page displaying contact information a license agreement and a monitoring and control applet that is at the heart of this application The Web Server application for the SLM is presented as an example in the following pages 4 2 2 Web Pages 4 2 2 1 Web Page 1 Contact Information Page Figure 9 displays a picture of the SLM ...

Page 40: ...Figure 9 Web Page 1 Contact Information 118080 001 REV A Page 13 of 95 ...

Page 41: ...age Figure 10 displays the license agreement Here the user can either agree or disagree with the Spellman license agreement Click on I Accept to continue on to the applet Figure 10 Web Page 2 License Agreement 118080 001 REV A Page 14 of 95 ...

Page 42: ...er that requires an Internet browser with an installed JVM Java Virtual Machine The password for the applet is shvapplet We have tested under Internet Explorer 5 and 6 Microsoft JVM 5 and Sun JVM versions 1 6 and higher 4 2 2 3 2 Description of Monitor and Control Applet Figure 11 displays an example of an embedded monitor and control application Figure 11 Control and Monitor Applet 118080 001 REV...

Page 43: ...the set point to the SLM and remain in the set point screen or click OK to send the set point and close the set point entry window The user may also click on Cancel to close the window without sending any changes To reset the Total hour On meter to zero via the Applet a password is required The password is SHV_Reset 4 2 2 5 Java Warning Messages You may notice a message at the bottom of all dialog...

Page 44: ... of the SLM or view firmware version information by changing tabs 4 2 2 7 User Settings Figure 13 User Setting The User Settings tab allows the user to set firmware configurable options as shown above After making changes to the options click on the Click to Apply Changes button 118080 001 REV A Page 17 of 95 ...

Page 45: ...4 2 2 8 Fault log Figure 14 Fault log Fault log displays faults with their date and time 118080 001 REV A Page 18 of 95 ...

Page 46: ...4 2 2 9 About Displays version information and model number Figure 15 About 118080 001 REV A Page 19 of 95 ...

Page 47: ...ing received by the applet from the SLM The next state is No Data Received which is when there is still a valid connection but no responses have been received from the SLM for 2 seconds Lastly the text field displays Disconnected when the TCP IP session has been disconnected To operate the UUT using the Computer interface the UUT must be set to Remote Mode by Clicking Click to Set Remote the SLM A...

Page 48: ... 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 Here are th...

Page 49: ...rought up to the screen below Figure 18 You must RIGHT CLICK and select Properties on Local Area Connection and not double click which will display a window similar to figure 19 Figure 18 Here you must Right Click and Select Properties 118080 001 REV A Page 22 of 95 ...

Page 50: ...P and click on the Properties button to be brought to figure 20 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 118080 001 REV A Page 23 of 95 ...

Page 51: ...mand prompt Under Windows NT 2000 and XP the name of this command is CMD Under Windows 98 the name of this command is Command To do this click on Start Run Cmd Then on the command line type Ping IP Address For example Ping 192 168 1 4 If the SLM 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 118080 001 R...

Page 52: ...If you have chosen to place the SLM onto your local area network you will need A CAT5 network patch cable to physically connect the SLM to the LAN A static IP address to assign to the SLM 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...

Page 53: ...utton is clicked on the network settings screen the network component of the SLM is configured rebooted and the applet is disconnected from the SLM You must type the NEW IP address into a web browser to bring up a new instance of the applet to monitor and control the SLM after reconfiguring it This may also 118080 001 REV A Page 26 of 95 ...

Page 54: ...l 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 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 follow...

Page 55: ... Input Example If portType ethernet Then Do DoEvents ttcpClient 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 118080 001 REV A Page 28 of 95 ...

Page 56: ...stallation 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 22 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...

Page 57: ...n 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...

Page 58: ... 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 Th...

Page 59: ... 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 ProcessOu...

Page 60: ... 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 ...

Page 61: ...r 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...

Page 62: ...e 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_NETR...

Page 63: ...1 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 118080 001 REV A Page 36 of 95 ...

Page 64: ...P IP protocol stack specifically the upper 4 layers Byte 0 Protocol Version Header Length Type Of Service Total 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 Offset Reserved Code Bits Window 36 Checksum Urgent Pointer 40 Data Byte 1 D...

Page 65: ... 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 unit baud rate 07 1 ASCII 1 5 Program User Configs 09 9 ASCII See Description Program kV 10 1 4 ASCII 0 4095 Program mA 11 1 4 ASCII 0 4095 Request kV Setpoint 14 None Request mA Setpoint 15 None Request Analog Monitor Readbacks...

Page 66: ... None Program Network Settings 51 6 ASCII See Description Read Interlock Status 55 1 ASCII 0 or 1 Request kV monitor 60 None Request mA monitor 61 None Request 15V LVPS 65 None Watchdog Tickle 88 None Watchdog enable 89 1 ASCII 0 or 1 Turn HV on off 98 1 ASCII 0 or 1 Program Local Remote Mode 99 1 ASCII 0 or 1 118080 001 REV A Page 39 of 95 ...

Page 67: ...0 ASCII Request mA Setpoint 15 7 10 ASCII Request Analog Monitor Readbacks 19 11 22 ASCII Request Total Hours High Voltage On 21 13 ASCII Request Status 22 12 ASCII Request DSP Software Version 23 17 ASCII Request Hardware Version 24 9 ASCII Request Web Server Version 25 17 ASCII Request Model number 26 11 ASCII Request User Configs 27 8 16 ASCII Request unit Scaling 28 23 31 ASCII Request Network...

Page 68: ...ts 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 118080 001 REV A Page 41 of 95 ...

Page 69: ... 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 118080 001 REV A Page 42 of 95 ...

Page 70: ...e 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 118080 001 REV A Page 43 of 95 ...

Page 71: ...ARG2 ARG3 ARG4 ARG5 ARG6 ARG7 ARG8 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 ARG5 1 I Mode on 0 I Mode off ARG6 1 ROV Enabled 0 ROV Disabled ARG7 1 AOL Enabled 0 AOL Disabled ARG8 1 Watchdog Enabled 0 Watchdog Disabled Example STX 22 1 1 0 0 0 0 0 0 ETX 118080 001 REV A Page 44 of 95 ...

Page 72: ...s 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 118080 001 REV A Page 45 of 95 ...

Page 73: ...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 118080 001 REV A Page 46 of 95 ...

Page 74: ...Web Server firmware part number version Direction Host to supply Syntax STX 25 ETX Example STX 25 ETX Response STX 25 ARG ETX Where ARG consists of eleven ASCII characters representing the current firmware part number version The format is SWM9999 999 Example STX 25 SWM9999 999 ETX 118080 001 REV A Page 47 of 95 ...

Page 75: ...o supply Syntax STX 26 ETX Example STX 26 ETX Response STX 26 ARG ETX Where ARG consists of five ASCII characters representing the model number The format is SLMNNANNN or XNNNN where N is a numeric character and where A is a letter character Example STX 25 SLM70P600 ETX or STX 25 X9999 ETX 118080 001 REV A Page 48 of 95 ...

Page 76: ...9 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 118080 001 REV A Page 49 of 95 ...

Page 77: ...et 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 118080 001 REV A Page 50 of 95 ...

Page 78: ... ip address in dotted notation Remote port is a decimal number Subnet Mask and Default Gateway are also dotted notation and MAC address is in MAC Address notation ARG1 Device Name 1 character minimum up to 20 maximum ARG2 IP Address nnn nnn nnn nnn where nnn represents a number from 0 to 255 ARG3 Remote Port 5001 or from 49152 to 65535 ARG4 Subnet Mask xxx xxx xxx xxx where xxx represents a number...

Page 79: ...port is a decimal number Subnet Mask and Default Gateway are also dotted notation and MAC address is in MAC Address notation ARG1 Device Name 1 character minimum up to 20 maximum ARG2 IP Address nnn nnn nnn nnn where nnn represents a number from 0 to 255 ARG3 Remote Port 5001 or from 49152 to 65535 ARG4 Subnet Mask xxx xxx xxx xxx where xxx represents a number from 0 to 255 ARG5 MACAddress zzz zzz...

Page 80: ...ests 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 118080 001 REV A Page 53 of 95 ...

Page 81: ...n 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 118080 001 REV A Page 54 of 95 ...

Page 82: ...n 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 118080 001 REV A Page 55 of 95 ...

Page 83: ...n 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 118080 001 REV A Page 56 of 95 ...

Page 84: ...pply Syntax STX 68 ETX Response STX 68 ARG1 ARG2 ARG3 ARG4 ARG5 ARG6 ARG7 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 ARG7 Watchdog Example STX 68 0 0 0 0 1 0 0 ETX 118080 001 REV A Page 57 of 95 ...

Page 85: ... 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 118080 001 REV A Page 58 of 95 ...

Page 86: ...rmware 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 118080 001 REV A Page 59 of 95 ...

Page 87: ...n 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 15 2k in ASCII format Example STX 07 1 ETX Response STX 07 ETX STX 07 ARG ETX where ARG error code Error Codes TBD 1 out of range 118080 001 REV A Page 60 of 95 ...

Page 88: ...li seconds ARG8 1 ARC re ramp enabled 0 ARC re ramp disabled in ASCII format ARG9 1 No Arc detect 0 Arc detect in ASCII format Example STX 09 1 50 100 0 10 30 250 1 0 ETX Response STX 09 ETX STX 09 ARG ETX where ARG error code Error Codes 1 in ASCII format Invalid Arc Rate warning message An invalid arc rate Time period Arc Count of more than 1 arc per second has been entered these values along wi...

Page 89: ...Syntax STX 28 ETX Example STX 28 ETX Response STX 28 ARG1 ARG2 ETX Where ARG1 0 65535 in ASCII format representing the voltage full scale value ARG2 0 65535 in ASCII format representing the current full scale value Example STX 28 7000 856 ETX Voltage full scale 70 00kV Current full scale 8 56mA 118080 001 REV A Page 62 of 95 ...

Page 90: ...age percentage ARG3 1 600 in ASCII format representing the ramp rate in seconds from 1 to 60sec ARG4 1 AOL enabled 0 AOL disabled in ASCII format value ARG5 0 20 in ASCII format representing the arc count ARG6 0 60 in ASCII format representing the arc period in seconds ARG7 0 500 in ASCII format representing the arc quench time in milli seconds ARG8 1 ARC re ramp enabled 0 ARC re ramp disabled in ...

Page 91: ...s that the firmware enable the Communication Watchdog Direction Host to supply Syntax STX 89 ARG ETX Where ARG 1 enable 0 disable in ASCII format Example STX 89 1 ETX Response STX 89 ETX STX 89 ARG ETX where ARG error code 118080 001 REV A Page 64 of 95 ...

Page 92: ...dog Tickle Description The host requests that the firmware resets the Watchdog timer Direction Host to supply Syntax STX 88 ETX Response STX 88 ETX STX 88 ARG ETX where ARG error code 118080 001 REV A Page 65 of 95 ...

Page 93: ... 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 unused 0 4095 Example STX 19 4095 4095 4095 ETX 118080 001 REV A Page 66 of 95 ...

Page 94: ...le 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 bit...

Page 95: ...b1 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 118080 001 REV A Page 68 of 95 ...

Page 96: ...t Analog Monitor Readbacks 19 None Request HV On Hours Counter 21 None Request Status 22 None Request Software Version 23 None Request Hardware Version 24 None Request Web Server Version 25 None Request Model Number 26 None Reset HV On Hours Counter 30 None Reset Faults 31 None Read Interlock Status 55 None Request kV monitor 60 None Request mA monitor 61 None Request 15V LVPS 65 None Wathdog Tick...

Page 97: ...ponse Name CMD Response Request kV Setpoint 14 8 11 ASCII Request mA Setpoint 15 8 11 ASCII Request Analog Monitor Readbacks 19 12 23 ASCII Request Total Hours High Voltage On 21 14 ASCII Request Status 22 13 ASCII Request DSP Software Version 23 18 ASCII Request Hardware Version 24 10 ASCII Request Web Server Version 25 18 ASCII Request Model number 26 12 ASCII Request User Configs 27 9 17 ASCII ...

Page 98: ...Request Faults 68 20 ASCII 118080 001 REV A Page 71 of 95 ...

Page 99: ...e 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 118080 001 REV A Page 72 of 95 ...

Page 100: ...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 118080 001 REV A Page 73 of 95 ...

Page 101: ... 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 118080 001 REV A Page 74 of 95 ...

Page 102: ...ARG2 ARG3 ARG4 ARG5 ARG6 ARG7 ARG8 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 ARG5 1 I Mode on 0 I Mode off ARG6 1 ROV Enabled 0 ROV Disabled ARG7 1 AOL Enabled 0 AOL Disabled ARG8 1 Watchdog Enabled 0 Watchdog Disabled Example STX 22 1 1 0 0 0 0 0 0 CSUM ETX 118080 001 REV A Page 75 of 95 ...

Page 103: ...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 118080 001 REV A Page 76 of 95 ...

Page 104: ...rection 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 118080 001 REV A Page 77 of 95 ...

Page 105: ... firmware part number version Direction Host to supply Syntax STX 25 CSUM ETX Example STX 25 CSUM ETX Response STX 25 ARG CSUM ETX Where ARG consists of eleven ASCII characters representing the current firmware part number version The format is SWM9999 999 Example STX 25 SWM9999 999 CSUM ETX 118080 001 REV A Page 78 of 95 ...

Page 106: ...ax 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 SLMNNANNN or XNNNN where N is a numeric character and where A is a letter character Example STX 25 X9999 CSUM ETX or STX 25 SLM70P600 CSUM ETX 118080 001 REV A Page 79 of 95 ...

Page 107: ...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 118080 001 REV A Page 80 of 95 ...

Page 108: ...ts 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 118080 001 REV A Page 81 of 95 ...

Page 109: ...t 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 118080 001 REV A Page 82 of 95 ...

Page 110: ...st 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 118080 001 REV A Page 83 of 95 ...

Page 111: ...st 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 118080 001 REV A Page 84 of 95 ...

Page 112: ...st 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 118080 001 REV A Page 85 of 95 ...

Page 113: ...ntax STX 68 CSUM ETX Response STX 68 ARG1 ARG2 ARG3 ARG4 ARG5 ARG6 ARG7 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 ARG7 Wathdog Example STX 67 0 0 0 0 1 0 0 CSUM ETX 118080 001 REV A Page 86 of 95 ...

Page 114: ...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 118080 001 REV A Page 87 of 95 ...

Page 115: ...upply 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 118080 001 REV A Page 88 of 95 ...

Page 116: ...conds ARG8 1 ARC re ramp enabled 0 ARC re ramp disabled in ASCII format ARG9 1 No Arc detect 0 Arc detect in ASCII format Example STX 09 1 50 100 0 10 30 250 1 0 CSUM ETX Response STX 09 CSUM ETX STX 09 ARG CSUM ETX where ARG error code Error Codes 1 in ASCII format Invalid Arc Rate warning message An invalid arc rate Time period Arc Count of more than 1 arc per second has been entered these value...

Page 117: ... 28 CSUM ETX Example STX 28 CSUM ETX Response STX 28 ARG1 ARG2 CSUM ETX Where ARG1 0 65535 in ASCII format representing the voltage full scale value ARG2 0 65535 in ASCII format representing the current full scale value Example STX 28 7000 856 CSUM ETX Voltage full scale 70 00kV Current full scale 8 56mA 118080 001 REV A Page 90 of 95 ...

Page 118: ...rvoltage percentage ARG3 1 600 in ASCII format representing the ramp rate in seconds from 1 to 60sec ARG4 1 AOL enabled 0 AOL disabled in ASCII format value ARG5 0 20 in ASCII format representing the arc count ARG6 0 60 in ASCII format representing the arc period in seconds ARG7 0 500 in ASCII format representing the arc quench time in milli seconds ARG8 1 ARC re ramp enabled 0 ARC re ramp disable...

Page 119: ... the Communication Watchdog Direction Host to supply Syntax STX 89 ARG CSUM ETX Where ARG 1 Enable 0 Disable in ASCII format Example STX 89 1 CSUM ETX Response STX 89 CSUM ETX STX 89 ARG CSUM ETX where ARG error code Error Codes TBD 1 out of range 118080 001 REV A Page 92 of 95 ...

Page 120: ...The host requests that the firmware resets the Watchdog timer Direction Host to supply Syntax STX 88 CSUM ETX Response STX 88 CSUM ETX STX 88 ARG CSUM ETX where ARG error code Error Codes TBD 1 out of range 118080 001 REV A Page 93 of 95 ...

Page 121: ...the present values of Analog Monitor Readbacks Direction Host to supply Syntax STX 19 CSUM ETX Example STX 19 CSUM ETX Response STX 19 ARG1 ARG2 ARG3 CSUM ETX Where ARG1 kV monitor 0 4095 ARG2 mA monitor 0 4095 ARG3 unused 0 4095 Example STX 19 4095 4095 4095 CSUM ETX 118080 001 REV A Page 94 of 95 ...

Page 122: ... 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 ...

Reviews: