Advanced Search

Search Results (Searched for: )

  • vre
  • vre
20 Jan 2025 10:28
Replied by vre on topic Mesa modbus and pktUart

Mesa modbus and pktUart

Category: Other User Interfaces

This config works but displays a ton of errors at startup of linuxcnc like these
task: main loop took 0.105362 seconds
Modbus error response function 128 error Illegal Data Value

Modbus error response function 128 error Illegal Data Value

task: main loop took 0.100015 seconds
Modbus error response function 128 error Illegal Data Value

task: main loop took 0.100069 seconds
Modbus error response function 128 error Illegal Data Value

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

static const hm2_modbus_chan_descriptor_t channels[] = {
/*  {TYPE,    FUNC, ADDR,   COUNT, pin_name} */
    {HAL_U32, 3,  0x0080, 1,     "in-01"},
	{HAL_U32, 3,  0x0081, 1,     "in-02"},
    {HAL_U32, 3,  0x0082, 1,     "in-03"},
    {HAL_U32, 3,  0x0083, 1,     "in-04"},
    {HAL_U32, 3,  0x0084, 1,     "in-05"},
    {HAL_U32, 3,  0x0085, 1,     "in-06"},
    {HAL_U32, 3,  0x0086, 1,     "in-07"},
	{HAL_U32, 3,  0x0087, 1,     "in-08"},
    {HAL_U32, 3,  0x0088, 1,     "in-09"},
    {HAL_U32, 3,  0x0089, 1,     "in-10"},
    {HAL_U32, 3,  0x008A, 1,     "in-11"},
    {HAL_U32, 3,  0x008B, 1,     "in-12"},
	{HAL_U32, 3,  0x008C, 1,     "in-13"},
    {HAL_U32, 3,  0x008D, 1,     "in-14"},
    {HAL_U32, 3,  0x008E, 1,     "in-15"},
    {HAL_U32, 3,  0x008F, 1,     "in-16"},
    {HAL_U32, 3,  0x0090, 1,     "in-17"},
	{HAL_U32, 3,  0x0091, 1,     "in-18"},
    {HAL_U32, 3,  0x0092, 1,     "in-19"},
    {HAL_U32, 3,  0x0093, 1,     "in-20"},
    {HAL_U32, 3,  0x0094, 1,     "in-21"},
    {HAL_U32, 3,  0x0095, 1,     "in-22"},
    {HAL_U32, 3,  0x0096, 1,     "in-23"},
	{HAL_U32, 3,  0x0097, 1,     "in-24"},
    {HAL_U32, 3,  0x0098, 1,     "in-25"},
    {HAL_U32, 3,  0x0099, 1,     "in-26"},
    {HAL_U32, 3,  0x009A, 1,     "in-27"},
    {HAL_U32, 3,  0x009B, 1,     "in-28"},
	{HAL_U32, 3,  0x009C, 1,     "in-29"},
    {HAL_U32, 3,  0x009D, 1,     "in-30"},
    {HAL_U32, 3,  0x009E, 1,     "in-31"},
    {HAL_U32, 3,  0x009F, 1,     "in-32"},
		
    {HAL_U32, 16, 0x0000, 1,     "out-01"},
    {HAL_U32, 16, 0x0001, 1,     "out-02"},	
    {HAL_U32, 16, 0x0002, 1,     "out-03"},
    {HAL_U32, 16, 0x0003, 1,     "out-04"},
    {HAL_U32, 16, 0x0004, 1,     "out-05"},
    {HAL_U32, 16, 0x0005, 1,     "out-06"},
    {HAL_U32, 16, 0x0006, 1,     "out-07"},
    {HAL_U32, 16, 0x0007, 1,     "out-08"},
    {HAL_U32, 16, 0x0008, 1,     "out-09"},
    {HAL_U32, 16, 0x0009, 1,     "out-10"},	
    {HAL_U32, 16, 0x000A, 1,     "out-11"},
    {HAL_U32, 16, 0x000B, 1,     "out-12"},
    {HAL_U32, 16, 0x000C, 1,     "out-13"},
    {HAL_U32, 16, 0x000D, 1,     "out-14"},
    {HAL_U32, 16, 0x000E, 1,     "out-15"},
    {HAL_U32, 16, 0x000F, 1,     "out-16"},	
    {HAL_U32, 16, 0x0010, 1,     "out-17"},
    {HAL_U32, 16, 0x0011, 1,     "out-18"},	
    {HAL_U32, 16, 0x0012, 1,     "out-19"},
    {HAL_U32, 16, 0x0013, 1,     "out-20"},
    {HAL_U32, 16, 0x0014, 1,     "out-21"},
    {HAL_U32, 16, 0x0015, 1,     "out-22"},
    {HAL_U32, 16, 0x0016, 1,     "out-23"},
    {HAL_U32, 16, 0x0017, 1,     "out-24"},
    {HAL_U32, 16, 0x0018, 1,     "out-25"},
    {HAL_U32, 16, 0x0019, 1,     "out-26"},	
    {HAL_U32, 16, 0x001A, 1,     "out-27"},
    {HAL_U32, 16, 0x001B, 1,     "out-28"},
    {HAL_U32, 16, 0x001C, 1,     "out-29"},
    {HAL_U32, 16, 0x001D, 1,     "out-30"},
    {HAL_U32, 16, 0x001E, 1,     "out-31"},
    {HAL_U32, 16, 0x001F, 1,     "out-32"},

};

  • KrisR
  • KrisR
