hi all, I realise this is a old topic, but it came up in my research about talking to these dc loads and programming.
My dc load is the tekpower 3710A, which the max limit that can be set on it is 200w. Mine has the 2 modules inside so appears that it would be able to do 300w if the software setting would allow!
I am developing a solar battery test and these are around 54v and i want a current discharge of 4A so of course this is just over the 200w limit and of course the 3710A doesn't allow or like the 220w load and turns off!
so I gave AI the communication protocol manual and started digging, after a lot of time i managed to get AI to produce a working python program that controls the load perfectly! it appears there are some idiosyncrasies in controlling these which i can easily see could be the problem with the official control software, one being the software does not give back full control to the user and the dc load is stuck in remote mode, this is because a 2 step shutdown is required! also when using command 90 to set the unit up, AI struggled a bit to get this right, i am not sure if the manual is wrong on this command, or ambiguous, or if AI just struggled (but i cannot be bothered to check) but this command to set the max limit was difficult!
anyway so I was able to set my 3710A to the limits the 3711A has! and it now works above the 200w limit! I was able to set max wattage to 400w!
I have done a python script that just does this! changes the max limit to 400w. if you then go into the menu and change it, it will then default back to the max of 200w, so 200w is the max you can input from the menu, so it is that's which is restricting the units! after setting the 400w with the program this will remain until you try and alter it in the max power menu.
here is a working python script if you want to change it yourselves and have a play!
the script when run asks for the com port the unit is on (in my case it was COM4) the baud rate (mine i have set to 9600 as that was very reliable speed and don't need it faster) and address the unit is on (usually 0). all these can be found in the instruments menu. you do of course need a rs232 to TTL converter on the unit for talking to the unit. I made my own one up.
to run this python script you will ned python installed on your pc and pyserial module
hope this helps someone in the future
this is what the attach script produces:-
C:\Users\->py set400w.py
============================================================
Array DC Load Max Limits Utility (30 A / 400 W)
--- Configuration ---
Enter COM Port (e.g., COM4): com4
Enter Baud Rate (e.g., 9600): 9600
Enter DC Load Address (Default 0, Hex/Dec OK): 0
Attempting connection to com4 at 9600 (Address 0x0)...
============================================================
--- 0. Initial Status Check (Command 0x91) ---
Sending: AA0091000000000000000000000000000000000000000000003B
Response: ✅ DATA IS CLEAN! Checksum 0xb5
Status: Load OFF, Control LOCAL
--- 1. Setting Control to Remote Mode (Load OFF) (Command 0x92) ---
Sending: AA0092020000000000000000000000000000000000000000003E
--- Setting Max Limits (30A / 400W) ---
--- 2. Sending 0x90 Set Limits Command (Command 0x90) ---
Sending: AA00903075A00F0001000000000000000000000000000000008F
Limits Set: Max Current = 30.00 A, Max Power = 400.0 W
--- 3. Confirming Limits Set (Command 0x91) ---
Sending: AA0091000000000000000000000000000000000000000000003B
Response: ✅ DATA IS CLEAN! Checksum 0x8e
Status: Load OFF, Control REMOTE
--- 4. Explicitly Turning Load OFF (Still Remote) (Command 0x92) ---
Sending: AA0092020000000000000000000000000000000000000000003E
--- 5. Returning Control to LOCAL Mode (Load OFF) (Command 0x92) ---
Sending: AA0092000000000000000000000000000000000000000000003C
✅ SUCCESS: Max Current and Max Power limits have been set.
Connection closed.
============================================================