- Posts: 12160
- Thank you received: 0
Gantry machine progress
9 years 2 months ago #97690
by rodw
In your config folder
But is the 24 volt signal connected to the right joint in your hal file? I suspect it isn't. Check it carefully.
Replied by rodw on topic Gantry machine progres
Yannis wrote: Hi
rodw replied I would delete the linuxcnc.var file
where can i find the linux var.??
In your config folder
Yannis wrote:
the home limit switch send to the 7i77 analog card 24volts
But is the 24 volt signal connected to the right joint in your hal file? I suspect it isn't. Check it carefully.
Please Log in to join the conversation.
9 years 2 months ago #97719
by Yannis
Replied by Yannis on topic Gantry machine progres
Hi
i manage to home the machine correct
(i think)
i make so match changes that i lost counting
i manage to home the machine correct
i make so match changes that i lost counting
Please Log in to join the conversation.
9 years 2 months ago #97720
by Yannis
Replied by Yannis on topic Gantry machine progres
andypugh wrote
You need to connect an input to the HAL pin "motion.spindle.at-speed" and then cutting moves are paused until that pin goes true.
can i use the p command in the g code after the s command instead??
You need to connect an input to the HAL pin "motion.spindle.at-speed" and then cutting moves are paused until that pin goes true.
can i use the p command in the g code after the s command instead??
Please Log in to join the conversation.
9 years 2 months ago #97733
by Yannis
Replied by Yannis on topic Gantry machine progres
Hi
i wonder if there is a clock inside linuxcnc to count the the processing time
it is very useful
i wonder if there is a clock inside linuxcnc to count the the processing time
it is very useful
Please Log in to join the conversation.
- Todd Zuercher
- Offline
- Platinum Member
-
Less
More
- Posts: 4739
- Thank you received: 2
9 years 2 months ago #97742
by Todd Zuercher
Replied by Todd Zuercher on topic Gantry machine progres
Yes there is a way to measure the time it takes to run a g-code program. It usually requires setting up an auxiliary screen panel such as Pyvcp or Gladevcp (I don't know if it is built into any of the newer GUIs but I doubt it.)
linuxcnc.org/docs/html/man/man9/time.9.html
linuxcnc.org/docs/html/man/man9/time.9.html
Please Log in to join the conversation.
9 years 2 months ago #97758
by Yannis
Replied by Yannis on topic Gantry machine progres
Hi
the procedure to retrofit is 2 step ahead 1.5 backwards
the latest issue is again with the PID settings of the servos*BRU 200*
1)i have tune the X axis and it look great at performance
the settings was
# Joint 0
[JOINT_0]
#********************
TYPE = LINEAR
HOME = 0.0
FERROR = 10.0
MIN_FERROR = 1.0
MAX_VELOCITY = 18500.0
MAX_ACCELERATION = 120.0
P = 2
I = 0
D = 0
FF0 = 0
FF1 = 0.018
FF2 = 0
BIAS = 0
DEADBAND = 0.001
MAX_OUTPUT = 10
ENCODER_SCALE = 800
OUTPUT_SCALE = 10
OUTPUT_MIN_LIMIT = -10
OUTPUT_MAX_LIMIT = 10
MIN_LIMIT = -0.01
MAX_LIMIT = 3500.0
HOME_OFFSET = 5.0
the motor was unhooked from the timing belt and the info for the encoder was from the internet
when i connect the motor to the timing belt i saw that the ENCODER_SCALE = 800 was wrong
i set the right value witch is ENCODER_SCALE = 400 after that change the motor was just not working as before
i try with diferrent PID settings but i can not reach the earlier performance
the FERROR = 10.0
MIN_FERROR = 1.0
OUTPUT_SCALE = 10
was unchanged (default values)
2) in the C axis (Joint 4) i want to change the direction of rotation
to do that i change the OUTPUT_SCALE = 10 to OUTPUT_SCALE = -10
after that adjustment the motor fault
# Joint 4
[JOINT_4]
#********************
TYPE = ANGULAR
HOME = 0.0
FERROR = 2.5
MIN_FERROR = 0.5
MAX_VELOCITY = 360.0
MAX_ACCELERATION = 6.0
P = 1.25
I = 0
D = 0
FF0 = 0
FF1 = 0.035
FF2 = 0
BIAS = 0
DEADBAND = 0.001
MAX_OUTPUT = 10
ENCODER_SCALE = 800
OUTPUT_SCALE = 10
OUTPUT_MIN_LIMIT = -10
OUTPUT_MAX_LIMIT = 10
MIN_LIMIT = -9999.0
MAX_LIMIT = 9999.0
HOME_OFFSET = 0.0
any suggestions??
the procedure to retrofit is 2 step ahead 1.5 backwards
the latest issue is again with the PID settings of the servos*BRU 200*
1)i have tune the X axis and it look great at performance
the settings was
# Joint 0
[JOINT_0]
#********************
TYPE = LINEAR
HOME = 0.0
FERROR = 10.0
MIN_FERROR = 1.0
MAX_VELOCITY = 18500.0
MAX_ACCELERATION = 120.0
P = 2
I = 0
D = 0
FF0 = 0
FF1 = 0.018
FF2 = 0
BIAS = 0
DEADBAND = 0.001
MAX_OUTPUT = 10
ENCODER_SCALE = 800
OUTPUT_SCALE = 10
OUTPUT_MIN_LIMIT = -10
OUTPUT_MAX_LIMIT = 10
MIN_LIMIT = -0.01
MAX_LIMIT = 3500.0
HOME_OFFSET = 5.0
the motor was unhooked from the timing belt and the info for the encoder was from the internet
when i connect the motor to the timing belt i saw that the ENCODER_SCALE = 800 was wrong
i set the right value witch is ENCODER_SCALE = 400 after that change the motor was just not working as before
i try with diferrent PID settings but i can not reach the earlier performance
the FERROR = 10.0
MIN_FERROR = 1.0
OUTPUT_SCALE = 10
was unchanged (default values)
2) in the C axis (Joint 4) i want to change the direction of rotation
to do that i change the OUTPUT_SCALE = 10 to OUTPUT_SCALE = -10
after that adjustment the motor fault
# Joint 4
[JOINT_4]
#********************
TYPE = ANGULAR
HOME = 0.0
FERROR = 2.5
MIN_FERROR = 0.5
MAX_VELOCITY = 360.0
MAX_ACCELERATION = 6.0
P = 1.25
I = 0
D = 0
FF0 = 0
FF1 = 0.035
FF2 = 0
BIAS = 0
DEADBAND = 0.001
MAX_OUTPUT = 10
ENCODER_SCALE = 800
OUTPUT_SCALE = 10
OUTPUT_MIN_LIMIT = -10
OUTPUT_MAX_LIMIT = 10
MIN_LIMIT = -9999.0
MAX_LIMIT = 9999.0
HOME_OFFSET = 0.0
any suggestions??
Please Log in to join the conversation.
9 years 2 months ago #97977
by Yannis
Replied by Yannis on topic Gantry machine progres
Hi
yesterday i make my first engraving work
i wool like to ask if there is a way in the home sequence first to move the Z axis all the way up
and after that to move the other axis?
(to prevent collision with parts or braking the tools)
thanks
yesterday i make my first engraving work
i wool like to ask if there is a way in the home sequence first to move the Z axis all the way up
and after that to move the other axis?
(to prevent collision with parts or braking the tools)
thanks
Please Log in to join the conversation.
9 years 2 months ago #97979
by rodw
Replied by rodw on topic Gantry machine progress
Yes, I realised I need to do this too.
In the ini file, HOME_SEQUENCE sets the order of homing so make sure the Z is a lower positive number than the other exes (and keep your joint axis with negative numbers)
In the ini file, HOME_SEQUENCE sets the order of homing so make sure the Z is a lower positive number than the other exes (and keep your joint axis with negative numbers)
Please Log in to join the conversation.
9 years 2 months ago #97987
by Yannis
Replied by Yannis on topic Gantry machine progress
I change the value
now i have X=2 Y1=-1 Y2=-1 Z=1 C=2
the result is first homing Y1,Y2,Z simultaneous and then the X and C
now i have X=2 Y1=-1 Y2=-1 Z=1 C=2
the result is first homing Y1,Y2,Z simultaneous and then the X and C
Please Log in to join the conversation.
9 years 2 months ago #97988
by Clive S
Replied by Clive S on topic Gantry machine progress
Please Log in to join the conversation.
Time to create page: 0.108 seconds
