TDK-Lambda GENESYS Series User Manual

TDK-Lambda GENESYS Series User Manual

Lan interface
Hide thumbs Also See for GENESYS Series:
Table of Contents

Advertisement

USER MANUAL FOR
LAN Interface
GENESYS™ POWER SUPPLIES
Document: 83-034-60000 Rev A
IA672-04-01 Rev I
Applies To:
This document applies to LAN cards with a
LAN:3.1.0.0
firmware revision that ends in:
TDK-Lambda

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the GENESYS Series and is the answer not in the manual?

Questions and answers

Summary of Contents for TDK-Lambda GENESYS Series

  • Page 1 USER MANUAL FOR LAN Interface GENESYS™ POWER SUPPLIES Document: 83-034-60000 Rev A IA672-04-01 Rev I Applies To: This document applies to LAN cards with a LAN:3.1.0.0 firmware revision that ends in: TDK-Lambda...
  • Page 2: Table Of Contents

    Table of Contents GENERAL INFORMATION ..................4 1.1. Introduction ....................... 4 1.2. Feature Summary ..................... 5 SPECIFICATIONS ....................6 2.1. Power Supply Specifications ................6 2.2. LAN Specifications .................... 6 2.3. LAN Command Speed ..................8 SELECT THE CONTROL METHOD ................. 9 3.1.
  • Page 3 PROGRAMMING USING IVI DRIVERS ..............32 8.1. IVI Description ....................32 8.2. IVI Support ...................... 32 PROGRAMMING USING SOCKETS ..............33 9.1. Socket Description ..................33 9.2. Communicating Using Sockets ............... 33 9.3. Controller Access: Single and Multiple Clients ..........33 9.4.
  • Page 4 TROUBLESHOOTING .................... 64 15.1. Cannot See the IP Address, LAN Status LED Stays Red ....... 64 15.2. IP Address is All Zeroes, LAN Status LED Stays Red ........64 15.3. Cannot Communicate to the Power Supply ............. 65 15.4. Cannot View Web Pages Over a Peer-to-Peer Network ........65 15.5.
  • Page 5: General Information

    1. GENERAL INFORMATION 1.1. Introduction The Local Area Network (LAN) option for the Genesys series power supply allows the user to remotely program, measure and check status of the power supply. It uses an Ethernet connection like those used to connect computers to each other and to the Internet A computer’s web page browser may be used to operate the power supply through a built- in web page server.
  • Page 6: Feature Summary

    1.2. Feature Summary A. Communicate over any standard TCP/IP network 1. LAN (Local Area Network) 2. WAN (Wide Area Network) 3. Communicate across the world using the Internet B. Web page viewable with any web page browser, such as Internet Explorer 1.
  • Page 7: Specifications

    Accepts patch or cross-over cable connection Auto-Negotiate Selects fastest of 10Base-T or 100Base-T networks (10 or 100 Megabits per second) NETWORK CONFIGURATION TDK-Lambda assigned: 00:19:f9:xx:xx:xx MAC Address IP Address View or set from front panel or embedded web page DHCP Get address from network server.
  • Page 8 Active Control GUI Program and read output settings Send Commands Send SCPI commands, read errors Help Link to TDK-Lambda web sites SUPPLY CONFIGURATIONS Local Control Supply may be run from front panel even if LAN is monitoring LAN Remote Control...
  • Page 9: Lan Command Speed

    2.3. LAN Command Speed The following communication speeds are typical values only. In addition to the variability in the Genesys™ LAN interface, there are timing variations within the controller and the network routing. The following speed specifications are subject to change without notice. Testing was done using a single-client TCP socket application with the power supply set for a static IP address.
  • Page 10: Select The Control Method

    3. SELECT THE CONTROL METHOD 3.1. A Variety of Control Methods The Genesys™ power supply with LAN is very flexible. In addition to the LAN, there are other ways the supply can be used. See the Technical Manual for Genesys™ Power Supply for more details on the local (front panel), serial (RS-232/485), or analog (J1) control.
  • Page 11: Lan Option Rear Panel View

    3.2.3. Select LAN Remote Mode Selecting the LAN mode will allow programming over the Ethernet cable. Any settings and measurements may be done from a remote computer using the power supply’s built-in web pages or using SCPI programming. To select the LAN mode: A.
  • Page 12 3.3.2. Link and Activity LED: this small LED, embedded in the RJ-45 socket, glows green when the connection is made to an active network and it blinks when any message packets are detected. 3.3.3. Collision LED: this small LED, embedded in the RJ-45 socket, blinks green when the LAN packets are corrupted by collisions.
  • Page 13: Connect To Network

    4. CONNECT TO NETWORK 4.1. LAN Cable The LAN cable must be supplied by the customer. It may be a standard straight “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. Note The serial link cable (0.5 m long) provided with the Genesys™...
  • Page 14: Power-Up The Lan Power Supply

    B. PEER-TO-PEER NETWORK: this is typically the situation when you connect the Genesys™ supply directly to a computer that is not a network server. The power supply will configure its own IP address and other settings. Figure 5. Peer-to-Peer Connection Diagram 4.3.
  • Page 15: Ip Addresses

    4.4. IP Addresses The simplest and most reliable way to open a network connection is with the power supply’s IP address. This is a group of four numbers separated by periods (for example: 10.1.15.123). This IP address may be viewed from its front panel (see section 5.1). There are three modes which the power supply can get an IP address, as show in this table: IP Address...
  • Page 16: Description And Dns Service Names

    A custom hostname can be created through the web pages (see section 6.6.2). For example, the hostname can be changed to Heater_3. Hostname Conflict: The power supply can detect if its hostname is already used by another device. This is called a hostname conflict. In this case, the supply will make its name unique by appending a dash and number to it.
  • Page 17: Lan Setup

    5. LAN SETUP 5.1. View the IP and MAC Addresses When the power supply is running with the LAN enabled, the IP and MAC addresses may be viewed on the front panel by following these steps: A. Press and hold the FOLD button for three seconds. The 7-segment displays will show something such as: IP-1 By turning the voltage encoder, the complete IP and MAC addresses may be seen.
  • Page 18: Lan Reset

    D. To apply the new address, momentarily press the “FOLD” button. See the display shows for a few seconds: Hold This shows the LAN connection is on hold while acquiring the new address.  If you do not press “FOLD” soon enough, the display returns to normal and the old address is kept.
  • Page 19: Default Lan Settings

    5.4. Default LAN Settings  DHCP is enabled  If DHCP fails to get a lease, the auto-IP settings will be obtained: IP address: 169.254.xxx.xxx (see section 4.4) Subnet mask: 255.255.0.0 Default gateway 0.0.0.0 DNS Server 0.0.0.0  GEN<nnn><V or A>−<nnn> Hostname: (see section 4.5) ...
  • Page 20: Web

    6. WEB PAGES 6.1. Benefit of Web Pages The Genesys web pages are useful for:  Reading the supply’s model, identity, revision and LAN setup information  Configuring the LAN connection  Programming and reading the supply’s DC output This is all done graphically. There are no commands to look up 6.2.
  • Page 21: The Home Page

    6.3. The HOME Page The following page appears when the web page is first opened or when it is refreshed: Figure 6. Web HOME Page VISA Name Using IP Address: For automation programming, VISA is a type of communication protocol. For LAN instruments, the IP address may be used in the VISA resource descriptor.
  • Page 22: Logging In

    6.4. Logging In To change power supply output or the LAN settings, a user must first log in. When the DC Power tab or LAN tab (on the left side of the web page) are clicked, a login box will appear: 1.
  • Page 23: Dc Power Page

    6.5. DC Power Page When the “DC Power” tab is clicked, the following web page opens. This page, and its sub-menus, allow you to operate the power supply and adjust its output settings DC Power  Output Page 6.5.1. When the “DC Power” tab is selected, the “Output” soft front panel (GUI) loads first. Blink Identify: When this button is clicked, the power supply front panel blinks and the rear panel LAN LED blinks.
  • Page 24 Settings: These fields show, and allow you to change, the selected power supply’s output voltage and current setpoints and if the output is set on or off. The settings cannot be changed until you have logged-in as ‘admin’. (see section 6.4 above for log-in) 1.
  • Page 25 DC Power  Protection Page 6.5.2. On 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 The four settings are: A.
  • Page 26 DC Power  Utility Page 6.5.4. This page is used to send any SCPI command and see the response. It is a learning tool for SCPI operation and it allows commands which are otherwise not on the web pages. The SCPI commands are described in section 11. You must log-in as ‘admin’...
  • Page 27: Lan Page

    6.6. LAN Page When the “LAN” tab is clicked, the following web page opens. This page, and its sub-pages, allow you to view and configure the power supply’s LAN settings. You must login as ‘admin’ to change any settings. See section 6.4 for login. LAN ...
  • Page 28 LAN  Configure  Modify Page 6.6.2. The “Modify” button on the “LAN  Configure” page allows you to change the LAN settings. You must be logged-in as ‘admin’ to enable the button. DHCP Enabled / Auto IP This is the default setting for the Genesys™ LAN. When the DHCP Enabled / Auto IP radio button is selected, only the following settings may be changed.
  • Page 29 Static IP For many automation systems, the instrument IP addresses are set to static. This prevents the IP addresses from changing, which may happen if a DHCP server is used to generate the address. If the Static IP radio button is selected, the web page will allow you to change the following settings: Note If the new IP address is already used by another device on the subnet...
  • Page 30 LAN  Advanced Page 6.6.3. Click the “LAN  Advanced” tab to view six advanced LAN settings: You may change the settings by logging in as ‘admin’ and clicking the Modify button: LAN Keep-Alive: If you are logged in as an ‘admin’, or using VISA or TCP sockets, this is how many seconds the connection may be unused (idle) before the power supply automatically logs you out or closes the port.
  • Page 31: Help Page

    6.7. HELP Page A Help tab is available. This page is a set of Internet links to TDK-Lambda website pages. Your network administrator or DHCP server must assign the power supply’s default gateway (see section 6.6.2) and give privileges to view and download from the internet.
  • Page 32: Programming Using Visa Drivers

    7. PROGRAMMING USING VISA DRIVERS 7.1. VISA Description In the test and measurement industry, Virtual Instrument Software Architecture (VISA) is a popular framework that includes hardware drivers, configuration utilities and connection managers. A variety of communication busses are supported. VISA drivers are available from several instrument vendors.
  • Page 33: Programming Using Ivi Drivers

     Pacific Mindworks is a leading developer of IVI technology. It offers several white papers on IVI: http://www.pacificmindworks.com/  The “LambdaGenPS” IVI drivers and some “Getting Started” tutorials are available from the TDK-Lambda website: http://www.us.tdk-lambda.com/hp/product_html/drivers.htm IA672-04-01-Rev. I 8303460000 Rev A...
  • Page 34: Programming Using Sockets

    The basic socket calls for any language are: create, connect, send, read, and close. The exact functions depend on the programming language. Some socket examples can be found at the TDK-Lambda website: http://www.us.tdk-lambda.com/hp/product_html/drivers.htm There are two types of socket protocols which may be used, TCP and UDP. Each has its own port number, as described below.
  • Page 35: Input Buffer Requirements

    The rules for the One Client or Multiple Clients are: LAN Setting  One Client Only Multiple Clients Web Page Multiple web pages may be open at any time. Not logged-in You may view but cannot change the power supply operation. Web Page You cannot log in as ‘admin’...
  • Page 36: Message Terminators

    9.5. Message Terminators When you are using a program that sends separate SCPI commands out through a TCP socket, the socket drivers may combine all the messages into one long packet. Therefore, it is necessary to add a terminator character to the end of each SCPI command. WARNING When using sockets, all SCPI commands must have a terminator character.
  • Page 37: Connecting Over Wan

    CONNECTING OVER WAN To connect over the Wide Area Network (i.e.: the global internet), the following settings must be made in the network server. 10.1. View Web Pages Over WAN The Genesys™ power supply LAN interface has a server listening in Port 80. The network administrator must obtain and assign a Global IP for the power supply.
  • Page 38: Scpi Command Reference

    SCPI COMMAND REFERENCE 11.1. Command Syntax 11.1.1. General SCPI Rules Terminator: For VISA, no terminator is required. For TCP or UDP sockets, a terminator is recommended. Acceptable terminators are line-feed, carriage-return, or semi-colon. Characters: commands are made of printable letters, numbers, spaces and some punctuation.
  • Page 39: Configuring The Output

    11.1.3. Examples of Alternative Forms of SCPI Command For a command: [SOURce:]VOLTage:PROTection:LEVel <nn.nn|MAX> The following are correct forms of the same command: SOURCE:VOLTAGE:PROTECTION:LEVEL MAX (longest form of command) :VOLTAGE:PROTECTION:LEVEL MAX (SOURCE and colon are optional) VOLT:PROTECTION:LEVEL MAX (Abbreviate VOLTAGE) VOLT:PROT:LEV MAX (Shortest form of command) :volt:prot:lev max (Small letters acceptable)
  • Page 40: Measuring The Output

    11.2.2. Set the Current Limit This command sets the current limit. When the power supply is running in constant- current mode, this will be its output current The current limit, rounded to four digits, may be viewed on the supply front panel by pressing and releasing the PREView button [SOURce:]CURRent[:LEVel][:IMMediate][:AMPLitude] Syntax:...
  • Page 41: Operating Modes

    11.4. Operating Modes 11.4.1. Read CV or CC Modes The power supply may operate in the constant-voltage or constant-current mode. The mode is selected automatically depending on the voltage limit, current limit and load settings. The mode is not defined when the supply’s output is off The CV or CC mode is shown on the supply front panel LEDs above the encoders SOURce:MODe? Syntax:...
  • Page 42: Output Protection

    11.4.3. Set Auto-Restart or Safe-Start Modes This command sets the way the power supply will power-up when the AC is switched on. It also affects how the supply recovers when latching faults are cleared Latching faults include: AC fault, over-temperature, J1-Enable and 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...
  • Page 43 VOLT:PROT:LEV 70 Examples: :VOLT:PROT:LEV MAX VOLT:PROT:LEV? will return 70 in the example Query: SYSTEM:ERROR? may return errors including: Errors: +304,”OVP below PV” -222,”Data out of range” 11.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 11.2.3) [SOURce:]VOLTage:PROTection:TRIPped?
  • Page 44: Lan Specific Commands

    11.5.4. Set Foldback Protection This command enables or disables the foldback protection. When the FB protection is enabled, if the power supply goes into constant-current (CC) mode for about a ½ second, then the output will turn off, the front panel will show “Fb” and the Questionable Condition register bit 3 will be set high.
  • Page 45 11.6.2. Read the Hostname The hostname (see section 4.5) may be read with this query. SYSTem:COMMunicate:LAN:HOST? Syntax: SYST:COMM:LAN:HOST? Example: Response: The hostname string, up to 15 characters long. Example: GEN500A-339 is a typical factory hostname. 11.6.3. Read the IP Address The IP address (see section 4.4) may be read with this query.
  • Page 46: Common Commands

    11.6.7. Serial Command Pass-Through The Genesys™ power supply RS-232/485 (serial) command set has functions that cannot be implemented by the LAN SCPI command set. The serial command pass- through allows any serial command to be sent through the LAN SCPI port. The response message from a pass-through command is the same response as seen over the serial port.
  • Page 47 This is query to launch a simple self-test. It verifies the basic connections between the LAN microcontroller and the control board microcontroller. The self-test result (pass or fail) is read from the message queue. If the self-test failed and it returns 1, contact TDK-Lambda Americas Inc. Customer Service for further instructions. *TST ?
  • Page 48: Error And Status Commands

    11.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 49 See Section 13 for a complete list of SYSTEM:ERROR messages SYSTem:ERRor? Syntax: SYST:ERR? Example: Response: <error number>,”<error description>;<serial address>” <error number> is a value from –100 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.
  • Page 50 USING THE ERROR AND STATUS REGISTERS The SCPI error and status registers report many conditions, statuses and events into short numeric codes. Momentary events may be latched so the remote computer can read about them at a later time. A “fan out” architecture is used to summarize all the data into one Status Byte register.
  • Page 51: Figure 7. Error And Status Registers

    THE IEEE-488.2 ERROR AND STATUS REGISTERS Figure 7. Error and Status Registers IA672-04-01-Rev. I 8303460000 Rev A...
  • Page 52 11.8.6. Read the Status Byte Register The Status Byte register is a summary of all events that have been enabled. Figure 7 shows the commands that are used to enable events. The Status Byte is a condition register, that is, reading it will not clear the contents. To clear the Status Byte register, the connected event registers must be read or cleared.
  • Page 53 11.8.8. Read the Standard Event Status Event Register This is a basic status and fault register that was first defined in IEEE-488.2. It is an event register, which means bits are set to “1” when a condition occurs and they are not cleared until the register value is read using the *ESR? query or the *CLS command These are the bit assignments of the ESR register:...
  • Page 54 THE SCPI ERROR AND STATUS REGISTERS 11.8.12. Read the Operational Condition - Condition Register This register reports several operating modes and settings of the power supply. Although separate SCPI commands may also report this information, the register is beneficial because it may allow any brief mode change to be latched into an event register for later reading.
  • Page 55 11.8.14. 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.
  • Page 56 11.8.16. Set the Questionable Condition Enable Register When one or more bits in the Questionable Condition Condition Register (see section 11.8.15 above) are set, a bit can be set in the Status Byte (*STB,see section 11.8.6). 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 STATus:QUEStionable:ENABle <nn>...
  • Page 57: Rs-485 Multi-Drop Commands

    RS-485 MULTI-DROP COMMANDS 12.1. Introduction The Genesys™ power supply LAN option allows you to control up to 29 other supplies which do not have the LAN option installed. All are controlled through one IP address from the supply with the LAN option. This is called the Multi-drop configuration.
  • Page 58: Configure The Lan Supply

    12.2. Configure the LAN Supply The LAN power supply, at the head of the multi-drop chain, is called the Master supply. 12.2.1. To Set Up the Master Power Supply: A. Connect the LAN to a computer as described in section 4. B.
  • Page 59: Multi-Drop Programming Using Scpi Commands

    12.3.3. Optional RS-485 Terminator For very long RS-485 cable distances, or if many supplies are chained together, a signal terminator may added to improve signal integrity. The terminator is plugged into the J3-OUT of the last supply in the chain (see diagram above). To make a terminator: A.
  • Page 60 12.4.3. Selecting a Supply This command will select one power supply in a multi-drop chain. Subsequent commands and queries will operate only on that supply, until a new one is selected. At power-up, the LAN supply is automatically selected INSTrument:SELect <nn> Syntax: <nn>...
  • Page 61 12.4.9. Global Recall All Settings This is the global version of the *RCL 0 command in section 11.7.4 GLOBal:*RCL 0 Syntax: GLOB:*RCL 0 Example: 12.4.10. Error and Status Registers The error and status registers described in sections 11.8.6 through 11.8.18 operate somewhat differently in a multi-drop system.
  • Page 62: System:error? Messages

    SYSTEM:ERROR? MESSAGES These are the system error messages which may be returned from the “SYST:ERR?” query. See section 11.8.1 for a description of this system error queue ERROR ERROR MESSAGE ERROR DESCRIPTION “No error” No error reported “Command error” -100 LAN card receives command with unspecified error A character was received that is not: “Invalid Character”...
  • Page 63 General non-specified Internal message fault. “Internal message fault” +340 May be from unexpected port disconnects and reconnects. “Input overflow” +341 LAN card input data buffer is too full. Serial receive buffer in LAN card is full because the Main micro sent “Internal overflow”...
  • Page 64: Sample Programs

    SAMPLE PROGRAMS 14.1. Web Downloads Refer to Lambda website for the latest support software at: http://www.us.TDK-Lambda.com/HP/product_html/drivers.htm Downloads include: A. GUI program This is a “Graphical User Interface” program that gives you remote control of the power supply using the LAN network B.
  • Page 65: Troubleshooting

    TROUBLESHOOTING 15.1. Cannot See the IP Address, LAN Status LED Stays Red If you press and hold the front panel FOLD button for 3 seconds, the voltage display should show “IP-1“ (see section 5.1). If “IP-1” does not show, then the LAN enable switch has not been set. To fix this: A.
  • Page 66: Cannot Communicate To The Power Supply

    15.3. Cannot Communicate to the Power Supply If the LAN Status LED is green and the front panel shows a valid IP address, but you still cannot open a web page, VISA or socket connection then try “pinging” the power supply. The ping utility verifies the computer can send a message and get a response from the power supply over the network.
  • Page 67: Web Page "Refresh List" Does Not Find Slave Supplies

    15.6. Web Page “Refresh List” Does Not Find Slave Supplies When you are using a LAN Multi-drop chain of supplies (see section 12), the web page Refresh List button should detect all the connected RS-485 slave supplies. If it does not: A.
  • Page 68: Glossary

    GLOSSARY Auto-IP: This is when the power supply configures its own settings because they cannot be obtained using a network server (DHCP). With auto-IP, the power supply will select a random address in the range of 169.254.xxx.xxx. Also called Link-Local addressing Auto-MDIX: A connection that automatically detects either a patch (straight-through) or a...
  • Page 69 Query: A message sent to the power supply which reads back a setting or a measurement. A query does not change any settings. It may be sent using a SCPI command or from the web pages Socket: A universal protocol for messages over LAN. Libraries for writing socket programs are available for almost all program environments and operating systems, including industrial PLCs.
  • Page 70 This Page is Blank IA672-04-01-Rev. I 8303460000 Rev A...

Table of Contents

Save PDF