# # JOG WHEEL - fanuc jog wheel on control panel connected to ppmc.0.encoder.03 # each pulse is 4 counts # set configuration parameters # # SCALING ENCODER INPUT # setp scale.0.gain .25 # scale to one count per pulse setp ilowpass.0.scale 1 # smooth the pulses to the servos setp ilowpass.0.gain .005 # smooth the pulses to the servos # # net mpgencodercounts ppmc.0.encoder.03.count ilowpass.0.in gscreen.wheel-counts net ilowpasscounts ilowpass.0.out axis.0.jog-counts axis.1.jog-counts axis.2.jog-counts # net gscreenjogincrements gscreen.jog.wheel.increment scale.0.in net scaledincrements scale.0.out axis.0.jog-scale axis.1.jog-scale axis.2.jog-scale # net X-jog-enable gscreen.jog.wheel.x axis.0.jog-enable net Y-jog-enable gscreen.jog.wheel.y axis.1.jog-enable net Z-jog-enable gscreen.jog.wheel.z axis.2.jog-enable # net cycle-start ppmc.0.din.32.in-not => gscreen.cycle-start and2.2.in0 # net feed-hold-toggle ppmc.0.din.33.in => toggle.0.in net feed-hold toggle.0.out => gscreen.single-block and2.2.in1 # net toggle-abort and2.2.out => gscreen.abort # net XPosJog ppmc.0.din.37.in-not gscreen.jog.continuous.x.positive net XNegJog ppmc.0.din.36.in-not gscreen.jog.continuous.x.negative net YPosJog ppmc.0.din.38.in-not gscreen.jog.continuous.y.positive net YNegJog ppmc.0.din.39.in-not gscreen.jog.continuous.y.negative net ZPosJog ppmc.0.din.40.in-not gscreen.jog.continuous.z.positive net ZNegJog ppmc.0.din.45.in-not gscreen.jog.continuous.z.negative # net ZRetract ppmc.0.din.30.in-not gscreen.quill-up