Gmoccapy with analog pot for feed-override
- dirk61
- Offline
- Senior Member
Less
More
- Posts: 46
- Thank you received: 0
02 Aug 2018 06:29 - 02 Aug 2018 06:32 #115375
by dirk61
Gmoccapy with analog pot for feed-override was created by dirk61
hi Guys
Can someone tell me if I have previously used this HAL example as I need to change that it is correct for gmoccapy?
Kind regards
# Include your custom HAL commands here
# This file will not be overwritten when you run PNCconf again
loadrt conv_float_s32 names=conv_float_s32.feed.conv_float_s32.spindel
addf conv_float_s32.feed servo-thread
addf conv_float_s32.spindel servo-thread
setp halui.feed-override.scale 0.0127777777
setp halui.feed-override.direct-value true
setp hm2_5i25.0.7i73.0.0.analogin0 -scalemax 100
net feedanalog conv_float_s32.feed.out => halui.feed-override.counts
setp halui.spindle-override.scale 8.0127777777
setp halui.spindle-override.direct-value true
setp hm2_5i25.0.7i73.0.0.analogin1-scalemax 100
net spindelanalog conv_float_s32.spindel.out => halui.spindle-override.counts
setp hm2_5i25.0.7i73.0.0.analogin2-scalemax 100
setp hm2_5i25.0.7i23.0.0.analogin3-scalemax 100
Can someone tell me if I have previously used this HAL example as I need to change that it is correct for gmoccapy?
Kind regards
# Include your custom HAL commands here
# This file will not be overwritten when you run PNCconf again
loadrt conv_float_s32 names=conv_float_s32.feed.conv_float_s32.spindel
addf conv_float_s32.feed servo-thread
addf conv_float_s32.spindel servo-thread
setp halui.feed-override.scale 0.0127777777
setp halui.feed-override.direct-value true
setp hm2_5i25.0.7i73.0.0.analogin0 -scalemax 100
net feedanalog conv_float_s32.feed.out => halui.feed-override.counts
setp halui.spindle-override.scale 8.0127777777
setp halui.spindle-override.direct-value true
setp hm2_5i25.0.7i73.0.0.analogin1-scalemax 100
net spindelanalog conv_float_s32.spindel.out => halui.spindle-override.counts
setp hm2_5i25.0.7i73.0.0.analogin2-scalemax 100
setp hm2_5i25.0.7i23.0.0.analogin3-scalemax 100
Last edit: 02 Aug 2018 06:32 by dirk61.
Please Log in or Create an account to join the conversation.
Moderators: newbynobi, HansU
Time to create page: 0.077 seconds