Mitsubishi VFD Modbus cant get it work

More
11 Jan 2022 21:40 #231487 by hitchhiker
Hi dudes....

i am in struggle and stress to get my vfd work...

after day work arround i get this error:

from terminal is send:
halcmd loadusr mitsub_vfd --baud 9600 --port /dev/ttyUSB0 spindle=01

get :
cnc@cnc:~$ /dev/ttyUSB0 9600
ERROR : mitsub_vfd - No serial interface found at /dev/ttyUSB0


i am with user cnc in the dialout goup...

its a ch341 usb rs232 to rs485 adapter.
adapter and vfd works with mach3.

i load the mitsub_vfd.py form :

github.com/LinuxCNC/linuxcnc/blob/2.8/sr..._comps/mitsub_vfd.py

then i halcompile --install mitsub_vfd.py over the terminal.

i checked that ttyusb1 is correct via sudo dmesg | grep tty.


what can i do? thanks



 

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

More
11 Jan 2022 22:42 #231496 by andypugh

halcmd loadusr mitsub_vfd --baud 9600 --port /dev/ttyUSB0 spindle=01

ERROR : mitsub_vfd - No serial interface found at /dev/ttyUSB0

i checked that ttyusb1 is correct via sudo dmesg | grep tty.

 



ttyUSB0 or ttyUSB1? 

Does it appear and disappear when you plug and unplug? 

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

More
12 Jan 2022 02:02 #231512 by cmorley
Please stop asking help with this problem in multiple places.
The following user(s) said Thank You: tommylight

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

More
12 Jan 2022 02:16 #231514 by cmorley
Don't follow that link for this problem.

What distribution do you use? Mint?
Did you use proper case of the port?

ie. ttyUSB0 not ttyusb0?

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

More
12 Jan 2022 06:17 #231530 by hitchhiker
good morning

LinuxCNC 2.8.2 Debian 10 Buster RTAI


from usbstick.. i put in boot from usb install graphic mode..

when the first screen pops up its a linuxcnc live version


debian,yes and i checked all case szenario...

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

More
12 Jan 2022 08:15 #231535 by cmorley
You haven't installed linuxcnc on your computer?
Hmm i wonder if that affects the acess to the serial port.

please open a terminal and run the command:

ls -l /dev/ttyUSB0

and post the answer here.

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

More
12 Jan 2022 08:47 #231538 by ALittleOffTheRails
Plug in the dongle
Unplug the dongle
Plug the dongle back in
sudo dmesg

The information regarding said dongle should appear at the end. Remember case in devnames does matter.

You will also need permissions to use the device.

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

More
12 Jan 2022 08:51 #231540 by hitchhiker
no no no.. it is intalled!

www.linuxcnc.org/iso/linuxcnc-2.8.2-buster.iso

this is the iso of my dvd/usbstick what i use to install linux debian together with linuxcnc..

after the install .. you start your computer and have linuxcnc ready.

one install process.

i think it is a minimal install.. because.. its a small image...

i read its the easy way to get linuxcnc.. but i think.. some parts are not included... possible?

thanks.

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

More
12 Jan 2022 08:54 #231541 by cmorley
Please try the instructions I asked you to.

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

More
12 Jan 2022 09:05 #231545 by tommylight
Both topic merged.
Stop opening new topic for the same thing, @hitchhiker

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

Time to create page: 0.106 seconds
Powered by Kunena Forum