- Posts: 99
- Thank you received: 23
Can the OPI5 be Configured to Run LCNC?
- echristley
- Offline
- Premium Member
-
Less
More
3 years 2 months ago #277182
by echristley
Replied by echristley on topic Can the OPI5 be Configured to Run LCNC?
Found the port for the RS-485 converter.
demsg | grep tty
Plug it in and run the command again. And extra /dev/ttyACM0 was reported at the bottom.
demsg | grep tty
Plug it in and run the command again. And extra /dev/ttyACM0 was reported at the bottom.
- royka
- Offline
- Platinum Member
-
Less
More
- Posts: 383
- Thank you received: 135
3 years 2 months ago - 3 years 2 months ago #277279
by royka
Replied by royka on topic Can the OPI5 be Configured to Run LCNC?
Great you've got the Boss3 running!
I would think that it has to be possible to use the RS-485 of the Mesa 7i96:
linuxcnc.org/docs/2.9/html/drivers/mesa_modbus.html
forum.linuxcnc.org/27-driver-boards/47590-7i96-bit-files
My USB adapter was taken over by BRLTTY, you could see it in dmesg. To disable that:
sudo systemctl stop brltty-udev.service
sudo systemctl mask brltty-udev.service
sudo systemctl stop brltty.service
sudo systemctl disable brltty.service
Instead of /dev/ttyUSBx it's better to use /dev/serial/by-id/id-of-your-adapter so when you've another serial device connected it won't randomly change the order ttyUSB0 to ttyUSB1
I would think that it has to be possible to use the RS-485 of the Mesa 7i96:
linuxcnc.org/docs/2.9/html/drivers/mesa_modbus.html
forum.linuxcnc.org/27-driver-boards/47590-7i96-bit-files
My USB adapter was taken over by BRLTTY, you could see it in dmesg. To disable that:
sudo systemctl stop brltty-udev.service
sudo systemctl mask brltty-udev.service
sudo systemctl stop brltty.service
sudo systemctl disable brltty.service
Instead of /dev/ttyUSBx it's better to use /dev/serial/by-id/id-of-your-adapter so when you've another serial device connected it won't randomly change the order ttyUSB0 to ttyUSB1
Last edit: 3 years 2 months ago by royka.
The following user(s) said Thank You: echristley
- tommylight
- Offline
- Moderator
-
Less
More
- Posts: 22011
- Thank you received: 7491
3 years 2 months ago #277282
by tommylight
sudo apt purge brltty
and be done with it.
Took me a while to get there about 2 years ago, now i just remove it with all the stuff that i do not need as soon as installation finishes.
Replied by tommylight on topic Can the OPI5 be Configured to Run LCNC?
Or you can just doMy USB adapter was taken over by BRLTTY, you could see it in dmesg. To disable that:
sudo systemctl stop brltty-udev.service
sudo systemctl mask brltty-udev.service
sudo systemctl stop brltty.service
sudo systemctl disable brltty.service
sudo apt purge brltty
and be done with it.
Took me a while to get there about 2 years ago, now i just remove it with all the stuff that i do not need as soon as installation finishes.
The following user(s) said Thank You: royka, echristley
- echristley
- Offline
- Premium Member
-
Less
More
- Posts: 99
- Thank you received: 23
3 years 2 months ago - 3 years 2 months ago #277741
by echristley
Replied by echristley on topic Can the OPI5 be Configured to Run LCNC?
Removing brltty
Does anyone have a package for vfdmod that would be appropriate for Armbian? The deb package on Github appears to be for the wrong architecture.
EDIT: Went with mb2hal instead. So far, I've been able to turn the spindle on. Could not get it to turn off, but at least I know it is communicating.
Does anyone have a package for vfdmod that would be appropriate for Armbian? The deb package on Github appears to be for the wrong architecture.
EDIT: Went with mb2hal instead. So far, I've been able to turn the spindle on. Could not get it to turn off, but at least I know it is communicating.
Last edit: 3 years 2 months ago by echristley.
- royka
- Offline
- Platinum Member
-
Less
More
- Posts: 383
- Thank you received: 135
3 years 2 months ago #278180
by royka
Replied by royka on topic Can the OPI5 be Configured to Run LCNC?
In case you still would like to try vfdmod...
The following user(s) said Thank You: echristley
- echristley
- Offline
- Premium Member
-
Less
More
- Posts: 99
- Thank you received: 23
3 years 2 months ago #278316
by echristley
Replied by echristley on topic Can the OPI5 be Configured to Run LCNC?
A ferrite bead corrected my communication problems, and I'm now able to control the spindle by setting registers using mb2hal.
But, I think I still want to give vfdmod a a run. Which directory should the file above go in?
But, I think I still want to give vfdmod a a run. Which directory should the file above go in?
Time to create page: 0.321 seconds