Author Topic: Serial to usb on Kunkin KP184 electronic load  (Read 46785 times)

0 Members and 2 Guests are viewing this topic.

Offline RhdZ

  • Contributor
  • Posts: 12
  • Country: de
Re: Serial to usb on Kunkin KP184 electronic load
« Reply #100 on: March 03, 2021, 11:15:43 am »
Command is sent correct, but obviously the reply is not read correct.
In HTerm it still works.

I have to leave now. Will be back in the evening...
 

Offline RhdZ

  • Contributor
  • Posts: 12
  • Country: de
Re: Serial to usb on Kunkin KP184 electronic load
« Reply #101 on: March 03, 2021, 11:17:04 am »
picture from console attached

BTW: How can I attach more than one picture to a post?
 

Offline interflexo

  • Regular Contributor
  • *
  • Posts: 131
  • Country: pt
Re: Serial to usb on Kunkin KP184 electronic load
« Reply #102 on: March 03, 2021, 11:50:27 am »
New KP184 Software Version 1.0.16.0:

Changes:

1. Added a new configuration setting for CRC LSB First - New 2020 FW and above.

Setup KP184 Software V1.0.64.0

I have no FW 2020 Kunkin KP184 hardware to test this right now. If someone can have a go and report it would be explendid.

It's strange for the manufacturer to be messing with these raw settings and not updating the user manual...
« Last Edit: February 14, 2024, 08:32:40 pm by interflexo »
 

Offline HKJ

  • Super Contributor
  • ***
  • Posts: 2892
  • Country: dk
    • Tests
Re: Serial to usb on Kunkin KP184 electronic load
« Reply #103 on: March 03, 2021, 01:25:33 pm »
Command is sent correct, but obviously the reply is not read correct.
In HTerm it still works.

You can skip the initial message by adding a semicolon ; before the "#verifyDevice 1840 model?" line or remove the line.
All the null pointer stuff is because the answer is missing and can be ignored.
 

Offline RhdZ

  • Contributor
  • Posts: 12
  • Country: de
Re: Serial to usb on Kunkin KP184 electronic load
« Reply #104 on: March 03, 2021, 05:00:51 pm »
@interflexo
Your app works with CRC LSB First checked in the settings menu!
 
The following users thanked this post: interflexo

Offline RhdZ

  • Contributor
  • Posts: 12
  • Country: de
Re: Serial to usb on Kunkin KP184 electronic load
« Reply #105 on: March 03, 2021, 05:02:39 pm »
@HKJ
Still problems with receive timeout, if I comment out the version check
 

Offline HKJ

  • Super Contributor
  • ***
  • Posts: 2892
  • Country: dk
    • Tests
Re: Serial to usb on Kunkin KP184 electronic load
« Reply #106 on: March 03, 2021, 07:09:51 pm »
@HKJ
Still problems with receive timeout, if I comment out the version check

I wonder what is wrong, but it is probably best to move this testing out of this thread and to email or PM. Anybody that what to continue testing on this new version of the load can email/PM me.
 

Offline interflexo

  • Regular Contributor
  • *
  • Posts: 131
  • Country: pt
Re: Serial to usb on Kunkin KP184 electronic load
« Reply #107 on: March 03, 2021, 07:55:10 pm »
@interflexo
Your app works with CRC LSB First checked in the settings menu!
@RhdZ
Many thanks for getting to the bottom of this subject regarding Kunkin firmware 2020 and ModBus RS232 interface.
Pretty weird stuff.
 

Offline snoozer

  • Contributor
  • Posts: 39
  • Country: ie
Re: Serial to usb on Kunkin KP184 electronic load
« Reply #108 on: March 03, 2021, 08:20:02 pm »
Hello,

super job on this one. Mine appears to work now with the GUI from interflexo. I remember further up in the topic was a CLI tool as well, cant find it now. Anybody got that to work as well ?

Thank You!
Jan P.
 

Offline aristarchus

  • Regular Contributor
  • *
  • Posts: 107
  • Country: 00
Re: Serial to usb on Kunkin KP184 electronic load
« Reply #109 on: March 04, 2021, 12:39:23 am »
I think, I've found the solution to the problem:
The documentation about the serial commands in the manual is wrong!
The checksum has to be sent LSByte first (not MSByte first as written in the manual and shown in the examples).
..

