Advanced Search

Search Results (Searched for: )

  • MarkoPolo
  • MarkoPolo
18 Aug 2024 11:54
Replied by MarkoPolo on topic Error in tool_offsetview.py

Error in tool_offsetview.py

Category: Qtvcp

Hi Chris

I don't know if anyone uses qtdragon_lathe , but I've made a few fixes for bad button sizes.

I've also made a few minor fixes for the brushed_metal_color theme.

I want to make the icons a bit bigger in the gcode editor, but it doesn't work well from the theme file. It can be done directly in the gcode_editor.py file, but that requires editing that file.
Do you have a way to do this in the theme file?
  • rodw
  • rodw's Avatar
18 Aug 2024 11:53

Ethercat installation from repositories - how to step by step

Category: EtherCAT

If you compile a custom kernel or build an ISO or image, the headers are not going to be in the repositories.
They are built with the kernel. If you don't save or install them, you will need to build them again.
The 2.9.3 isos and images  do all of this for you.
Your posts  have nothing to do with installing ethercat from repositories, so please ask further questions on another thread.
  • Aciera
  • Aciera's Avatar
18 Aug 2024 11:45
Replied by Aciera on topic very basic mdi call

very basic mdi call

Category: O Codes (subroutines) and NGCGUI

EOF in file :/usr/share/axis/images/axis.ngc

This seems a strange place for a GCode file.
  • zz912
  • zz912's Avatar
18 Aug 2024 11:45

SmartSerial Master for Arduino - exist? Possible?

Category: Driver Boards

Thank you for the consultation. I came to the same opinion. If I could program a PIC, I would think about converting the 7i84 to a modbus slave.
I will probably buy:
www.turck.us/en/product/6827381
It is not cheap.
  • Aciera
  • Aciera's Avatar
18 Aug 2024 11:42
Replied by Aciera on topic very basic mdi call

very basic mdi call

Category: O Codes (subroutines) and NGCGUI

I'm sorry, looking at your initial post again I'm not sure where this comes from:

[RS274NGC]
SUBROUTINE_PATH = macros

[MACROS]
MACRO = touch_plate_z


I'm not aware of a '[MACROS]' entry in the ini file.
So try this:

save your subroutine code as 'touch_plate_z.ngc' in a folder named 'macros' in your machine config folder.

then add this to the [RS274] section of your ini file:
SUBROUTINE_PATH = ./macros
  • anfänger
  • anfänger's Avatar
18 Aug 2024 11:39
Replied by anfänger on topic Display setup sheet

Display setup sheet

Category: QtPyVCP

