background image

45

Syntax: 

 STATus:OPERation:CONDition?

Example:  

STAT:OPER:COND?

Response: 

<nnn>

,  a number from 0 to 255

Example:  

128 (

local mode with the output off (because CV and CC both zero)) 

7.8.12.  Set the Operational Condition Enable Register

When one or more bits in the Operational Condition Condition Register (see 7.8.11 above) 

are set, a bit can be set in the Status Byte (

*STB,

see section 7.8.5). This is done by setting 

bits in the  enable register. Changing the value of the enable register has no affect on the 

value in the condition register

Syntax:  

STATus:OPERation:ENABle <nn>

Parameter: 

<nnn>     

is a number from 0 to 255.  The bit assignments are the 

 

    same 

as 

the 

table 

above

Example:  

STAT:OPER:ENAB 1    

will cause bit 7 in the Status Byte to be set if 

   

 

 

 

the supply goes into constant-voltage mode

Query:  

STAT:OPER:ENAB?     

will return

 1 

 in the example

7.8.13.  Read the Operational Condition Event Register

This is a settings and modes event register, which means bits are set to “1” when a 

condition occurs and they are not cleared until the register value is read or the 

 *CLS 

command is sent. For the condition to be latched as an event, the event bit must be enabled 

as described in section 7.8.12 above. 

The bit assignments are the same as the Operational Condition Condition Register, 

described in section 7.8.11 above

Syntax: 

 STATus:OPERation[:EVENt]?

Example:  

STAT:OPER?

Response: 

<nnn>

,  a number from 0 to 255

Example:  

2 (

the supply went into constant current mode) 

7.8.14.  Read the Questionable Condition Condition Register

This register reports fault conditions which will cause the power supply output to turn off. 

The faults include:

 

User settable faults (enable, shut-down, over-voltage, fold-back, output off)

 

Environmental faults (over-temperature, AC fail)

 

Instrument summary fault bit (for RS-485 multi-drop chain, see section 9)

 

Internal firmware faults (four faults)

This is a conditional register. The bits are set to “1” when the fault occurs and cleared when 

the fault is cleared. The values are read-only. See the Technical Manual for more details on 

faults. 

Summary of Contents for Genesys Series

Page 1: ...TECHNICAL MANUAL LAN INTERFACE for GENESYS POWER SUPPLIES Document IA672 04 01 Rev D IA672 04 01 Rev D CONTROLLED COPY 19 01 09 N L I R D ...

Page 2: ...This page is intentionally blank ...

Page 3: ...3 7 TROUBLESHOOTING THE WEB CONNECTION 13 3 8 OTHER TROUBLESHOOTING 14 3 9 CONNECTING OVER WAN 16 3 10 CONNECTING WITH VISA PROGRAMMING 16 4 LAN SETUP 17 4 1 VIEW THE IP AND MAC ADDRESSES 17 4 2 LAN RESET BUTTON 17 5 USING THE WEB PAGES 19 5 1 OVERVIEW 19 5 2 HOME PAGE 19 5 3 LOGGING IN 20 5 4 DC POWER PAGE 21 5 5 LAN PAGE 23 5 6 HELP PAGE 28 6 REMOTE PROGRAMMING USING COMMANDS 29 6 1 OVERVIEW 29 ...

Page 4: ... 3 Connect and Configure the RS 485 Supplies 52 9 4 Multi drop Programming Using SCPI Commands 53 10 SYSTEM ERROR MESSAGES 57 11 CUSTOMER SUPPORT 59 Table of Figures Figure 1 Front Panel LAN Features 1 Figure 2 Rear Panel LAN Features 1 Figure 3 Rear Panel LAN Features 5 Figure 4 Network Connection Diagram 10 Figure 5 Peer to Peer Connection Diagram 10 Figure 6 Error and Status Registers 42 Figure...