Great job done there, congrats @RhdZ for solving this!


It's strange for the manufacturer to be messing with these raw settings and not updating the user manual...

Indeed, although the device is a favorite of mine, the best value for money, it is evident that the company lacks professionalism in that regard.

 

Offline RhdZ

  • Contributor
  • Posts: 12
  • Country: de
Re: Serial to usb on Kunkin KP184 electronic load
« Reply #110 on: March 04, 2021, 10:15:16 am »
Great job done there, congrats @RhdZ for solving this!

Thank you!
Some more of my few hairs are grey now  :)

To come back to the original topic:
I can control the KP184 also via a USB to RS232 cable with Profilic chip (Windows 7).
I bought this years ago and don't know the brand.
 

Offline ferencvarga46

  • Newbie
  • Posts: 4
  • Country: hu
Re: Serial to usb on Kunkin KP184 electronic load
« Reply #111 on: March 05, 2021, 09:46:51 pm »
Grat for the solution!
I have the same issue.
I have received the equipment 3week ago and work fine but today I need to use the application of the equipment.
I have installed the visa based software but no reply.
The version is ver04 and fw is 202007.

 

Offline ferencvarga46

  • Newbie
  • Posts: 4
  • Country: hu
Re: Serial to usb on Kunkin KP184 electronic load
« Reply #112 on: March 05, 2021, 09:52:11 pm »
Tomorrow morning I will test Interflexos new app.
 

Offline ferencvarga46

  • Newbie
  • Posts: 4
  • Country: hu
Re: Serial to usb on Kunkin KP184 electronic load
« Reply #113 on: March 06, 2021, 11:58:00 am »
Wowww!
It worked immediately, actually the documentation was in the box is dated to 2017.....
I also develop a similar DC load but with higher limits, I am sure it is practical to make the interface to reply to the same vectors as kunkin do.
 

Offline ferencvarga46

  • Newbie
  • Posts: 4
  • Country: hu
Re: Serial to usb on Kunkin KP184 electronic load
« Reply #114 on: March 10, 2021, 11:07:40 pm »
After doing some test I found that on my old laptop with win7 works more stable than on our workshop PC with win10.
On win10 communicate only for approx 3-4 sec and communication is lost.
 

Offline aristarchus

  • Regular Contributor
  • *
  • Posts: 107
  • Country: 00
Re: Serial to usb on Kunkin KP184 electronic load
« Reply #115 on: March 11, 2021, 09:36:02 am »
After doing some test I found that on my old laptop with win7 works more stable than on our workshop PC with win10.
On win10 communicate only for approx 3-4 sec and communication is lost.

Well, here in use are only W10 and so far everything works ok.
 

Offline interflexo

  • Regular Contributor
  • *
  • Posts: 131
  • Country: pt
Re: Serial to usb on Kunkin KP184 electronic load
« Reply #116 on: March 12, 2021, 10:41:54 pm »
New KP184 Software Version 1.0.17.0:

Changes:

1. Current and power manual entry values limits (20A 200W) are checked for the KP182 MOD model, they are half the KP184 model (40A 400W).

2. A new dynamic CYC test mode allows the user to program a custom variable CC load profile of unlimited steps, ramps and repetitions.

Setup KP184 Software V1.0.64.0

User_Manual

Page 19 for the new CYC test mode.

« Last Edit: February 14, 2024, 08:33:07 pm by interflexo »
 

Offline interflexo

  • Regular Contributor
  • *
  • Posts: 131
  • Country: pt
Re: Serial to usb on Kunkin KP184 electronic load
« Reply #117 on: March 13, 2021, 04:00:03 pm »
New KP184 Software Version 1.0.18.0:

Changes:

1. Made some corrections to the new CYC test mode current ramp profiles.

2. Added a new "Clear Log" to the Log context menu to help better inspect the new CYC test mode results.

Setup KP184 Software V1.0.64.0
« Last Edit: February 14, 2024, 08:33:25 pm by interflexo »
 
The following users thanked this post: F64098, ferencvarga46

Offline interflexo

  • Regular Contributor
  • *
  • Posts: 131
  • Country: pt
Re: Serial to usb on Kunkin KP184 electronic load
« Reply #118 on: March 15, 2021, 07:02:27 pm »
There were some questions about the new CYC mode:

