V70 stepperonline VFD not responding to RS485 USB not sure what left to try.

More
4 years 4 months ago #245570 by tommylight


 
 
NO!
:)
That is for termination only, but still i would leave it ON, not OFF.
If there are more than two devices on the RS485 chain, then the two at the ends of the line should be terminated, the rest in between should not be terminated.
The following user(s) said Thank You: spumco

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

More
4 years 4 months ago #245573 by Hakan
Does the VFD actually work with the huan yang driver? I don't think it is real modbus.
Maybe try with the real modbus hal component.
The following user(s) said Thank You: MrJRB

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

More
4 years 4 months ago #245583 by MrJRB

Does the VFD actually work with the huan yang driver? I don't think it is real modbus.
Maybe try with the real modbus hal component.

Likely not in hindsight, I hadn't realised spindle talker was written only for huan yang vfds...
How would I go about utilising the real modbus component, what's it's name?

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

More
4 years 4 months ago - 4 years 4 months ago #245595 by MrJRB
Okay well I've discovered MB2HAL, have modified the example .ini to suit my VFD.
I've now managed to communicate with my VFD, so hurrah, it's not borked! 

This example here sets the setting F002 to 0, amusingly cutting off communication understandably.
Code:
[TRANSACTION_01] MB_TX_CODE=fnct_04_read_input_registers FIRST_ELEMENT=2 NELEMENTS=3 HAL_TX_NAME=XDrive02 MAX_UPDATE_RATE=10.0 DEBUG=1

Setting FIRST_ELEMENT was what defined which setting was changed, no idea what defines the value.
I was trying to set the frequency and in turn the value of the register address seen in the example below. (as I read that was what you set the first element to.)
 

So the question is, what do I do now?

I've attached my .ini file for reference.
 

File Attachment:

File Name: mb2hal_custom.ini
File Size:5.37 KB
Last edit: 4 years 4 months ago by MrJRB. Reason: Formatting.

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

More
4 years 4 months ago - 4 years 4 months ago #245773 by MrJRB
I've finally finished setting up my VFD now, I used VFDmod given it was easier to interpret what I needed to do.
Admittedly in the grand scheme of things, my main issue was just interpreting the vfd's manual with regard to register addresses & values and the fact it uses real modbus of course.
Have attached config info and .ini file below for anyone else with a v70 stepperonline vfd so you don't have to go through searching for the addresses & values.

Spindle pin linkage in custom.hal:
Code:
#spindle loadusr -W vfdmod v70_VFD.ini net spindle-vel-cmd-rpm => vfdmod.spindle.rpm-in net spindle-at-speed <= vfdmod.spindle.at-speed net spindle-cw => vfdmod.control.run-forward net spindle-ccw => vfdmod.control.run-reverse

vfdmod config:

 

File Attachment:

File Name: v70_VFD_20...6-24.ini
File Size:5.16 KB
Last edit: 4 years 4 months ago by MrJRB. Reason: Attachment failed to attach.
The following user(s) said Thank You: andypugh

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

Time to create page: 0.373 seconds
Powered by Kunena Forum