Advanced Search

Search Results (Searched for: )

  • Bertho
  • Bertho
29 Jun 2025 19:29

How to write multipule data ( byte) mesambccc

Category: General LinuxCNC Questions

Hi again,

The bug has been found in the driver. It was indeed not counting correctly resulting in trying to overflow the buffer (that caused an abort without writing beyond the buffer). I will be making a patch for it tomorrow.

Also, the mrje70a device is something of a piece with very complex modbus communication (I downloaded the comms spec). It seems to use "record reads and writes in depth" where several values are read/write from an address in a structure like fashion. These must be read/written using a single modbus transaction (when the "continuous read/write" column set to "impossible" it seems to denote that it is a record read/written in depth and not by incremental address). That is the first time I've seen such a hack. Luckily, the driver can do that (but you need to ignore the misalignment warnings from mesambccc). However, some extra pin setup is needed before you want to start writing or you will be sending half or malformed data. I'll show how to do that when I have made the patch.

All that said, the patch will also include a fix for the completely brain-dead mrje70a communication, where it returns a single signed byte (!) in a word register's LSB and zeros the MSB while leaving the user the hassle to tackle the sign extension. The patch will allow you to perform the proper sign extension to s32, s64 or float hal types by introducing a byte type.
  • slowpoke
  • slowpoke
29 Jun 2025 19:25

Emulating lathe compound angle via manipulation of X & Z drives

Category: HAL Examples

I have not used the anglejog component other than playing around with the sim config. As I understand it the 'scale' factor is used to avoid stair stepping in the tool path. Maybe the original discussion can give you some more clues:
forum.linuxcnc.org/38-general-linuxcnc-q...mode?start=10#253252

[edit]
I would tend to use the default values used in the sim config and adjust the
'max_vel',  'max_accel' pins (and possibly 'accel_fraction_in' for fine tuning) 
Thanks for your help. I should play with the sim config, I'm not sure how to do that?

Okay, figured out what I was doing wrong (anglejog.N.iscale-factor), so I now have angle jogging working.

Thanks for all your help!
  • JT
  • JT's Avatar
29 Jun 2025 16:37
Replied by JT on topic Mesa Configuration Tool

Mesa Configuration Tool

Category: Configuration Tools

I was generating the bit string backwards which only worked right if all output types were the same. I just fixed that with PCW's help. The inputs and outputs hal has just been fixed as well.

JT
  • PCW
  • PCW's Avatar
29 Jun 2025 16:26 - 29 Jun 2025 16:27

homing with Phase Z encoder on MESA 7i96s

Category: Advanced Configuration

OK that means that index is working as expected, so if homing
to index fails, its likely a homing setup issue.
  • SebastianM
  • SebastianM
29 Jun 2025 16:10 - 29 Jun 2025 16:14
Replied by SebastianM on topic Mesa Configuration Tool

Mesa Configuration Tool

Category: Configuration Tools

Another remark.. not sure if that me misunderstanding anything or if its another bug, but witih MesaCT I generated a config to set my outputs 0-7 to sinking and 8-15 to sourcing.
This were the generated lines:
setp hm2_7i76e.0.7i76.0.0.output_sink 0xff00
setp hm2_7i76e.0.7i76.0.0.output_source 0xff

isnt this "the wrong order"? imho this sets 0-7 to source and 8-15 to sink.. right?
  • kn612
  • kn612
29 Jun 2025 15:34
Replied by kn612 on topic Servo Driver Plasma Retrofit

Servo Driver Plasma Retrofit

Category: Plasmac

Yes.  Here is a schematic that goes from the interface PCB to the hypertherm microedge for the drives.  I'm only familiar with stepper motors at this point so this is a little overwhelming.
  • SebastianM
  • SebastianM
29 Jun 2025 14:30
Replied by SebastianM on topic Mesa Configuration Tool

Mesa Configuration Tool

Category: Configuration Tools

Thx JT for the quick reply!
  • besriworld
  • besriworld
29 Jun 2025 14:27
Replied by besriworld on topic OLD Lathe conversion to a CNC

OLD Lathe conversion to a CNC

Category: Turning

Hello again, it's been a while. I'm now back working on the lathe machine. I connected the Modbus to the X and Y axis servo motors and also to the spindle – all working fine. I can read the load values from the servo motors without problems. But there is an issue with the spindle load display. Sometimes it shows too many zeros after the decimal point. I tried to fix this with Python code to cut the extra zeros, but I couldn't make it work. Has anyone had this problem before?
What is the easiest way to fix it?

 



 
  • JackRay
  • JackRay
29 Jun 2025 14:07 - 29 Jun 2025 16:23
Replied by JackRay on topic homing with Phase Z encoder on MESA 7i96s

homing with Phase Z encoder on MESA 7i96s

Category: Advanced Configuration

so I tested it and switched the red button to yellow. and it turned red at the same position when I turned my encoder.
  • PCW
  • PCW's Avatar
29 Jun 2025 14:03

homing with Phase Z encoder on MESA 7i96s

Category: Advanced Configuration

setp [HMOT](CARD0).encoder.00.index-enable true

This is wrong and should be removed

Also: Is the encoder position cleared to 0 when you set b-index-enable?
(set in the halshow:watch tab)
  • Silverback
  • Silverback
29 Jun 2025 13:16

[qt_dragon_hd] auto tool probe and gcode display issue

Category: Qtvcp

I am not sure what you mean by simulate the auto tool config.

Is that in a simulation config? I have never messed with those.

Sorry to be such a neophyte.
  • slowpoke
  • slowpoke
29 Jun 2025 12:51 - 29 Jun 2025 12:57

Emulating lathe compound angle via manipulation of X & Z drives

Category: HAL Examples

I have not used the anglejog component other than playing around with the sim config. As I understand it the 'scale' factor is used to avoid stair stepping in the tool path. Maybe the original discussion can give you some more clues:
forum.linuxcnc.org/38-general-linuxcnc-q...mode?start=10#253252

[edit]
I would tend to use the default values used in the sim config and adjust the
'max_vel',  'max_accel' pins (and possibly 'accel_fraction_in' for fine tuning) 

Thanks for your help. I should play with the sim config, I'm not sure how to do that?
  • JT
  • JT's Avatar
29 Jun 2025 12:45
Replied by JT on topic Mesa Configuration Tool

Mesa Configuration Tool

Category: Configuration Tools

That's a bug with the 7i76eu I/O section. I'll fix that.

JT
  • kubes
  • kubes
29 Jun 2025 12:16

User error or a strange event on probing. Broken ruby tip.

Category: QtPyVCP

Is there any logging behind the scenes to know that really happened? As this was working reliably in the past, I was not 100% focused on watching it. It would be good to know when it was tripped and what the feed rate and direction were.

Thanks
  • RNJFAB
  • RNJFAB
29 Jun 2025 10:24

Homemade CNC Plasma - hypertherm, Mesa, gear drives, nema 34.

Category: Show Your Stuff

Machine is going great and now its time to start adding more.

So firstly - ohmic sensing with the 7i96 board?? i'm sure i have see how this connects, but for the life of me cant work it out. Hookup is simple enough, configuration is what's got me.

Secondly - Air scribe. Hardware is all together. just need to get the post to work for it in sheetcam.

Links to help if you have them please.

& Video's for when you are bored.

www.youtube.com/shorts/XuxqHAO2k5w
Displaying 736 - 750 out of 25323 results.
Time to create page: 0.229 seconds
Powered by Kunena Forum