- Posts: 574
- Thank you received: 0
Сustomization QTvcp
4 years 3 months ago #248154
by hottabich
Replied by hottabich on topic Сustomization QTvcp
Thank you so much! Updated, everything works.
Please Log in to join the conversation.
4 years 3 months ago #248189
by hottabich
Replied by hottabich on topic Сustomization QTvcp
Hello! If you often click on the dimensions button, then the tool is visually shifted. It can be fixed? Thank you.
Please Log in to join the conversation.
4 years 2 months ago #249578
by hottabich
Replied by hottabich on topic Сustomization QTvcp
Hello! Can you please tell me how to create a linkage layout in Qt Designer with minimal indents as an example of QtDragon? Or is the interface created in a text editor? Thank you!
Please Log in to join the conversation.
4 years 2 months ago #249589
by hottabich
Replied by hottabich on topic Сustomization QTvcp
Sorry for the trouble, I found lessons on Qt Designer, I think I'll figure it out.
Please Log in to join the conversation.
4 years 2 months ago #250403
by hottabich
Replied by hottabich on topic Сustomization QTvcp
Hello! I want to add help/about file as QtDragon_hd_master in qtdragon linuxcnc 2.9.pre. so that it does not depend on the setup page. But there is not enough knowledge to register the handler. Please help if possible. Thank you!
Please Log in to join the conversation.
4 years 2 months ago #250526
by hottabich
Replied by hottabich on topic Сustomization QTvcp
Question removed. Everything worked out. For those who are interested, I am attaching the handler. Thanks to all!
Please Log in to join the conversation.
4 years 1 month ago #251426
by hottabich
Replied by hottabich on topic Сustomization QTvcp
Hello! No spindle lift during pause. Please tell me what am I doing wrong? Thank you!
Please Log in to join the conversation.
4 years 1 month ago #251632
by hottabich
Replied by hottabich on topic Сustomization QTvcp
Thanks to the updates, the spindle stops but there is no lift. Please tell me where does eoffset-total come from? In QtDragon_hd everything works. If you find the time, please help. I will continue to work. Thank you!
Please Log in to join the conversation.
4 years 1 month ago #251641
by cmorley
Replied by cmorley on topic Сustomization QTvcp
Some documents are coming. Maybe this will help:
# load components
########################################################################
# load a summing component for adding spindle lift and Z compensation
loadrt scaled_s32_sums
addf scaled-s32-sums.0 servo-thread
loadusr -Wn z_level_compensation z_level_compensation
# method parameter must be one of nearest(2), linear(1), cubic (0)
setp z_level_compensation.method 1
setp z_level_compensation.fade-height 0.0
# connect signals to linuxcnc's motion component
########################################################################
net eoffset-clear axis.z.eoffset-clear
net eoffset-counts axis.z.eoffset-counts
setp axis.z.eoffset-scale .001
net eoffset-total axis.z.eoffset
setp axis.z.eoffset-enable True
# external offsets for spindle pause function
########################################################################
net eoffset-spindle-count <= qtdragon.eoffset-spindle-count
# Z level compensation
########################################################################
net xpos-cmd z_level_compensation.x-pos <= axis.x.pos-cmd
net ypos-cmd z_level_compensation.y-pos <= axis.y.pos-cmd
net zpos-cmd z_level_compensation.z-pos <= axis.z.pos-cmd
net z_compensation_on z_level_compensation.enable-in <= qtdragon.comp-on
net eoffset-zlevel-count z_level_compensation.counts => qtdragon.eoffset-zlevel-count
# set up scaled sum component
########################################################################
net eoffset-spindle-count scaled-s32-sums.0.in0
net eoffset-zlevel-count scaled-s32-sums.0.in1 qtdragon.eoffset-value
setp scaled-s32-sums.0.scale0 1000
net eoffset-counts scaled-s32-sums.0.out-s
# load components
########################################################################
# load a summing component for adding spindle lift and Z compensation
loadrt scaled_s32_sums
addf scaled-s32-sums.0 servo-thread
loadusr -Wn z_level_compensation z_level_compensation
# method parameter must be one of nearest(2), linear(1), cubic (0)
setp z_level_compensation.method 1
setp z_level_compensation.fade-height 0.0
# connect signals to linuxcnc's motion component
########################################################################
net eoffset-clear axis.z.eoffset-clear
net eoffset-counts axis.z.eoffset-counts
setp axis.z.eoffset-scale .001
net eoffset-total axis.z.eoffset
setp axis.z.eoffset-enable True
# external offsets for spindle pause function
########################################################################
net eoffset-spindle-count <= qtdragon.eoffset-spindle-count
# Z level compensation
########################################################################
net xpos-cmd z_level_compensation.x-pos <= axis.x.pos-cmd
net ypos-cmd z_level_compensation.y-pos <= axis.y.pos-cmd
net zpos-cmd z_level_compensation.z-pos <= axis.z.pos-cmd
net z_compensation_on z_level_compensation.enable-in <= qtdragon.comp-on
net eoffset-zlevel-count z_level_compensation.counts => qtdragon.eoffset-zlevel-count
# set up scaled sum component
########################################################################
net eoffset-spindle-count scaled-s32-sums.0.in0
net eoffset-zlevel-count scaled-s32-sums.0.in1 qtdragon.eoffset-value
setp scaled-s32-sums.0.scale0 1000
net eoffset-counts scaled-s32-sums.0.out-s
Please Log in to join the conversation.
4 years 1 month ago #251678
by hottabich
Replied by hottabich on topic Сustomization QTvcp
Thank you very much for your attention! I did everything as you suggested. Didn't work because of my qtdragon_xyza.ini. Should have been [AXIS_Z] - OFFSET_AV_RATIO = 0.2. Thanks again!
Please Log in to join the conversation.
Time to create page: 0.660 seconds
