- Posts: 574
- Thank you received: 96
Сustomization QTvcp
- hottabich
- Offline
- Platinum Member
-
Less
More
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 or Create an account to join the conversation.
- hottabich
- Offline
- Platinum Member
-
Less
More
- Posts: 574
- Thank you received: 96
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 or Create an account to join the conversation.
- cmorley
- Offline
- Moderator
-
Less
More
- Posts: 7368
- Thank you received: 2181
4 years 1 month ago - 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
Last edit: 4 years 1 month ago by cmorley.
The following user(s) said Thank You: hottabich
Please Log in or Create an account to join the conversation.
- hottabich
- Offline
- Platinum Member
-
Less
More
- Posts: 574
- Thank you received: 96
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 or Create an account to join the conversation.
- hottabich
- Offline
- Platinum Member
-
Less
More
- Posts: 574
- Thank you received: 96
4 years 1 month ago #252236
by hottabich
Replied by hottabich on topic Сustomization QTvcp
I have resized the buttons in file_manager. If you find it useful then replace the widget. Thank you!
Please Log in or Create an account to join the conversation.
- MarkoPolo
- Offline
- Elite Member
-
Less
More
- Posts: 319
- Thank you received: 90
4 years 1 month ago #252249
by MarkoPolo
Replied by MarkoPolo on topic Сustomization QTvcp
In qt_dragon in the smaller window on the left, these buttons do not fit anyway. I guess you would have to make buttons with variable size
Please Log in or Create an account to join the conversation.
Moderators: cmorley
Time to create page: 1.161 seconds