Advanced Search

Search Results (Searched for: )

  • amanker
  • amanker
Today 13:26 - Today 14:28

Remora - Rpi Software Stepping Using External Microcontroller via SPI

Category: Computers and Hardware

eating a std module
Remora PRU - Programmable Realtime Unit 
 Mbed-OS6 
 Remora-spi Driver 
## Entering SETUP state
1. Reading json configuration file
OK
Opening "/fs/config.txt"... OK
Json config file lenght = 3836
Closing "/fs/config.txt"... 
2. Setting up DMA and threads
Initialising SPI1 slave
Initialising DMA for SPI
3. Parsing json configuration file
Config deserialisation - Deserialization succeeded
4. Config threads
Creating thread 40000
Creating thread 1000
Creating thread 57600
5. Loading modules
Servo thread object
Reset pin
Make Reset Pin at pin PC_15
Creating a std module
Creating Pin @
  port = GPIOC
  pin = 15
Base thread object
X - Joint 0 step generator
Creating a std module
Creating Pin @
  port = GPIOF
  pin = 14
Creating Pin @
  port = GPIOF
 pin = 13
Creating Pin @
  port = GPIOF
  pin = 12
Base thread object
Y - Joint 1 step generator
Creating a std module
Creating Pin @
  port = GPIOF
  pin = 15
Creating Pin @
  port = GPIOG
  pin = 0
Creating Pin @
  port = GPIOG
  pin = 1
Base thread object
Z - Joint 2 step generator
Creating a std module
Creating Pin @
  port = GPIOG
  pin = 5
Creating Pin @
  port = GPIOF
  pin = 11
Creating Pin @
  port = GPIOG
  pin = 3
Base thread object
E0 - Joint 3 step generator
Creating a std module
Creating Pin @
  port = GPIOA
  pin = 0
Creating Pin @
  port = GPIOG
  pin = 4
Creating Pin @
  port = GPIOC
  pin = 1
Base thread object
E1 - Joint 4 step generator
Creating a std module
Creating Pin @
  port = GPIOG
  pin = 2
Creating Pin @
  port = GPIOF
  pin = 9
Creating Pin @
  port = GPIOF
  pin = 10
Servo thread object
X min
Make Digital Input at pin PG_6
Creating a std module
  Setting pin as No Pull
Creating Pin @
  port = GPIOG
  pin = 6
Servo thread object
X max
Make Digital Input at pin PG_9
Creating a std module
  Setting pin as No Pull
Creating Pin @
  port = GPIOG
  pin = 9
Servo thread object
Y min
Make Digital Input at pin PG_10
Creating a std module
  Setting pin as No Pull
Creating Pin @
  port = GPIOG
  pin = 10
Servo thread object
Y max
Make Digital Input at pin PG_11
Creating a std module
  Setting pin as No Pull
Creating Pin @
  port = GPIOG
  pin = 11
Servo thread object
Z min
Make Digital Input at pin PG_12
Creating a std module
  Setting pin as No Pull
Creating Pin @
  port = GPIOG
  pin = 12
Servo thread object
Z max
Make Digital Input at pin PG_13
Creating a std module
  Setting pin as No Pull
Creating Pin @
  port = GPIOG
  pin = 13
Servo thread object
Probe
Make Digital Input at pin PC_5
Creating a std module
  Setting pin as No Pull
Creating Pin @
  port = GPIOC
  pin = 5
Servo thread object
Estop pin
Make eStop at pin PE_11
Creating a std module
Creating Pin @
  port = GPIOE
  pin = 11
Servo thread object
Make Blink at pin PA_8
Creating a std module
Creating Pin @
  port = GPIOA
  pin = 8
Servo thread object
Spindle PWM 0
Make PWM at pin PB_0
Creating a std module
Creating Hardware PWM at pin PB_0
Creating Pin @
  port = GPIOB
  pin = 0
## Entering START state
Starting the BASE thread
Registering interrupt for interrupt number = 24
    power on Timer 9
Starting the SERVO thread
Registering interrupt for interrupt number = 25
    power on Timer 10
## Entering IDLE state


Here is output on UART from remora firmware

Edit: Launched linuxcnc on terminal, getting "bad spi payload"
(Bad SPI payload = 32393a38)
  • grandixximo
  • grandixximo's Avatar
Today 12:29 - Today 12:31
Replied by grandixximo on topic LinuxCNC S-Curve Accelerations

LinuxCNC S-Curve Accelerations

Category: General LinuxCNC Questions

@ruediger123

at the moment jerk-cmd are debug pins, they are not to be used for machine control, because the current calculations try and do best we can to calculate and blend quickly in realtime, there are knowm spikes in the jerk-cmd, please look at vel-cmd and acc-cmd everything looks very good to me there, there are no violations there, if we were to respect jerk cmd strictly the interpolation would not be able to run as fast as it does, but we could look at making a stricter mode viable as an alternative, or possibly the default if that's what the community needs.
  • grandixximo
  • grandixximo's Avatar
