
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!
Unless TDK has made major changes, the TDK Lambda Genesys does not support those commands.
There is no SCPI (SYST:REM)
The
OUTPVOLT 95 would be PV 95 <-- editedThe 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
itthe command listMy (rough) procedure is:
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.
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.
No byte swap, no checksum
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!