Short question, I updated all my machines now to 2.9.3 and moved my modifications to the user tabs.
I thought also adding the setup sheet to my lathe using probe_basic_lathe.
With the mill it is still working on the lathe i get following error:
Traceback (most recent call last):
File "/usr/bin/probe_basic_lathe", line 8, in <module>
sys.exit(main())
^^^^^^
File "/usr/lib/python3/dist-packages/probe_basic_lathe/__init__.py", line 19, in main
qtpyvcp.run_vcp(opts, VCP_CONFIG_FILE)
File "/usr/lib/python3/dist-packages/qtpyvcp/__init__.py", line 26, in run_vcp
run(*args, **kwargs)
File "/usr/lib/python3/dist-packages/qtpyvcp/app/__init__.py", line 129, in run
launch_application(opts, config)
File "/usr/lib/python3/dist-packages/qtpyvcp/app/launcher.py", line 78, in launch_application
loadWindows(config['windows'])
File "/usr/lib/python3/dist-packages/qtpyvcp/app/launcher.py", line 228, in loadWindows
window = _initialize_object_from_dict(window_dict)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/qtpyvcp/app/launcher.py", line 208, in _initialize_object_from_dict
return obj(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^
File "/home/ditte/linuxcnc/configs/ditte/custom_probebasic.py", line 15, in __init__
super(CustomProbeBasic, self).__init__(*args, **kwargs)
File "/usr/lib/python3/dist-packages/probe_basic/probe_basic.py", line 47, in __init__
self.vtk.setViewMachine() # set view to machine at startup
^^^^^^^^
AttributeError: 'CustomProbeBasic' object has no attribute 'vtk'
  • Cant do this anymore bye all
  • Cant do this anymore bye all's Avatar
18 Aug 2024 11:17
Replied by Cant do this anymore bye all on topic SmartSerial Master for Arduino - exist? Possible?

SmartSerial Master for Arduino - exist? Possible?

Category: Driver Boards

You might be better off looking at modbus. From my point of view you're looking at making some wholesale changes.
As far as I'm aware SmartSerial seems to be designed as a single device per channel at full duplex.
  • besriworld
  • besriworld
18 Aug 2024 11:01
Replied by besriworld on topic LinuxCNC starts when PC is turned on.

LinuxCNC starts when PC is turned on.

Category: Basic Configuration

I'm trying to do the same thing. But the program does not start automatically. Could the problem be that I have an automatic login?

I have the latest version of linuxcnc installed.
  • zz912
  • zz912's Avatar
18 Aug 2024 09:14

SmartSerial Master for Arduino - exist? Possible?

Category: Driver Boards

SmartSerial is going to need 2.5mbps serial interface to begin with.

I found in manual 7i84:
 

Tho you may want to look into learning at least C.


I like C. I dont like python.

also find ssremote7i90.zip


Thank you, I will study it.

In normal mode, SmartSerial is used so that one serial output serves one SmartSerial device.
Is it possible to use SmartSerial with a modified Master as a bus? I want to use several 7i84.

SmartSerial uses a Full Duplex bus, but I have a Half Duplex bus. Is this a problem?
  • Cant do this anymore bye all
  • Cant do this anymore bye all's Avatar
18 Aug 2024 08:50 - 18 Aug 2024 09:01
Replied by Cant do this anymore bye all on topic SmartSerial Master for Arduino - exist? Possible?

SmartSerial Master for Arduino - exist? Possible?

Category: Driver Boards

SmartSerial is going to need 2.5mbps serial interface to begin with.
The smart serial protocol is layed out in most of the mesa manuals.

Looking into the slave (probably the easier way to see how things work)
One of the best places to start is to download one of the 7i90 zip files, this includes the bitstreams for the card and the hostmot sources, within that you'll also find ssremote7i90.zip which is the src for the ssremote portion if you want to use the 7i90 as a ssremote card.
The source is in assembly for one of the softcores on the fpga, it's pretty easy to work out, that's not that many instructions. Convert that to your mcu of choice and you should be good to go. Tho you may want to look into learning at least C.
It took me about 2 weeks to really get a good idea of what was going on, then modify that portion to get that running on a colorlight RV901T board that supports 4 MPGs. A couple of days of that was a silly mistake on my part. It was never my intention to get the code running on a MCU, so I never bothered looking into it.

Ok thats just for the slave portion.
If you want to have a non Mesa Master, you'll have to do all of the above but looking at the slave point of view. Then you would have to come up with a serial device that works at 2.5mbps, and then write a SmartSerial that talks to your setup. Or though you can use 115.2k but that's about 20 times slower.

On top of all that you'll have to design the hardware, PCB boards and buy parts. At the end of the day it will more likely end up not being cost effective.

There's also a couple of other zip files that may be worth looking at.
  • PhilipME
  • PhilipME's Avatar
18 Aug 2024 07:52
Replied by PhilipME on topic very basic mdi call

very basic mdi call

Category: O Codes (subroutines) and NGCGUI

I think the path or I am doing something  wrong because I am getting this message when I issue the o<touch_plate_z> call
EOF in file :/usr/share/axis/images/axis.ngc
seeking o-word:o<touch_plate_z> from line:0
  • bentiggin
  • bentiggin
18 Aug 2024 07:41
Replied by bentiggin on topic 7i97t retrofit

7i97t retrofit

Category: Basic Configuration

Awesome. I looked some more and found
net joint.0.output => hm2_[MESA](BOARD).0.pwmgen.00.enable
missing

and these were the same for both the x and the y, so I numbered appropriately.

setp hm2_[MESA](BOARD).0.pwmgen.01.scale [JOINT_​​​​​​​1]SCALE
setp hm2_[MESA](BOARD).0.encoder.01.scale  [JOINT_1]ENCODER_SCALE
setp hm2_[MESA](BOARD).0.pwmgen.01.output-type 1 #PWM pin0

And it seems to be working great now.

This velocity one was missing too, but I didn’t add it. Should I?

net joint-0-vel-fb <=  hm2_[MESA](BOARD).0.encoder.00.velocity

I can’t believe you got back to me and helped me out so quick on the weekend.
I really appreciate the time and the knowledge you guy’s are putting into helping whoever needs it.
Thanks
  • zz912
  • zz912's Avatar
18 Aug 2024 06:56

SmartSerial Master for Arduino - exist? Possible?

Category: Driver Boards

Hello,

I bought new toy:
spotpear.com/shop/ESP32-S3R8-4.3inch-LCD...ay-LVGL-800x480.html
 
It is a Develop board for Arduino ESP32 with Display + Half Duplex RS485.

I have a project:
- which is not demanding on speed
- very simple logic
- needs several inputs
- needs a lot of outputs (up to 100)
- I don't want to use a relay for outputs
- 24V

I plan to use some industrial I/O controlled by Modbus RTO for this device.

But quality I/O is very expensive. I would like to use a Mesa 7i84.
Is this even possible?

It would be ideal to use some firmware for the Mesa 7i84 to make it a Modbus slave.
Is this even possible?
The price/quality of the 7i84 is fantastic and the use of this card would expand drastically. However, there is a PIC processor on this card and I don't understand that at all. I can program only Arduino.

The second option is to use an Arduino processor as a SmartSerial Master.
Is this even possible?
There are projects where SmartSerial Slave is used. But I would need a Master.
Would it be possible to use more than one 7i84(with original firmware) on one Half duplex RS485 Master?
  • vibram
  • vibram
18 Aug 2024 06:44
Replied by vibram on topic Mesa 7i96s firmware for Index (2.9 release)

Mesa 7i96s firmware for Index (2.9 release)

Category: Advanced Configuration

Thanks a lot I will first check what you modified in order to understand and confirm no other impact on my setup and then flash the firmware
Displaying 23761 - 23775 out of 24350 results.
Time to create page: 0.447 seconds
Powered by Kunena Forum