Advanced Search

Search Results (Searched for: )

  • Hakan
  • Hakan
01 Oct 2025 09:13 - 01 Oct 2025 09:16
Replied by Hakan on topic MB2hal interface to a H100 inverter

MB2hal interface to a H100 inverter

Category: Advanced Configuration

No expert by any means, but I got it to work so here are some snippets from that

in custom_sinusM.hal
# Load mb2hal for modbus operation of the sinusM vfd
loadusr -Wn sinusM mb2hal config=sinusM_spindle.ini

...

# Set max limit rpm for spindle
#
net spindle-max-freq       sinusM.05.read-max-freq.float spindlemax.max         # Max frequency(rps) for motor
net  spindle-speed-scale   spindle.0.speed-out-rps-abs   sinusM.01.set-freq     # Just the principle

net spindle-vel-positive    mux4.0.sel0           abs.spindle-speed.sign
net spindle-enable          mux4.0.sel1
net spindle-cmd-out         mux4.0.out            sinusM.04.run-command  # Stop/fwd/rev

In sinusM_spindle.ini
...

[TRANSACTION_01]
MB_TX_CODE=fnct_06_write_single_register
FIRST_ELEMENT=4
NELEMENTS=1
PIN_NAMES=set-freq
MAX_UPDATE_RATE=0.0

[TRANSACTION_04]
MB_TX_CODE=fnct_06_write_single_register
FIRST_ELEMENT=5
NELEMENTS=1
PIN_NAMES=run-command
MAX_UPDATE_RATE=0.0

[TRANSACTION_05]
MB_TX_CODE=fnct_03_read_holding_registers
FIRST_ELEMENT=41492
NELEMENTS=1
PIN_NAMES=read-max-freq
MAX_UPDATE_RATE=0.0
 

The above communication works with the vfd. But hal code is probably mixing Hz and rpms so it won't necessarily work for that reason.
  • meister
  • meister
01 Oct 2025 07:55
  • BigDo
  • BigDo
01 Oct 2025 07:53 - 01 Oct 2025 07:55
Replied by BigDo on topic Nativecam running on 2.9.4 almost so close

Nativecam running on 2.9.4 almost so close

Category: NativeCAM

Thanks for reply. I just tried it, and the NativeCam tab remains completely empty.
 
  • meister
  • meister
01 Oct 2025 07:16
  • tommylight
  • tommylight's Avatar
30 Sep 2025 23:39
  • tommylight
  • tommylight's Avatar
30 Sep 2025 23:37
Replied by tommylight on topic Arrow keys for jogging

Arrow keys for jogging

Category: Gmoccapy

  • unknown
  • unknown
30 Sep 2025 23:34
Replied by unknown on topic sticky estop, help needed

sticky estop, help needed

Category: Basic Configuration

I think I know what you may be trying to achieve.

If you have a look at the sample as shown in the screenshot, yes it is a pyvcp panel, it should give you the logic require if using your own panel or physical button.
 
  • jrc
  • jrc
30 Sep 2025 23:00

Leadshine 2CS3E-D507 / Cia402 almost working - help please!

Category: EtherCAT

Many thanks! I am away today but will give it a try tomorrow and report back. I might also try making an even simpler test machine configuration with only xy coordinates, trivkins, drive by just one 2CS3E-D507 dual-stepper drive, This should hopefully be easier to debug due to having less confounding variables
  • scsmith1451
  • scsmith1451's Avatar
30 Sep 2025 22:37
Replied by scsmith1451 on topic Arrow keys for jogging

Arrow keys for jogging

Category: Gmoccapy

So sorry, I miss read the documentation, it says that the keyboard arrow keys are DISabled by default and to enable them just check the box. Where is the box? I don't see one on the screen, the settings page or anywhere else that enables the arrow keys. Can someone shed some light on where or how to enable the arrow keys?

Kind regards,
  • Giovanni
  • Giovanni
30 Sep 2025 21:29
Replied by Giovanni on topic Nativecam running on 2.9.4 almost so close

Nativecam running on 2.9.4 almost so close

Category: NativeCAM

I suppose you are using German as interface language.
Have you tried to use English?
  • ArcAiN6
  • ArcAiN6's Avatar
30 Sep 2025 20:40

Looking for a specific, detailed howto guide for XYYZ gantry setup

Category: Advanced Configuration

Got it.. Homeing without errors, coordinate system looks correct orientation, pull off is good.
I'm happy.... now... to get all the relays and stuff going to coolant, and toolheight :)
  • davmer42
  • davmer42's Avatar
30 Sep 2025 19:45
MB2hal interface to a H100 inverter was created by davmer42

MB2hal interface to a H100 inverter

Category: Advanced Configuration

Hi guys and gals. I have been spending hours and hours trying to get a H-100 inverter to talk to linux cnc. The documentation is just foggy enough that I am at a loss. I can connect the spindle(0) bits to the MB2hal transaction names but apparently I'm not using the correct addresses and int's / float's. And the limited instructions don't give me enough crayons. I have defined a pin called mb2hal.readhldreg.start but do not know how to tie it to the correct register. 

All I see is mb2hal.m.n.float or int or bit. I do not know what m or n is.

This is rather embarrassing as I spent a career in plc's and programming.

If someone could give me some examples, it would be greatly appreciated.

Thank you, David
  • Fmgutierr69
  • Fmgutierr69
30 Sep 2025 19:36

G-Penny Spindle & H100 Register Settings: Documenting

Category: Basic Configuration

After a few days trying to get UART to work on my Pi 5 I came to realize it was my TTL/RS485 board that was faulty.  I bought a USB RS422/485 adapter with a terminal block and was able to connect right away to my VFD.My next challenge was using mbpoll to scan the registers, after hours of errors I recall reading in a forum somewhere that there is a limit to  how many responses my VFD can provide at one time.  After testing, I confirmed on mine the limit is 4.This command structure worked for me after reading the mbpoll help file.  This is the command structure that worked for me in case someone has the same VFD and is trying to find out what the settings are without going into the front panel every time:

On my system I have it set to RTU, 38400 baud rate and 8E1:

mbpoll -m rtu -a 1 -b 38400 -d 8 -P even -s 1 -r 160 -c 4 /dev/ttyUSB0

Where:
-r is the register number you are trying to scan.  From 1-199 on my VFD
-c is the number of registers in total to scan.  On my VFD the range is 1-4.  Outside of that range is fails.  There is an offset that you'll need to match up.  For instance, scanning  -r 160 -c 4 returns the values for  F163-F166 on my VFD

I've attached a txt file that contains the script that I  had ChatGPT help me with to document all of my register settings.  The script iterates through every register and cross-maps it to the name of the register.  The output is a file named vfd_register_scan.csv.  It is output in the same folder you run the shell script from I manually entered the Register name from the manual.  Here is a copy of the manual:

images.thdstatic.com/catalog/pdfImages/b...a62-3f425c50eff9.pdf
  • PCW
  • PCW's Avatar
30 Sep 2025 19:34

Extremely confused - Nonworking limit switches

Category: General LinuxCNC Questions

The hal file text showed 2.9 master, not a standard release.
  • ffffrf
  • ffffrf
30 Sep 2025 18:53

Extremely confused - Nonworking limit switches

Category: General LinuxCNC Questions

ISSUE RESOLVED


Problem: unknown, could not locate source of the error

Solution: Updated to 2.9.4

lesson learned, dont forget to try the simple stuff :)
Displaying 7966 - 7980 out of 18163 results.
Time to create page: 0.528 seconds
Powered by Kunena Forum