First establish the serial connection.

Toggle the test mode indicator to access the special test modes GEN / CVL /
CYC. CYC unlocks the Cycle Tab

In the Cycle tab you can write lines as in a text programming language.

For example:

0 5 3
5 1
0 1
5 1
5 0 3

Will result in the following load programmed profile:

Ramp from 0A to 5A in 3 seconds

Hold 5A during 1 second

Turn Load OFF (0A) during 1 second

Turn Load ON (5A) during 1 second

Ramp from 5A to 0A in 3 seconds.

You can repeat the programmed profile any number of times or just indefinitely (use the Load Switch icon to stop at any time).

After writing the profile instructions just press the Load Switch icon, the load will stop automatically at the end.

Before pressing the Load Switch icon you switch to the "Log" tab to watch the log lines in real time an inspect how Kunkin is being commanded.
 
The following users thanked this post: CyberWalker, F64098

Offline lnxpro

  • Contributor
  • Posts: 12
  • Country: us
Re: Serial to usb on Kunkin KP184 electronic load
« Reply #119 on: March 31, 2021, 02:42:08 am »
Anyway to resize the window to fit the text?
The scaling is at 100%.
Also how can I attach 2 KP184's to same software? If I open the software again it would try to use the same com port as the first one. If I change the com port, it saves the latest one.
Anyway to have 2 separate instances of the software running connecting to 2 different serial ports, one with its own com port?
Thanks :)
 

Offline interflexo

  • Regular Contributor
  • *
  • Posts: 131
  • Country: pt
Re: Serial to usb on Kunkin KP184 electronic load
« Reply #120 on: March 31, 2021, 03:43:37 pm »
lnxpro thanks for your input.

Version 1.0.18.0 and below allows multiple application instances at the same time on different serial ports. You just have to assign the correct COM port after application startup. They all write the selected COM port on the same file to act as default assigned COM port on the next application startup. The application uses the COM port the config dialog shows you and not what is written on the disk configuration file, this is just a startup default value.

New KP184 Software Version 1.0.19.0:

Changes:

1. Battery capacity LCD display always shows 5 significant digits, 3 decimal places until 99,999Ah and  2 decimal places above that value.

2. You can run as many instances of the application as you want and configure each one for a different serial port. Only the first application instance will save it's default configuration on disk.

Setup KP184 Software V1.0.64.0

Please let me know if this works for you.
« Last Edit: February 14, 2024, 08:33:45 pm by interflexo »
 

Offline lnxpro

  • Contributor
  • Posts: 12
  • Country: us
Re: Serial to usb on Kunkin KP184 electronic load
« Reply #121 on: March 31, 2021, 04:51:39 pm »
1.0.19.0 fails to open (running as admin)
 

Offline lnxpro

  • Contributor
  • Posts: 12
  • Country: us
Re: Serial to usb on Kunkin KP184 electronic load
« Reply #122 on: March 31, 2021, 08:29:33 pm »
One other minor annoyance is the numbers shifting to the right whenever a number 1 digit is displayed. Anyway to move the default number 1 digit to the right and keep the blank spaces on the left to avoid this shifting left and right?
attached a video to demonstrate
https://youtu.be/xaTE3wMz8E0
 

Offline interflexo

  • Regular Contributor
  • *
  • Posts: 131
  • Country: pt
Re: Serial to usb on Kunkin KP184 electronic load
« Reply #123 on: April 01, 2021, 08:20:01 am »
Sorry about that.

The font spacing issue you refer to is related to the LCD font in use being Proportional and not Monospaced. None of this can be fixed with some code lines. I will look into LCD Monospaced fonts candidates.

New KP184 Software Version 1.0.20.0:

Changes:

1. Fixed the Version 1.0.19.0 startup problem

Setup KP184 Software V1.0.64.0
« Last Edit: February 14, 2024, 08:34:05 pm by interflexo »
 
The following users thanked this post: lnxpro

Offline lnxpro

  • Contributor
  • Posts: 12
  • Country: us
Re: Serial to usb on Kunkin KP184 electronic load
« Reply #124 on: April 02, 2021, 01:23:40 am »
version 1.0.20.0 works :) fits the text on the window too.
thanks.
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf