Advanced Search

Search Results (Searched for: )

  • PCW
  • PCW's Avatar
11 Jan 2025 15:07
Replied by PCW on topic Mesa modbus and pktUart

Mesa modbus and pktUart

Category: Other User Interfaces

The RS-485 adapter should work, wiring would be:

PktURDataPin  <= RO   
PktUTDataPin   => DI
PktUTNDrvEnPin => DE
GND => RE

Note the N in PktUTNDrvEnPin

(the firmware must be built with this pin in the pinout file to have the
proper drive enable polarity)

Did you look at the relayboard.mod example?
Its probably closer, not for addresses but for bit I/O:
(look an the input definition)


/* Modbus definition file for a 4-channel relay board found on eBay */

/*
The format of the channel descriptors is:

{TYPE, FUNC, ADDR, COUNT, pin_name}

TYPE is one of HAL_BIT, HAL_FLOAT, HAL_S32, HAL_U32
FUNC = 1, 2, 3, 4, 5, 6, 15, 16 - Modbus commands
COUNT = number of coils/registers to read
*/

#define MAX_MSG_LEN 16   // may be increased if necessary to max 251

static const hm2_modbus_chan_descriptor_t channels[] = {
/*  {TYPE,    FUNC, ADDR,   COUNT, pin_name} */
    {HAL_BIT, 1,  0x0000, 8,     "state"},
    {HAL_BIT, 2,  0x0000, 8,     "input"},
    {HAL_BIT, 5,  0x0000, 1,     "relay-0"},
    {HAL_BIT, 5,  0x0001, 1,     "relay-1"},
    {HAL_BIT, 5,  0x0002, 1,     "relay-2"},
    {HAL_BIT, 5,  0x0003, 1,     "relay-3"},
};


/* Optionally #define DEBUG to aid with troubleshooting.
   Use 3 to see a lot of information about the modbus
   internal workings. 1 is default (errors only)                    */

 
  • Willemsjos
  • Willemsjos
11 Jan 2025 14:54 - 12 Jan 2025 09:00

Hardware advise mesa boards for control-loop with motor-encoder and linear scale

Category: Driver Boards

Hi.
I would like to come back to you about the best way to have a closed loop with a linear scale and a servodrive-motor combination (which has a closed loop already)

Please take a look at attached picture.
The motor has an encoder which is connected to the drive.
The Mesa-board sees the exact position of the table, and should keep giving commands to the drive, untill position is reached. (I expect)

The loop between motor-encoder and drive is the fastest, and not influenced by any speed of the Mesa.

What is your opinion of the considerations I have:
1. Is it smart to use the drive-outputs of the encoder to the Mesa-board? (And for what purpose)
2. Should I controll the drive in POSITION-mode or SPEED-mode?
 
Thanks, and with kind regards.
  • PCW
  • PCW's Avatar
11 Jan 2025 14:39
  • MWalz
  • MWalz
11 Jan 2025 12:15
Replied by MWalz on topic StepperOnline A6 Servo

StepperOnline A6 Servo

Category: EtherCAT

Hello dschultz,
could you share your working configuration?
I have the same servo but are not able to switch it to OP mode.
Thanks!
  • haham
  • haham
11 Jan 2025 10:45

SOLVED: CSS G96 with CCW spindle M4 on lathe

Category: G&M Codes

Thank you.

I found out, that the in my spindle-at-speed detection I used the absolute value instead of the signed value. So I only changed
spindle.0.speed-out-abs
to
spindle.0.speed-out
and it worked.

Hartmut
  • vre
  • vre
11 Jan 2025 07:26
Replied by vre on topic Mesa modbus and pktUart

Mesa modbus and pktUart

Category: Other User Interfaces

No i have 16 I/O as seen in mb2hal config
but in c code have 7 just for test only
Correct is 16 but i dont know if must write it in hex or dec base..
What is correct 0x0f or 16?

From these 2 modules which will work?
grobotronics.com/ttl-to-rs485-module.html?sl=en
or this
www.devobox.com/en/usb-to-serial/1264-ma...o-rs-485-module.html
How to wire pins with 7i80hd?
  • fully_defined
  • fully_defined's Avatar
11 Jan 2025 06:30
Replied by fully_defined on topic pncconf Clearpath SDSK settings

