Override no longer works
23 Aug 2016 12:42 #79309
by dirk61
Replied by dirk61 on topic Override no longer works
Hello
Have a 5I20 2X7I37TA and 7I48
Power in X / Y / Z / spindle / A / tool changer
And a lot of buttons.
Have the time now rewritten and now it works.
But if it is correct for the remainder HAL ???
Hello
Have a 5I20 2X7I37TA and 7I48
Power in X / Y / Z / spindle / A / tool changer
And a lot of buttons.
Have the time now rewritten and now it works.
But if it is correct for the remainder HAL ???
loadrt trivkins
loadrt [EMCMOT]EMCMOT base_period_nsec=[EMCMOT]BASE_PERIOD servo_period_nsec=[EMCMOT]SERVO_PERIOD num_joints=[TRAJ]AXES
loadrt hostmot2
loadrt hm2_pci config="firmware=hm2/5i20/svst6_6_7i48.BIT num_encoders=6 num_pwmgens=6 num_stepgens=0"
setp hm2_5i20.0.pwmgen.pwm_frequency 24000
setp hm2_5i20.0.pwmgen.pdm_frequency 6000
setp hm2_5i20.0.watchdog.timeout_ns 5000000
loadrt hal_parport cfg="0X378 out"
setp parport.0.reset-time 5000
loadrt stepgen step_type=0,0,0
loadrt pwmgen output_type=1
loadrt encoder num_chan=4
addf parport.0.read base-thread
addf stepgen.make-pulses base-thread
addf pwmgen.make-pulses base-thread
addf parport.0.write base-thread
addf parport.0.reset base-thread
loadrt pid names=pid.x,pid.y,pid.z,pid.s
addf hm2_5i20.0.read servo-thread
addf motion-command-handler servo-thread
addf motion-controller servo-thread
addf pid.x.do-pid-calcs servo-thread
addf pid.y.do-pid-calcs servo-thread
addf pid.z.do-pid-calcs servo-thread
addf pid.s.do-pid-calcs servo-thread
addf hm2_5i20.0.write servo-thread
addf encoder.update-counters base-thread
addf encoder.capture-position servo-thread
Have a 5I20 2X7I37TA and 7I48
Power in X / Y / Z / spindle / A / tool changer
And a lot of buttons.
Have the time now rewritten and now it works.
But if it is correct for the remainder HAL ???
Hello
Have a 5I20 2X7I37TA and 7I48
Power in X / Y / Z / spindle / A / tool changer
And a lot of buttons.
Have the time now rewritten and now it works.
But if it is correct for the remainder HAL ???
loadrt trivkins
loadrt [EMCMOT]EMCMOT base_period_nsec=[EMCMOT]BASE_PERIOD servo_period_nsec=[EMCMOT]SERVO_PERIOD num_joints=[TRAJ]AXES
loadrt hostmot2
loadrt hm2_pci config="firmware=hm2/5i20/svst6_6_7i48.BIT num_encoders=6 num_pwmgens=6 num_stepgens=0"
setp hm2_5i20.0.pwmgen.pwm_frequency 24000
setp hm2_5i20.0.pwmgen.pdm_frequency 6000
setp hm2_5i20.0.watchdog.timeout_ns 5000000
loadrt hal_parport cfg="0X378 out"
setp parport.0.reset-time 5000
loadrt stepgen step_type=0,0,0
loadrt pwmgen output_type=1
loadrt encoder num_chan=4
addf parport.0.read base-thread
addf stepgen.make-pulses base-thread
addf pwmgen.make-pulses base-thread
addf parport.0.write base-thread
addf parport.0.reset base-thread
loadrt pid names=pid.x,pid.y,pid.z,pid.s
addf hm2_5i20.0.read servo-thread
addf motion-command-handler servo-thread
addf motion-controller servo-thread
addf pid.x.do-pid-calcs servo-thread
addf pid.y.do-pid-calcs servo-thread
addf pid.z.do-pid-calcs servo-thread
addf pid.s.do-pid-calcs servo-thread
addf hm2_5i20.0.write servo-thread
addf encoder.update-counters base-thread
addf encoder.capture-position servo-thread
Please Log in or Create an account to join the conversation.
23 Aug 2016 13:21 #79312
by andypugh
Replied by andypugh on topic Override no longer works
The firmware you are using has 6 step-generators on the middle connector. It almost certainly makes more sense to use those than the parallel port + software stepgen.
It would be possible to create a custom firmware that added some extra non-muxed encoder counters on the same connector, or possibly it would make sense to add a smart-serial port somewhere to allow you to have a 7i73 to connect the MPGs and user-panel IO to.
It would be possible to create a custom firmware that added some extra non-muxed encoder counters on the same connector, or possibly it would make sense to add a smart-serial port somewhere to allow you to have a 7i73 to connect the MPGs and user-panel IO to.
Please Log in or Create an account to join the conversation.
Time to create page: 0.064 seconds