Advanced Search

Search Results (Searched for: )

  • ContinenteCNC
  • ContinenteCNC's Avatar
30 Dec 2025 20:10 - 01 Jan 2026 21:30
Replied by ContinenteCNC on topic PID Windup on the way down

PID Windup on the way down

Category: HAL

In my case, there is no need to limit the output at zero. I am using pwmgen to generate the 0–10 V signal in type=0, so any negative PID output is clamped to zero.

The PID behaves correctly during ramp-up, since the output is limited to the maximum possible pwmgen value. The derivative gain provides enough damping to prevent overshoot in that direction. However, during ramp-down, there is a small amount of overshoot. It is minimal and perfectly acceptable for my application.

I was just wondering whether it would be useful to have a minoutput pin, allowing the lower limit to be set to zero instead of -maxoutput.
  • Dave3891
  • Dave3891
30 Dec 2025 19:48 - 30 Dec 2025 19:49

LinuxCNC-RIO - RealtimeIO for LinuxCNC based on FPGA (ICE40 / ECP5)

Category: Computers and Hardware

Looking at the manual for this drive I think I can set the control inputs to the terminals and the frequency input to the modbus, I will have to try it later this week.

 

 


 
  • Robin123
  • Robin123
30 Dec 2025 19:44
Replied by Robin123 on topic 7i97t Mesaflash Problem

7i97t Mesaflash Problem

Category: General LinuxCNC Questions

I just edited the automatically generated .ini and .hal files as needed or commented out lines until LinuxCNC worked. The limit switches, etc. are also not wired yet; I just want to test the old amplifiers once. So, nothing fancy. Maybe I removed too much there or haven't adjusted it yet...? 

File Attachment:

File Name: Klopp4.0.hal
File Size:11 KB
 

File Attachment:

File Name: Klopp4.0.ini
File Size:4 KB
  • tommylight
  • tommylight's Avatar
30 Dec 2025 19:44
Replied by tommylight on topic Following errors

Following errors

Category: General LinuxCNC Questions

RotarySMP has issues with 1 drive causing a fault after a jog, 1 drive faults immediately on jog, and 1 is working OK, so not the same thing as this topic.
This was trying to jog while the drives were disabled, and the subsequent tuning.
RotarySMP has most probably issues with EXE cards that translate whatever feedback Maho uses to pulses.
I though he already figured that out as he did mentioned the same thing on his last video.
  • meister
  • meister
30 Dec 2025 19:38

LinuxCNC-RIO - RealtimeIO for LinuxCNC based on FPGA (ICE40 / ECP5)

Category: Computers and Hardware

perhaps also useful for others

 

File Attachment:

File Name: modbus-vfdsim.py
File Size:2 KB
  • meister
  • meister
30 Dec 2025 19:36

LinuxCNC-RIO - RealtimeIO for LinuxCNC based on FPGA (ICE40 / ECP5)

Category: Computers and Hardware

not with my VFD, if it set to RS485 mode, all other inputs are disabled.

But I'm already trying something.
I'm currently writing a simple Modbus simulator in Python.
I already have an idea of how I can implement it.
  • PCW
  • PCW's Avatar
30 Dec 2025 19:32
Replied by PCW on topic 7i97t Mesaflash Problem

7i97t Mesaflash Problem

Category: General LinuxCNC Questions

Can you post your hal/ini files?
 
  • Robin123
  • Robin123
30 Dec 2025 19:21
Replied by Robin123 on topic 7i97t Mesaflash Problem

7i97t Mesaflash Problem

Category: General LinuxCNC Questions

First of all, thank you so much for the quick replies! With the spontaneous help of a colleague, I downloaded the latest version of mesaflash, etc., did the same thing, and it worked for him. However, the problem is still that I can't control the analog outputs. I got the idea about the firmware because I read somewhere that I need a different version so that analog output is available instead of PWM. Currently, I have PWM 00...05, with both value and enable settings. When I set enable, the Mesa outputs about 0.35V at the analog output. Scale = 10 Max_output = 10 Do I need to adjust anything else? If you need any further information, please let me know! Thank you!
  • Dave3891
  • Dave3891
30 Dec 2025 18:20

LinuxCNC-RIO - RealtimeIO for LinuxCNC based on FPGA (ICE40 / ECP5)

Category: Computers and Hardware

Could the speed command be sent in the modbus loop and then I could use regular gpio for the start stop?
  • meister
  • meister
30 Dec 2025 18:04

LinuxCNC-RIO - RealtimeIO for LinuxCNC based on FPGA (ICE40 / ECP5)

Category: Computers and Hardware

It could be a bit difficult. To be honest, I've never really thought about how to integrate a VFD using normal Modbus commands.

The main problem is that Rio sends the values in a loop, and individual commands cannot be triggered by a button, for example (to start/stop).

I think I'll have to expand it a bit for that,
but you can try reading out a few values to test the communication.

in json it looks like that to read BusVoltage and RunningFrequency:
{
    "type": "modbus",
    "pins": {
...
    },
    "config": {
        "BusVoltage": {
            "address": 1,
            "type": 3,
            "register": 4098,
            "values": 1,
            "datatype": "int",
            "scale": 1.0,
            "unit": "",
            "error_values": "",
            "format": "d",
            "timeout": 100,
            "delay": 60,
            "priority": 0,
            "direction": "input"
        },
        "RunningFrequency": {
            "address": 1,
            "type": 3,
            "register": 4097,
            "values": 1,
            "datatype": "int",
            "scale": 1.0,
            "unit": "",
            "error_values": "",
            "format": "d",
            "timeout": 100,
            "delay": 60,
            "priority": 0,
            "direction": "input"
        }
    }
},
  • PCW
  • PCW's Avatar
30 Dec 2025 16:32

7i96S card arrived what setup is recomended

Category: Driver Boards

I think I would choose the alarm polarity so its "ON" for alarm, then the can be wired in parallel

To wire the enables in parallel, a single 5V step/dir pin may not have enough current
so a better scheme would be to use an isolated output for this, say:

+5V --> OUT0+
OUT0- --> ENAX+,ENAY+,ENAZ+
5VGND --> ENAX-,ENAY-,ENAZ-
 
  • Crusader2050
  • Crusader2050
30 Dec 2025 16:23
Replied by Crusader2050 on topic Following errors

Following errors

Category: General LinuxCNC Questions

yeah that's the chap..
  • rodw
  • rodw's Avatar
30 Dec 2025 16:18
Replied by rodw on topic Following errors

Following errors

Category: General LinuxCNC Questions

Sorry, I misunderstoeod the issue. Tuning the PREEMPT_RT kernel to minimize latency can solve some following errors and it is not documented anywhere in one place and those who follow my guide have had some impressive results as shown in user comments in the video.
This was a very hard topic to put together in a coherent manner.
  • Dave3891
  • Dave3891
30 Dec 2025 16:10

LinuxCNC-RIO - RealtimeIO for LinuxCNC based on FPGA (ICE40 / ECP5)

Category: Computers and Hardware

The drive is a WK600 series VFD, looking at the modbus manual, I think it is true modbus?
I have attached the modbus details
Displaying 901 - 915 out of 19822 results.
Time to create page: 0.253 seconds
Powered by Kunena Forum