pncconf Clearpath SDSK settings

Category: General LinuxCNC Questions

 
"Help" is a strong word for what's happening here.

You seem to be getting frustrated.  Maybe I can help.

Correct me if I'm wrong, but your situation is that you have a Mesa 7i96s and Clearpath SDSK motors.  You want to:

  • Set some rational values for max velocity and accel
  • Connect the HLFB pins to the 7i96s
  • Make LCNC do something with the HLFB signals


    Have I got it right?

Yes, and thank you for engaging.

Those points are just what are directly in front of me, right now. It's mostly because I am at the pncconf stage, and there isn't a selection for setting the pins for drive fault there. I am not hung up on moving on, as long as I know where I need to set this function. I have LinuxCNC forum people telling me they have no idea how Clearpath HLFB works and Teknic saying they have no idea how LinuxCNC works, and here I am, stuck in the middle. That's why I thought maybe seeing an existing configuration would skip the middlemen and I could just copy someone else's homework.

Beyond that, I also need to know what to expect when homing the dual-Y gantry axis. There is more I'd like to learn about autosquaring too, but that's just one thing out of a long list.
  • phillc54
  • phillc54's Avatar
11 Jan 2025 06:08 - 11 Jan 2025 06:09
Replied by phillc54 on topic Axis Modifications

Axis Modifications

Category: AXIS

ttk buttons have no height or width configuration options so in this instance the easiest way is to add newlines and spaces around the text.
Something like the below inserted immediately before the return should look reasonable.
    after 0 {.__tk_filedialog.contents.f2.ok configure -text "\n          Open          \n"
             .__tk_filedialog.contents.f2.cancel configure -text "\nCancel\n"
            }
  • tcbmetalworks
  • tcbmetalworks
11 Jan 2025 05:40
Replied by tcbmetalworks on topic 10.5 x 25 cnc plasma table retrofit

10.5 x 25 cnc plasma table retrofit

Category: Computers and Hardware

Making more progress on water table. If I was to ever building something like this again I would build a stronger support frame to on the inside and underside of the table. I kindof skimped out there and it lead to lots of steel warping and bowing. I don't think it will matter much because I am going to build slat frames that can be leveled. Hopefully it's strong enough to hold all the water and up to 1.5 inch plate. Seems to be to me. 


  
  • PCW
  • PCW's Avatar
11 Jan 2025 03:43

SOLVED: CSS G96 with CCW spindle M4 on lathe

Category: G&M Codes

It may be possible to work around this by using some hal trickery:

A scale component and mux component to change the scale from 1 to -1
when desired.

But I do not know what LinuxCNC motion component expects.
It seems odd that a negative spindle speed would not be acceptable
for g96 when m4 is in effect.
 
  • PCW
  • PCW's Avatar
11 Jan 2025 02:00
Replied by PCW on topic Mesa modbus and pktUart

Mesa modbus and pktUart

Category: Other User Interfaces

Not sure. what device are you interfacing?
Do you really have 7 input and 7 output registers with integer values?
  • resmond
  • resmond
11 Jan 2025 01:47

Confusing error - I think from QtPCP / QtDragon_HD

Category: General LinuxCNC Questions

I got past that problem moved on to the next.
  • RNJFAB
  • RNJFAB
11 Jan 2025 01:37

Path display glitching - QTPlasmaC - v1.235.265 QtVCP LinuxCNC v2.9.0

Category: Plasmac

Hey,

So new PC all setup and running Debian Bookworm and LinuxCNC 2.9.0.

Glitching and not showing anything in the display screen.

Juat did a check in Synaps and have the latest version.

Any ideas?
  • ihavenofish
  • ihavenofish
11 Jan 2025 00:48

Solved - LinuxCNC does not work with new Delta ASDA-A2 drive

Category: General LinuxCNC Questions

"If EtherCAT works well, wouldn't it make the pulse option look rather outdated ?"

basically yes. pulse and analogues went out of date in the mid 90s and everyone went separate ways with serial protocols. Pulse stuck around for hobby people but the dust has settled now and ethercat is the way forward for sure.

Whether it is your present depends on a lot of factors. Usually money :P
Displaying 19906 - 19920 out of 21882 results.
Time to create page: 0.377 seconds
Powered by Kunena Forum