20 Jan 2025 09:37
Replied by KrisR on topic Kappa goniostat

Kappa goniostat

Category: Advanced Configuration

yepp, 4 rotary axis around center of the universe and one translation.
  • epineh
  • epineh
20 Jan 2025 09:23
Replied by epineh on topic Riocore setup from scratch for dummies

Riocore setup from scratch for dummies

Category: Installing LinuxCNC

Hi Dima, even though I wrote this "how to" I would recommend using the docker method of installing :

github.com/multigcs/riocore/blob/main/DOCKER.md

It makes life a lot easier, just use the linuxcnc debian live install operating system, sounds like you already have it installed. It should work without issue, I have tried using Ubuntu and Kali linux but they have problems running the docker setup.

Russell.
  • Muecke
  • Muecke's Avatar
20 Jan 2025 07:01 - 20 Jan 2025 10:58
Replied by Muecke on topic Button for Y-axis speed

Button for Y-axis speed

Category: HAL

If I have understood correctly, I have now installed the input pin (at least there is no longer an error), but when the button is pressed, nothing moves on my machine :-(.

What have I forgotten?
# Datei: io.hal

# ############################################### #
# Fußschalter Y-Achse (Footswitch) #
# #
# Connect button to Mesa input 7 #
# Move foot switch Y-axis #
# Move in positive direction #
# #
# ############################################### #
#
# Joint to Axis
# Joint 0 ==> Axis Z
# Joint 1 ==> Axis Z
# Joint 2 ==> Axis X
# Joint 3 ==> Axis Y
# Joint 4 ==> Axis C
#
# Hal-Meter
# Pin ==> hm2_7i95.0.inmux.00.input-07-not
# Button not pressed => TRUE
# Button pressed => FALSE
#
# Verknüpfe die Taste mit dem Jog-Enable-Signal der Y-Achse
net Footswitch joint.3.jog-enable <= hm2_7i95.0.inmux.00.input-07-not

Gruß Mücke


[EDIT]
I found my error, I included a joystick and there were certain things connected that led to the conflict.

I have temporarily removed the joystick.
My HAL now looks like this.
# Link the button to the jog enable signal of the Y-axis
  net  Footswitch halui.axis.y.plus  <= hm2_7i95.0.inmux.00.input-07
# Set speed
  setp halui.axis.jog-speed 1200
  • blazini36
  • blazini36
20 Jan 2025 06:44
Replied by blazini36 on topic Flexible GUI

Flexible GUI

Category: Flex GUI

Try halui.axis.selected u32 out  - selected axis (by index: 0:x 1:y 2:z 3:a 4:b 5:cr 6:u 7:v 8:w)
 

That's a hal pin, that doesn't have anything to do with how Flex GUI would handle displaying the value of the HAL pin.

What I mentioned was based on the Flex Label with a bit input that was just added, could add multiple bit inputs but now that I think about it that probably wouldn't go well if multiple bits were true. So yeah, it could use an S32/U32 input and that would probably solve that issue but there's still no way of displaying different text based on the value of the input other than just to display the value itself.

Something like this could work, it currently doesn't:
 
  • xenon-alien
  • xenon-alien's Avatar
20 Jan 2025 06:31
Replied by xenon-alien on topic Carousel with step motor

Carousel with step motor

Category: Advanced Configuration

I'm appreciate your help!
I will try to figure it out.
But an understandable manual would be better (to not bother other people with beginner stuff). I hope Andy will do it sometime.
  • Stanislavz
  • Stanislavz
20 Jan 2025 06:16
Replied by Stanislavz on topic Ballscrew articulation, has anybody had success?

Ballscrew articulation, has anybody had success?

Category: General LinuxCNC Questions

Sanity check - if one put encoder not on ballscrew, but on swing axis itself and use servo driver with speed input - nothing need to be adjusted. Encoder output should be sent to controller of course. Servo should slightly overbuild for this setup,
  • Gautham
  • Gautham
20 Jan 2025 05:23

Ballscrew articulation, has anybody had success?

Category: General LinuxCNC Questions

Thank you Paul, I did spend a lot of time reading but as a person who has never had any experience using LinuxCNC I wasn't confident enough about the general direction I was headed in. With your input I can go ahead in this direction and learn more on my own. Thank you so much
  • Gautham
  • Gautham
20 Jan 2025 05:20
Replied by Gautham on topic Rotating Axis Controlled by a Ballscrew

Rotating Axis Controlled by a Ballscrew

Category: Basic Configuration

Thank you Andy and thank you besriworld, I also feel this is a viable solution, Ofcourse what besriworld about the ballscrew taking radial load is true but we can fix that at a lower cost than some of the other solutions available. I will look into that aswell ass the solutions suggested by besriworld. Thank you all once again
Displaying 19891 - 19899 out of 19899 results.
Time to create page: 0.558 seconds
Powered by Kunena Forum