[ Vfdmod ] An easy VFD control over MODBUS RTU

More
6 years 4 months ago #172290 by aekhv
If you wish to modify vfdmod all you need is QtCreator: sudo apt install qtcreator.

Also it would be nice if you attach some debug output (loadusr -W vfdmod --debug ...), maybe it will help to fix your problem :)

Please Log in or Create an account to join the conversation.

More
5 years 10 months ago #193621 by SrLange61
Replied by SrLange61 on topic [ Vfdmod ] An easy VFD control over MODBUS RTU
Hi
I'm trying to get my Fuling VFD from terminal control to Modbus with no luck. I've checked the 9600 n, 8, 1 settings on the VFD twice.
Any thoughts on this debug?

File Attachment:

File Name: srl-debug.txt
File Size:5 KB

Please Log in or Create an account to join the conversation.

More
5 years 10 months ago #193623 by aekhv
Hi, it looks like connection is not stable. Did you try another RS485 adapter? Also increasing of ProtocolDelay may help, check this parameter too.
The following user(s) said Thank You: SrLange61, aleksamc

Please Log in or Create an account to join the conversation.

More
5 years 10 months ago #193699 by SrLange61
Replied by SrLange61 on topic [ Vfdmod ] An easy VFD control over MODBUS RTU
Hi aekhv
Thanks for your quick reply last night and happy new year from Australia.

Increasing the ProtocolDelay to 7 fixed the com problem.
But now cant get the VFD to turn the spindle. Forward and Rev lights work on the VFD.
Looks like the Fuling needs special commands?
forum.pv-automation.com/viewtopic.php?p=52#p52

Any thoughts?

srl
Attachments:

Please Log in or Create an account to join the conversation.

More
5 years 10 months ago #193700 by aekhv
Hi, happy new year too :)

As I see from debug output the control register address is 0x1000, and vfdmod sends 0x0005 to it. What values do you use to turn spindle on and off? According to table at your link it should be 0x0001 (run forward) and 0x0005 (stop).

Could you show your ini file please?

Please Log in or Create an account to join the conversation.

More
5 years 10 months ago #193702 by SrLange61
Replied by SrLange61 on topic [ Vfdmod ] An easy VFD control over MODBUS RTU
Hi
I used the file vdf-dzb280.ini posted earlier in this thread, the control values are wrong.
The changed file attached.
All fine now.
No reverse but thats ok, setting foward run and fwd light up on the VFD. Reverse its stop and rev.

File Attachment:

File Name: vdf-dzb280.ini
File Size:1 KB

Thanks again.
srl

Please Log in or Create an account to join the conversation.

Time to create page: 0.734 seconds
Powered by Kunena Forum