Page 5: ...ay be used to operate the power supply through a built in web page server For applications including factory and test automation communication may be done using standard network protocols and instrument commands Refer to the GenesysTM Technical Manual for information on installing the power supply safety requirements specifications connecting the power in and out operating the front panel using th...

Page 6: ... settings Full status and error reporting Uses SCPI command language an instrumentation standard Compatible with VISA instrument drivers VISA drivers are available for almost any programming language Supports network socket programming Same functional features as the IEEE option card Front Panel features View IP and MAC address on front panel LAN Reset on front panel User may remotely Blink the fr...

Page 7: ...he physical characteristics of a network including the cables and transmission speeds Most often have 8 conductor twisted pair CAT 5 cables with RJ 45 connectors 1 3 8 Ethernet The most common configuration for a LAN It includes connection detection and message collision protection 1 3 9 IP Address The Internet Protocol address is a numeric identifier that says where messages are sent to or receiv...

Page 8: ... patch CAT 5 or better network cable or it may be a crossover cable where the pins are reversed on one end The cable type is auto detected by the power supply The serial link cable 0 5 m long provided with the Genesys power supply cannot be used for a LAN connection 1 4 2 Web Browser with Java Runtime Engine To operate the web pages from a web browser such as Microsoft Internet Explorer or Netscap...

Page 9: ...itch on the left is the only one used The supply s AC power must be OFF to switch between the LAN and RS 232 485 modes The change is only detected during the supply s power up sequenc SWITCH UP select the LAN mode The power supply shows LAn at power up The rear panel J3 IN port for RS 232 485 does not operate The J3 OUT port may be used to start a multi drop chain of supplies see section 9 SWITCH ...

Page 10: ...ets the requirements of the IEEE 802 3u specification 2 3 2 Auto Negotiate May be used with 10Base T or 100Base T networks 10 or 100 Megabits per second The fastest compatible speed is automatically selected unless disabled by the web page 2 3 3 Auto MDIX Automatically detects if LAN cable is a patch 1 to 1 or cross over cable Either cable may be used 2 3 4 MAC Address Each power supply has a uniq...

Page 11: ...ucture for text based commands The Genesys LAN interface is SCPI 1999 compliant 2 3 8 SCPI Programming Functions General Almost any setting which may be done from the front panel may also be done over the LAN using the web pages or a SCPI command All settings made from the front panel may similarly be read back Status and Errors Command acceptance and power supply conditions may be checked using t...

Page 12: ...8 This page is intentionally blank ...

Page 13: ...ill automatically go into remote mode with every command Stop the LAN program and then press REM LOC button The LAN computer may have sent a Local Lockout command Use the LAN to send SYST SET LOC see section 7 4 2 or turn the supply AC off and on and then press the REM LOC button 3 1 2 Select RS 232 RS 485 Serial Remote Mode The RS 232 RS 485 serial remote control may be selected even if the LAN o...

Page 14: ...the Genesys power supply directly to a non server computer as shown below This is called a Peer to Peer connection Genesys with LAN Option Computer with Web Page Viewer or VISA program for SCPI commands CAT 5 Cable patch or cross over IP address is assigned using an Auto IP address in the range 169 254 xxx xxx A second LAN card must be installed in the computer to reach any other network Optional ...

Page 15: ...ower supply may be wired as a patch cable or straight through or as a cross over cable 4 Turn ON the power supply AC power See the front panel show LAn for about 3 seconds After that the supply will show OFF or the last output settings 5 In about 10 seconds for DHCP and static IP or 30 seconds for auto IP see on the rear panel see Figure 3 The Link and Activity LED should be green to show the cabl...

Page 16: ...et if no DHCP server is used May be selected by user in the LAN Modify web page see section 5 5 2 Assignment Assigned by the network server Assigned by the power supply Assigned by the user in the LAN Modify web page see section 5 5 2 Range Any address 169 254 xxx xxx Any address Lifetime Address may change as the DHCP server assigns addresses dynamically to many instruments Fixed for the power su...

