MechanicalGuy (Customer) asked a question.

Programming Help - TDK Lambda Power Supply

Hello, I am a Mechanical Engineer with very little programming experience. I know enough about ProSuite to get myself in trouble and do some basic things. On a particular project I am working on I am trying to switch from a B&K power supply to a TDK Lambda power supply. I have the code that someone else has written for me to communicate with the B&K (below) but don't know the first thing about changing it so it will communicate with the TDK (manual linked). Any help would be greatly appreciated as this is beyond my depth, again I'm more of a "hands on" person and this programming stuff is fairly new to me still. Thanks!

 

image.pnghttps://product.tdk.com/system/files/dam/doc/product/power/switching-power/prg-power/instruction_manual/genesys-ieee-user-manual.pdf


  • kewakl (Customer)

    Unless TDK has made major changes, the TDK Lambda Genesys does not support those commands.

    There is no SCPI (SYST:REM)

    The OUTP VOLT 95 would be PV 95 <-- edited

    The OUTP ON/OUTP OFF would be OUT [ 1 | ON ] OUT [ 0 | OFF ]

    There is no FREQ command for TDK

     

    The Genesys does not support 2-wire RS-485. As the TDK tech person told me:

    The supply will see the command, send the OK, see its own OK and respond to the OK -- ad nauseam.

    I use a lot of Genesys PSUs with P-Series CPUs.

    I will attempt to answer your comms questions -- and possibly some code questions.

    Do you have a TDK/Lambda Genesys manual? the command list should be in that book.

    If not, I (think that I) can provide it the command list

    Expand Post
  • kewakl (Customer)

    My (rough) procedure is:

    1. Send ADR ## (## is the node address of the desired PSU)
    2. Receive OK
    3. Send RST
    4. Receive OK
    5. Send IDN?
    6. Receive OK
    7. Send PC #.## (#.## is current limit)
    8. Receive OK
    9. Send PV ###.## (###.## is voltage limit)
    10. Receive OK
    11. Send OUT 1 (turn on power supply output)
    12. Receive OK

    The OK (ASCII 79 and 75) is the response from the addressed PSU - from step 1.

     

    To communicate with multiple power supplies, you can then repeat this procedure using the node address of the next power supply or you can use the global commands.

    With the global commands, ALL power supplies in the chain will execute the command. You will NOT receive an OK.

    Expand Post
    • MechanicalGuy (Customer)

      Does this look correct? Not sure about "termination code" and "byte swap option", again I'm no programmer sorry about needing a step-by-step walk through.

       

      5uagpb0a

  • kewakl (Customer)

    Looks better. I don't use the 0x0A , just a single 0xD. If yours works, use it.

    Don't worry about asking. I NEED to return some of the guidance that I have received in my work!