ASD-A2 EtherCAT on LinuxCNC

More
6 years 4 months ago #172500 by jirkam
Replied by jirkam on topic ASD-A2 EtherCAT on LinuxCNC
Thank you very much for the instructions. I'll try it tomorrow.
P1-34 and P1-35 I have 1000ms.

I just wondered if I didn't have an unnecessarily high resolution.
P1-44 = 1280 and P1-45 = 15.

Must P2-60, P2-61 and P2-62 be the same as P1-44?
I have all three parameters of 1280 pulses.

Thank you very much jirka

Please Log in or Create an account to join the conversation.

More
6 years 4 months ago - 6 years 4 months ago #172540 by chimeno
Replied by chimeno on topic ASD-A2 EtherCAT on LinuxCNC
Hi @jirkam

Thank you very much for the instructions. I'll try it tomorrow.
P1-34 and P1-35 I have 1000ms.


It depends on the values ​​that you have placed in the .ini file and also on those that you need the machine to move quickly.
these are the parameters that you will have to change
Code:
MAX_VELOCITY = 250 MAX_ACCELERATION = 1500


I just wondered if I didn't have an unnecessarily high resolution.
P1-44 = 1280 and P1-45 = 15.

these values ​​are for the reducer, I think it may be better to do the tests leave it at 1 and configure the ratio in linuxcnc
Code:
setp lcec.0.x.srv-scale [JOINT_0]SCALE
Code:
SCALE = 0.2
this is for me, one engine turn is 5 millimeters

Greeting
Chimeno
Last edit: 6 years 4 months ago by chimeno. Reason: Edit

Please Log in or Create an account to join the conversation.

More
6 years 4 months ago #172580 by jirkam
Replied by jirkam on topic ASD-A2 EtherCAT on LinuxCNC
Hello @ chimeno

"lcec.0.x.srv-velo-cmd" refuses me.
Did you mean "lcec.0.x.srv-vel-cmd"? That was ok.

I setup:
P = 1 (gradually increased up to 25,000)
I = 0
D = 0
FF0 = 0
FF1 = 1
FF2 = 0
DEBAND = 0
MAX_OUTPUT 30000
and still a huge f-error.

I changed the encoder settings (P1-44 = 1 and P1-45 = 1)
SCALE = 15
and it was better.
I ended up here:
P = 130
I = 0
D = 0
FF0 = 0
FF1 = 1.12
FF2 = 0.006
DEBAND = 0
MAX_OUTPUT 30000
The result in the pictures. It's a spiral again.
I don't think it's ok.
How to improve it?
Thanks jirka

Please Log in or Create an account to join the conversation.

More
6 years 4 months ago - 6 years 4 months ago #172597 by chimeno
Replied by chimeno on topic ASD-A2 EtherCAT on LinuxCNC
Hi @jirkam,
Code:
"lcec.0.x.srv-velo-cmd" me rechaza. ¿Quiso decir "lcec.0.x.srv-vel-cmd"? Eso estuvo bien.
I use the servo drive beckhoff, the signal has another name.

have you given him more acceleration?
P1-34
P1-35


can you measure the engine revolutions with this command?
Code:
setp lcec.0.x.srv-vel-cmd 15000
= 1.500 rpm

Greetting
Chimeno
Last edit: 6 years 4 months ago by chimeno.

Please Log in or Create an account to join the conversation.

More
6 years 4 months ago #172618 by jirkam
Replied by jirkam on topic ASD-A2 EtherCAT on LinuxCNC
Hi @chimeno
I only set the acceleration to 1500 in Lcnc.
Visible change in acceleration.
But I will try to set the acceleration of both P1-34 and P1-35.
I thought it would be enough to set up Lcnc.

"setp lcec.0.x.srv-vel-cmd 15000"
Do you mean measurement in HALscope?

Thanks jirka

Please Log in or Create an account to join the conversation.

More
6 years 4 months ago #172704 by jirkam
Replied by jirkam on topic ASD-A2 EtherCAT on LinuxCNC
Hi @chimeno
Here are the pictures with "lcec.0.x.srv-velo-cmd".
It's a spiral again.

P = 120
I = 0
D = 0
FF0 = 0
FF1 = 1.12
FF2 = 0.006
DEBAND = 0
MAX_OUTPUT 30000
SCALE = 15
P1-34 = 200
P1-35 = 200

Thanks jirka

Please Log in or Create an account to join the conversation.

Time to create page: 0.556 seconds
Powered by Kunena Forum