Advanced Search

Search Results (Searched for: )

  • PCW
  • PCW's Avatar
09 Jul 2025 13:17 - 09 Jul 2025 14:18

Best HAL function 2 contol bits for S32 in, 1 of 4 out?

Category: HAL

I think its something like:

loadrt mux_generic config="ss2,ss2"

addf mux-gen.00 servo thread
addf mux-gen.01 servo thread

And the main created pins are:

mux-gen.00.sel-bit-00
mux-gen.00.in-s32-00
mux-gen.00.in-s32-00
mux-gen.00.out-s32

mux-gen.01.sel-bit-00
mux-gen.01.in-s32-00
mux-gen.01.in-s32-00
mux-gen.01.out-s32

The select pin for both would connect to the angle jog enable
so the two muxes select either the output of anglejog (when
anglejog is selected) or the raw MPG count (when anglejog is not
selected)  The outputs of the muxes go to the appropriate
joint jog count pins.
  • vale
  • vale
09 Jul 2025 11:54 - 09 Jul 2025 11:57

Marco Reps video on youtube about EtherCAT

Category: EtherCAT

Hi,
I have one stepperonline A6 running, just on a test bench for now but it is working well.
Internal homing of the drive is now also working, even tough i am not sure how i got that going.
I tried using the homemod from Marco two weeks ago without success, then reinstalled everything, tried it with the untested one from rod, this also did not work then halcompiled the one from Marco again and all of a sudden it worked without any issues.

The only issue i have now is that the servo is not running smooth anymore since i reinstalled LCNC and the ethercat drivers, no idea where that is coming from, but i think i read in another thread that there is a solution to that just got to find that thread again.

I can share the ini hal and xml if anyone needs that.

EDIT:
I dont think that the difference from the A6 to the EL8 is that big, both are CIA402 so both should work with the same homemod etc., correct me if i am wrong? 
  • Hakan
  • Hakan
09 Jul 2025 09:47
Replied by Hakan on topic Omron MX2

Omron MX2

Category: EtherCAT

If you don't get a good response here you might be better off raising an issue with
the developer at github.com/linuxcnc-ethercat/linuxcnc-ethercat
I think he got one Omron MX2 himself and that's why it is supported directly.
  • meister
  • meister
09 Jul 2025 09:38
Replied by meister on topic Xilinx Zynq 7010 fpga crypto windfall boards

Xilinx Zynq 7010 fpga crypto windfall boards

Category: Driver Boards

just a playful child :)

the platform (zynq/vivado) is actually quite cool and if i hadn't approached it like the other fpga's, it would have been much easier.

if a linux is already on it, you only need a usb-serial adapter and you can configure the network.
the bitfile can then be copied and started via scp/ssh.

The downside of these things is that vivado is very slow and the FPGAs are very expensive when new.

and you should have 100gb of space on your disk
  • unknown
  • unknown
09 Jul 2025 09:17
Replied by unknown on topic Xilinx Zynq 7010 fpga crypto windfall boards

Xilinx Zynq 7010 fpga crypto windfall boards

Category: Driver Boards

Be you man or be you God ?
  • miniwini
  • miniwini's Avatar
09 Jul 2025 08:34
Omron MX2 was created by miniwini

Omron MX2

Category: EtherCAT

Hi all!

first of all, great work! I managed to get everything running just by reading all the great posts here! All the nice HowTo´s and so on... 

But now i got stuck...

what do i have?

i´m running a RPi 5 with LinuxCNC (latest Preempt Version) 
a Mesa 7i76EU (everything working)
a Pendant WHB04-6 (everything working)
and some Beckhoff EtherCat modules (everything working)
and last i got my self an EtherCat Module for the Omron MX2 (partial working)

I can´t figure out how to drive the Omron MX2, there is some mismatch in the type of the controlword
my ethercat xml has only the Modulelist, no special entries like syncmaster and so on... 

the Device shows up in the HalShow under lcec, all "Pins" are viseble, ethercat slaves shows the device... so i think its just a small config problem in the xml

maybe someone out here who has it running...

Thanks for looking / helping...

Cheers Einar 

 
  • slowpoke
  • slowpoke
09 Jul 2025 08:16

Best HAL function 2 contol bits for S32 in, 1 of 4 out?

Category: HAL

I would think that could be done with 2 mux2 components
(1 for X and 1 for Z) that select between anglejog outputs
when anglejog is enabled and direct MPG counts when
anglejog is not selected.



Agreed I will need two, one for X and one for Z, however mux2 works with floating point numbers, and the MPG counts are S32, so I don't think I can use mux2

mux_generic seems like it should work because you can select the data type, however I need a little help configuring mux_generic:
  - I assume I would add it to the servo-thread?   loadrt mux_generic config="??????"
  - the other pins are a bit fuzzy, looks like I need to specify:
     mux-gen.00.in-s32
     mux-gen.00.out-s32
    