Today 11:44
Replied by grandixximo on topic LinuxCNC S-Curve Accelerations

LinuxCNC S-Curve Accelerations

Category: General LinuxCNC Questions

@PCW

try with

setp ini.traj_max_jerk 3000
and
setp ini.traj_default_jerk 3000

I do not get acc violation with these values, can you confirm?
  • meister
  • meister
Today 11:01

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

Category: Computers and Hardware

this tool is embedded into the AXIS gui:

Menu -> Machine -> Calibration
  • Dave3891
  • Dave3891
Today 06:18

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

Category: Computers and Hardware

Thanks! That was the problem.
I also set the P value back to 250 and FF1 to 0 and max output to 300.
The other settings were causing a following error, but now everything is working great and milling round circles now.

What is the program you were using to change the joint values in the video? Looks like you can change them without restarting linuxcnc?
  • amanker
  • amanker
Today 05:19

Remora - Rpi Software Stepping Using External Microcontroller via SPI

Category: Computers and Hardware

I didn't tested by launching from terminal. But I tried with skr3 board which was tested working and octopus pro with newer(tmc5160) and regular remora both have same problem.
  • tommylight
  • tommylight's Avatar
Yesterday 01:42
Replied by tommylight on topic LinuxCNC S-Curve Accelerations

LinuxCNC S-Curve Accelerations

Category: General LinuxCNC Questions

He did but you probably did not get a notification as he edited the existing post.
  • grandixximo
  • grandixximo's Avatar
Yesterday 01:34
Replied by grandixximo on topic LinuxCNC S-Curve Accelerations

LinuxCNC S-Curve Accelerations

Category: General LinuxCNC Questions

Share the gcode please, and we will take a look next week
  • Strouty
  • Strouty
Yesterday 00:25
Replied by Strouty on topic 1982 Matsuura MC-500v Retrofit

1982 Matsuura MC-500v Retrofit

Category: CNC Machines

Probably get no response, but figured I would try, I am currently in process of doing a similar retrofit and was trying to get a few more details on the homemade encoder for the spindle.  The fact that the OP has not posted here or on Youtube in three years makes me think I am SOL.
  • soehlrich
  • soehlrich
Yesterday 00:14
Replied by soehlrich on topic Qtdragon_hd Zero button not zeroing

Qtdragon_hd Zero button not zeroing

Category: General LinuxCNC Questions

Thanks Chris,

I also notice previously I had 0 as deadband and the steppers all worked well. With 0 now they hunt 0.000 to 0.001 so are contstanly vibrating. I had to set the deadband to 0.001 to stop it. There are 6400 pules per rev and each rev is 5mm.

If you need anymore info please let me know.

Regards
  • NWE
  • NWE
Yesterday 23:26

Ursviken Pullmax Optima 130 press brake retrofit with 4 axis backgage

Category: Show Your Stuff

Been poking at this a bit, finally got new ideas on this servo valve height control setup:

The servo valve pwm signal is basically a 'power' level command.
 The user interface commands position orders at more or less adjustable velocity.
 My PID controls position... I thought I might use pid.max-limit to control the velocity, but I do not expect that to work well for controlling non-linear hydraulics.

Aha! I think a second PID will serve the speed control. I have to try that.
  • MaHa
  • MaHa
Yesterday 22:09
Replied by MaHa on topic Failure to find Named Subroutines

Failure to find Named Subroutines

Category: O Codes (subroutines) and NGCGUI

The name must always match

file:
myfile.ngc

in the subroutine:
o<myfile> sub
  some code
o<myfile> endsub

call the sub:
o<myfile> call
 
  • cmorley
  • cmorley
Yesterday 21:49
Replied by cmorley on topic Qtdragon_hd Zero button not zeroing

Qtdragon_hd Zero button not zeroing

Category: General LinuxCNC Questions

yes I bet that's it. I notice you are using metric, so .006 is pretty small.
I'll try to track down where the rounding error comes from.
  • tommylight
  • tommylight's Avatar
Yesterday 20:55
Replied by tommylight on topic Failure to find Named Subroutines

Failure to find Named Subroutines

Category: O Codes (subroutines) and NGCGUI


In this case I had a dead simple routine named 'test.ngc' that called a dead simple subroutine named 'my file.ngc'.

No idea if this is the issue, but easy to test so:
-no spaces in file names, this was an issue way back, not sure if it still is
-use a file name like: my_file.ngc
Displaying 16 - 30 out of 20297 results.
Time to create page: 0.245 seconds
Powered by Kunena Forum