Page 17: ... page Shows IP address on Home page Shows hostname on LAN Configure page Shows IP address on Home page Hostname disabled on LAN Configure page 3 7 TROUBLESHOOTING THE WEB CONNECTION If the web page cannot be opened here are some common troubleshooting steps A Verify the Ethernet Connection Look at the rear panel Link and Activity LED see Figure 2 If it is not green or blinking then the Ethernet ca...

Page 18: ... Reset the computer s network card should have the same setting Refer to your operating system instructions on configuring the TCP IP connection for DHCP also called Obtain an IP address automatically 3 8 OTHER TROUBLESHOOTING 3 8 1 Cannot Connect using Hostname If the power supply s IP address is set to static IP you can not use the hostname address To use the hostname address the NetBIOS naming ...

Page 19: ...nnection is broken check the IP address on the front panel of the power supply see section 4 1 If the IP address is all zeroes then The Ethernet cable connection may not be proper Verify the Link LED is glowing as shown in Figure 2 If the power supply obtained it s IP address from a DHCP server but that address was not renewed 3 8 5 Web Page Fields Show as Little Blocks For numeric fields such as ...

Page 20: ...al requests The network server has to ensure that both port 80 and 8000 are exposed to WAN connectivity The network administrator must obtain and assign a Global IP for the power supply On the network server the network administrator also has to ensure that requests to port 80 and 8000 can be used 3 10 CONNECTING WITH VISA PROGRAMMING In addition to the web pages the power supply may be controlled...

Page 21: ...tage knob is not changed for five seconds the supply will revert to the normal voltage and current displays If this happens press and hold the FOLD button again 4 2 LAN RESET BUTTON If it is necessary to reset the supply to the factory default LAN settings use the front panel to 1 Press and hold the OVP UVL button for 2 seconds 2 The 7 segment displays will show LAn rES 3 Release the OVP UVL butto...

Page 22: ... DNS Server 0 0 0 0 Hostname GENvvv aaa sn see hostname in section 5 2 Description Genesys Power Supply Ping Server Enable Keep Alive 1800 Seconds 30 minutes before idle logged in user is automatically logged out Auto Negotiate Automatic select network speed VXI 11 Discovery Enable Password None ...

Page 23: ...section 1 3 16 RS 485 Address This address only applies to a multi drop chain of supplies This is the RS 485 address of the LAN supply also called the master supply To set this address on the front panel see section 9 2 2 Hostname A unique name for a device on a network The default hostname is described in section 3 6 but it may be configured by the user see section 5 5 2 If the hostname is not pr...

Page 24: ... program with VISA drivers is running then settings may be viewed by the web pages but you cannot login to change any settings If a user is logged in then a VISA connection cannot be opened by a program A user may logout by clicking the Logout button by closing the web browser or by leaving the web browser idle for LAN Keep alive seconds see section 5 5 3 5 3 2 User Name Only one user account name...

Page 25: ...85 Address listbox This button only applies to a multi drop chain as described in section 9 Select RS 485 Multi drop Address This address is described in section 9 2 2 This address only applies to a multi drop chain of RS 485 supplies If there is no multi drop only the address from the single LAN supply is available After the desired power supply is selected the web page shows Blink Identify When ...

Page 26: ...t take place until the Apply button is clicked and the pop up window closes 5 4 3 DC Power Protection Page Under the DC Power tab a Protection button is available at the top of the panel When opened the window that allows you to view and set four protections The Apply buttons are not enabled until you log in Note a control slider on the right side of the panel is needed to view all four settings w...

Page 27: ...Then click the Send and Read button For commands there is no response For queries the response is shown in the middle text box You may read any System Error message see section 7 8 1 by clicking the Read Errors button The error message or No error will show in the bottom text box 5 5 LAN PAGE When the LAN tab is clicked the following web page opens This page and it s sub pages allow you to view an...

Page 28: ...wser see section 3 4 or by a VISA resource name see section 6 3 to create a communication link The default hostname is derived from the model and serial number see the hostname in section 5 2 or it may be changed in the LAN Configure Modify web page Description By default this is Genesys Power Supply but it may be changed in the LAN Configure Modify web page Modify After logging in see section 5 3...

Page 29: ...tname and description Static IP If this mode is selected the IP address subnet mask and default gateway must be entered in the window fields The settings must be compatible with the requirements of the network server They do not change as the power supply is moved to different LAN connections In this mode there is no hostname connectivity so the hostname and DNS server fields are disabled gray App...

Page 30: ...d is allowed to operate at See glossary section 1 3 3 VXI Discovery This is a protocol which allows the network server to detect what instruments are connected to the LAN Auto MDIX This service is always enabled in the power supply The power supply LAN connection will always detect a patch or cross over cable See glossary section 1 3 2 Modify After logging in click this button to open the window s...

Page 31: ...tion programming with VISA see sections 6 and 7 By default the old password is blank The new password must be four or more characters long Reset the password once a password is applied it may be changed by using this screen but it can only be removed by performing the LAN Reset function from the power supply front panel see section 4 2 ...

Page 32: ...as a Help tab When clicked the following page appears This page is a set of Internet links to Lambda website pages Your network administrator must assign the power supply s default gateway see section 5 5 2 and give privileges to view and download from the internet ...

Page 33: ... may easily be written if they use the VISA libraries The supported VISA functions include Open Read and Write The Genesys LAN power supply must be registered as a VISA resource by using an instrumentation program such as the National Instruments Measurement and Automation Explorer MAX or the Agilent I O Assistant The VISA resource descriptor is used to describe a particular supply For a Genesys L...

Page 34: ...30 6 5 SOCKET PROGRAMMING In addition to web page and VISA communication programs may be written which communicate through raw sockets Use port 8001 to write and read SCPI commands ...

Page 35: ...ection 7 8 1 The Standard Event Status Register also has a bit to indicate command errors ESR see section 7 8 7 Command Queries almost every command has a query form to read back the command s last setting The query form replaces the command s parameter with a question mark No space is allowed between the command and the For example if the command VOLT 23 is sent the query form VOLT will respond w...

Page 36: ... SOURce VOLTage LEVel IMMediate AMPLitude nn nn Parameter nn nn is volts the acceptable range is from 5 more than the under voltage UVL setting to 5 less than the over voltage protection OVP setting Example VOLT 18 5 Query VOLT will return 18 5 in the example this may be different than the actual output voltage Errors SYSTEM ERROR may return errors including 222 Data out of range 301 PV above OVP ...

Page 37: ...y s front panel voltmeter 7 3 2 Measure the Output Current This query returns the measured current at the output terminals Syntax MEASure CURRent Example MEAS CURR may return 009 48 Response Amps as a 5 digit number which is one decimal place more than the power supply s front panel ammeter 7 4 OPERATING MODES 7 4 1 Read CV or CC Modes The power supply may operate in the constant voltage or consta...

Page 38: ... J1 Shut Off The auto restart mode changes the response of the power supply when for example the AC power recovers from a momentary drop out or the J1 Enable signal is restored to normal The start mode may be viewed on the supply front panel by pressing and holding the OUT button while in local mode When the AC is first switched on the power supply output may be forced off even with the auto start...

Page 39: ...a out of range 7 5 2 Read Over Voltage Tripped This query reports if an over voltage protection fault has occurred If a fault has occurred it may be cleared by turning the power supply output on again see the OUTP STAT ON command section 7 2 3 Syntax SOURce VOLTage PROTection TRIPped Example VOLT PROT TRIP Responses 0 when no OVP fault is active 1 when supply is shut down because of an OVP fault 7...

Page 40: ...N Example CURR PROT STAT 1 or CURR PROT STAT ON Query CURR PROT STAT will return ON in the example otherwise OFF 7 5 5 Read Foldback Tripped This query reports if a foldback protection fault has occurred If a fault has occurred it may be cleared by turning the power supply output on again see the OUTP STAT ON command section 7 2 3 Syntax SOURce CURRent PROTection TRIPped Example CURR PROT TRIP Res...

Page 41: ...is command could disable the LAN connection to the power supply This command will reset the LAN settings to the factory default state The effect of this include changing the IP address and hostname so LAN communication could be lost Therefore only use this command as a diagnostic tool See section 4 2 for a description of the LAN reset condition and section 3 4 to restore the connection Syntax SYST...

Page 42: ... fault condition These are described in the Error and Status section 7 8 below 7 7 1 Identity Query This is a request for the power supply to identify itself It is used by the remote computer to verify the correct instrument is being communicated to and to determine the model ratings of the power supply Syntax IDN Response Four fields separated by commas Field 1 Manufacturer name Example LAMBDA Fi...

Page 43: ...ns Syntax TST Responses 0 when the self test passed 1 when the self test failed 7 8 ERROR AND STATUS COMMANDS Any program that operates a remote power supply should routinely verify that the supply is accepting commands as expected There is always a chance that the program sent a command incorrectly the supply is set so a command cannot be carried out or a fault condition has shut down the supply ...

Page 44: ...registers are cleared by sending STAT QUES or CLS See Section 10 for a complete list of SYSTEM ERROR messages Syntax SYSTem ERRor Example SYST ERR Response error number error description serial address error number is a value from 350 to 399 Negative values are errors The command was not understood or it could never be executed by the power supply Positive values are warnings The command was under...

Page 45: ...or the diagram Condition Registers contain bits that are set when a condition or error occurs The bits are only cleared when the condition or error is cleared The contents may be read but not changed Enable Registers individual bits may be set to allow the status and errors to be latched for reading even after the status or error condition has cleared The power up default is all zeroes that is no ...

Page 46: ...ow ISUM ENA OFF SO OVP FLD OTP AC Output Enable Over Voltage Prot Fold Back Prot Over Temperature AC Fail Output Off Shut Off ISUM for Multidrop ENA OFF SO OVP FLD OTP AC 6 5 4 3 2 1 LSB 0 MSB 15 8 9 10 11 7 6 5 4 3 2 1 LSB 0 MSB 7 Constant Voltage Local Remote Spare Foldback Enabled Auto Start Enabled Constant Current CV CC LOC FBE AST NFLT 0 0 No Fault Spare 6 5 4 3 2 1 LSB 0 MSB 15 7 0 0 0 0 IN...

Page 47: ...ate a service request when selected events occur The Genesys power supply LAN option does not support the service request feature although the SRE command will set bit 6 in the Status Byte Syntax SRE nnn Parameter nnn is a number from 0 to 255 The bit assignments are the same as the Status Byte in the table above Example SRE 255 will cause Status Byte bit 6 to be set if any other bit is set Query ...

Page 48: ...d even if the output is in transition because of a prior command Syntax OPC 7 8 10 Read the Operation Complete This query will read back if all pending operations are completed This query will always return 1 even if the DC output is in transition because of a prior command Syntax OPC THE SCPI ERROR AND STATUS REGISTERS 7 8 11 Read the Operational Condition Condition Register This register reports...

Page 49: ...ent register which means bits are set to 1 when a condition occurs and they are not cleared until the register value is read or the CLS command is sent For the condition to be latched as an event the event bit must be enabled as described in section 7 8 12 above The bit assignments are the same as the Operational Condition Condition Register described in section 7 8 11 above Syntax STATus OPERatio...

Page 50: ... Questionable Condition Condition Register see section 7 8 14 above are set a bit can be set in the Status Byte STB see section 7 8 5 This is done by setting bits in the enable register Changing the value of the enable register has no affect on the value in the condition register Syntax STATus QUEStionable ENABle nn Parameter nnn is a number from 0 to 4095 The bit assignments are the same as the t...