I'm not sure how to:
a)  assign encoder-counts and angle_x to the two inputs of the multiplexer?
b)  route the output of the multiplexer to axis.x.jog-counts?
c)  define the control bit that will select the desired input? 

   Your help is appreciated.
  • Esaber
  • Esaber
09 Jul 2025 08:13
Replied by Esaber on topic Esab Ultrarex UXD-P2000 Upgrade Project

Esab Ultrarex UXD-P2000 Upgrade Project

Category: Plasma & Laser

So both motors are triggered and do move (jolt) when I enable the machine in linuxcnc. Looks like a central command goes to both motors to move. Powering the esab machine without linuxcnc is fine. No movement. Will check the voltage and report back.
  • pippin88
  • pippin88
09 Jul 2025 07:55
Replied by pippin88 on topic Gmoccapy 3.5.1

Gmoccapy 3.5.1

Category: Gmoccapy

Overrides are just set via physical up and down buttons, or via GUI in my setup.

New machine will sue encoders to have physical knob.

If easiest, a pop up warning that overrides are set, and buttons to cancel program, or proceed, would be very useful.
  • kjlty
  • kjlty
09 Jul 2025 07:27
Replied by kjlty on topic Flex GUI 1.2.2 Released

Flex GUI 1.2.2 Released

Category: Flex GUI

"I would greatly appreciate it if you could replace QPlainTextEdit with QsciScintilla."
  • HansU
  • HansU's Avatar
09 Jul 2025 07:26
Replied by HansU on topic Gmoccapy 3.5.1

Gmoccapy 3.5.1

Category: Gmoccapy

"Reset to 100%" would not work if you are using analog signals for the overrides.
So it will be only options for proceed and abort.
  • lonnox
  • lonnox's Avatar
09 Jul 2025 06:31

7i77 lost connection while encoder counts (PREEMPT-RT)

Category: Driver Boards

Dude, your machines look awesome by the way! 

there is only one RAM module in the PC, but i tried to swap it with a module from another PC. Both module have different speeds, sizes and manufactors. The same is for a second graphics card i tried.

But again without luck.

Wish i had another Ryzen CPU for testing but i haven't.
  • AirRacer
  • AirRacer
09 Jul 2025 06:30 - 09 Jul 2025 15:12
Replied by AirRacer on topic Mesa Configuration Tool

Mesa Configuration Tool

Category: Configuration Tools

I’ve just discovered that the Mesa Configuration Tool (at least the version available prior to 8/19/2024) does not configure the manual tool change section correctly.  I recently discovered this when my file did not stop at the M6 command and continued on to the next set of code.  I was able to look at a .hal file set up with pncconfig and copy the manual tool change section from there and now everything works correctly (I get the manual tool change pop up window when the M6 command is encountered). This is a Mill setup that uses the AXIS GUI.

Here are the two configurations:

Pncconfig version that works:

#  ---manual tool change signals---
net tool-change-request    <= iocontrol.0.tool-change
net tool-change-confirmed  => iocontrol.0.tool-changed
net tool-number            <= iocontrol.0.tool-prep-number 

#  ---Use external manual tool change dialog---
loadusr -W hal_manualtoolchange
net tool-change-request    =>  hal_manualtoolchange.change
net tool-change-confirmed  <=  hal_manualtoolchange.changed
net tool-number            =>  hal_manualtoolchange.number

#  ---ignore tool prepare requests---
net tool-prepare-loopback   iocontrol.0.tool-prepare      =>  iocontrol.0.tool-prepared


Mesa Configuration Tool version that doesn’t invoke the manual tool change pop-up or pause the code at M6:

#  Manual Tool Change Dialog
loadusr -W hal_manualtoolchange
net tool-change-request    =>  hal_manualtoolchange.change
net tool-change-confirmed  <=  hal_manualtoolchange.changed
net tool-number            =>  hal_manualtoolchange.number

# create signals for tool loading loopback
net tool-prep-loop iocontrol.0.tool-prepare => iocontrol.0.tool-prepared
net tool-change-loop iocontrol.0.tool-change => iocontrol.0.tool-changed

 Regards,

Skylor
  • meister
  • meister
09 Jul 2025 05:44
Replied by meister on topic Xilinx Zynq 7010 fpga crypto windfall boards

Xilinx Zynq 7010 fpga crypto windfall boards

Category: Driver Boards

Interface between ARM-Core and FPGA-Part works, using AXI.

next step: udp2axi program for the ARM-Core
  • PCW
  • PCW's Avatar
09 Jul 2025 03:25

Best HAL function 2 contol bits for S32 in, 1 of 4 out?

Category: HAL

I would think that could be done with 2 mux2 components
(1 for X and 1 for Z) that select between anglejog outputs
when anglejog is enabled and direct MPG counts when
anglejog is not selected.
Displaying 11836 - 11850 out of 17761 results.
Time to create page: 0.515 seconds
Powered by Kunena Forum