xsnoopy / LinuxCNC-Yalang-yl620-VFD-rs485-Modbus---VFDmod

LinuxCNC configuration for Yalang-yl620-VFD with RS485-Modbus and VFDmod
8 stars 2 forks source link

vfd.hal:3: Pin 'vfdmod.spindle.at-speed' does not exist #4

Closed Wifiunterputzdose closed 2 years ago

Wifiunterputzdose commented 2 years ago

Hi folks,

I did exactly the points which where described in the Howto site but I get everytime the above error message when starting linuxcnc.

I'm using linuxcnc 2.8 also installed vfdmod-0.3.2-stretch-amd64.deb

Can you help me here?

This is how my files looks like:

My main hal: VFDMOSTest.hal https://pastebin.com/y9nGumeW

My main.ini https://pastebin.com/R7fjCwvb

custom.hal https://pastebin.com/qgm79xcr

postgui_call_hall.hal https://pastebin.com/QhxZUZ4F

I put all the vfd.xml stuff into the empty pyvcp-panel.xml https://pastebin.com/D0u3S7xF

vfd.ini https://pastebin.com/bg5eSDzJ

vfd.hal https://pastebin.com/sV2CzPXP

xsnoopy commented 2 years ago

Let me check in a bit. Still early in Florida.

Meanwhile, i would suggest go with my other repository where i did the same thing with classic ladder. It's better and has many advantages.

Grüße nach Deutschland 😁

xsnoopy commented 2 years ago

I am running LINUXCNC - 2.8.2-11-g6a3d0a434 your config won't even open in my version of LinuxCNC

xsnoopy commented 2 years ago

I guess you need to add this on an empty line for example 231 of your VFDMOSTest.hal

net spindle-at-speed => spindle.0.at-speed

Wifiunterputzdose commented 2 years ago

Thanks. Meanwhile I tried your other repository and and get it configured. Sadly the converter dont response. Where do you get the setup for the classic ladder?

xsnoopy commented 2 years ago

What do you mean? The setup for classic ladder is in the screenshots. The program is available on github. Make sure your vfd has the right address. Is the modus error signal set or unset?

Wifiunterputzdose commented 2 years ago

For example I tested this command sequence with a terminal, which works to set the parameter:

Without CRC [01][06][20][01][01][F4]

With CRC at the end [01][06][20][01][01][F4][D3][DD]

[01] is a 8 Byte Hex and so on

How do I implement this in the classic ladder?

xsnoopy commented 2 years ago

I would suggest following up here and close this issue. I don't believe it has anything to do with this repository.

https://forum.linuxcnc.org/47-hal-examples/44328-yalang-yl620-vfd-rs485-modbus-communication-vfdmod-or-classicladder

I will follow up with that topic as soon as time allows.