Page 51: ...r the operational section 7 8 12 and all of the events for the questionable section 7 8 15 registers Sending this command is the same as sending STAT OPER ENAB 132 and STAT QUES ENAB 4095 Syntax STATus PRESet Example STAT PRES Query This command has no query form 7 9 RS 485 MULTI DROP COMMANDS For a description of using the RS 485 Multi drop option and the global programming commands see section 9...

Page 52: ...This page is intentionally blank ...

Page 53: ...ivers These are Interchangeable Virtual Instrument drivers that allow you quickly write automation programs in Microsoft Visual Studio and other environments Wrappers for the NET interface are also available LabView Drivers These are drivers that allow you to quickly write automation programs in the National Instruments LabView programming language Raw Socket Example This is a small program writte...

Page 54: ...This page is intentionally blank ...

Page 55: ...must be different RS 485 Addresses must be different RS 485 Addresses may be the same RS 485 Link Cable LAN Option MD Option LAN Option MD Option MD Option MD Option Up to 30 supplies in one chain Up to 30 supplies in one chain LAN J3 OUT J3 OUT J3 IN J3 OUT J3 IN Optional RS 485 terminators J3 OUT J3 IN J3 OUT J3 IN J3 OUT LAN Figure 7 Configuring a Multi drop System of Supplies 9 2 Configure the...

Page 56: ...shown in the list C Or use the RS 232 485 port with a communication program such as HyperTerminal to send the MDAV query if the response is 1 the multi drop is enabled in the supply Refer to the Technical Manual for details on using the RS 232 485 port 9 3 2 To Set Up an RS 485 Chain A If the supply has the LAN or IEEE option disable the option by sliding the LAN enable switch to DOWN See section ...

Page 57: ...ommand is still being processed There is no query version of these commands Global settings must be queried by selecting one power supply and reading it s setting The error and status registers operate differently See section 9 4 10 for details The global commands are not SCPI compliant The global commands do not affect which power supply has been selected using the INST SEL command For example if...

Page 58: ...g applied to all power supplies Example GLOB CURR 350 9 4 6 Global Set the Output ON or OFF This is the global version of the OUTP STAT command in section 7 2 3 Syntax GLOBal OUTPut STATe 0 1 OFF ON Example GLOB OUTP STAT 1 or GLOB OUTP STAT ON 9 4 7 Global Reset Power Supplies This is the global version of the RST command in section 7 7 2 Syntax GLOBal RST Example GLOB RST 9 4 8 Global Save All S...

Page 59: ...bit 0 This is called the ISUM bit and it may be used to set a bit in the Status Byte if an event occurs in the LAN or any RS 485 supply Other differences are The Status Byte and Standard Event registers are global These do not change as different power supplies are selected with INST SEL The Questionable Condition and Operational Condition registers are embedded in the selected supply These will c...

Page 60: ...This page is intentionally blank ...

Page 61: ...o many SYST ERR messages are stored in this queue and the newest messages are discarded The max number of stored messages is 10 300 Execution error General execution error 301 PV above OVP Attempt to program voltage above OVP setting or more exactly PV not 5 of voltage rating below OVP 302 PV below UVL Attempt to program voltage below UVL setting or more exactly PV not 5 of voltage rating above UV...

Page 62: ...ial receive buffer in LAN card is full because the Main micro sent too many characters 343 Internal timeout LAN card did not receive response from supply before timeout period 344 Internal checksum LAN card received checksum error from supply 345 Internal checksum error LAN card detected checksum error in message from supply 399 Unknown Error Error not known ...

Page 63: ...TOMER SUPPORT For further assistance regarding the LAN interface please contact the factory or a local service center in your area To get a list of service centers in your country go to http www lambdaeurope com ...

Page 64: ...NOTES ...

Reviews: