mesa 7i76e (7i76e_7i77x2)

More
5 years 10 months ago #191930 by kkuehn
Replied by kkuehn on topic mesa 7i76e (7i76e_7i77x2)
The result is the same after power cycling. What part of the hal file is the driver command line? I assume it must be in the first part where all the realtime HAL components are loaded:
Code:
# Generated by PNCconf at Sat Dec 12 14:44:56 2020 # Using LinuxCNC version: 2.8 # If you make changes to this file, they will be # overwritten when you run PNCconf again loadrt [KINS]KINEMATICS loadrt [EMCMOT]EMCMOT servo_period_nsec=[EMCMOT]SERVO_PERIOD num_joints=[KINS]JOINTS loadrt hostmot2 loadrt hm2_eth board_ip="10.10.10.10" config=" num_encoders=1 num_pwmgens=0 num_stepgens=5 sserial_port_0=00xxxx" setp hm2_7i76e.0.watchdog.timeout_ns 5000000 loadrt pid names=pid.x,pid.y,pid.z,pid.a,pid.s addf hm2_7i76e.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.a.do-pid-calcs servo-thread addf pid.s.do-pid-calcs servo-thread addf hm2_7i76e.0.write servo-thread setp hm2_7i76e.0.dpll.01.timer-us -50 setp hm2_7i76e.0.stepgen.timer-number 1

I did some searching around and it seems I must modify this line (and possibly others), but I could only find documentation for what to add when you are using multiple FPGA cards, not for daughtercards.
Code:
loadrt hm2_eth board_ip="10.10.10.10" config=" num_encoders=1 num_pwmgens=0 num_stepgens=5 sserial_port_0=00xxxx"

Thanks for your help,

Please Log in to join the conversation.

More
5 years 10 months ago #191931 by PCW
Replied by PCW on topic mesa 7i76e (7i76e_7i77x2)
man hostmot2

loadrt hm2_eth board_ip="10.10.10.10" config=" num_encoders=2 num_stepgens=10 sserial_port_0=0000xxxx"

Please Log in to join the conversation.

More
5 years 10 months ago #191942 by kkuehn
Replied by kkuehn on topic mesa 7i76e (7i76e_7i77x2)
Ah ok, that makes total sense now that I'm seeing it. I did actually look at man hostmot2 but didn't quite understand how it worked. Everything is hooked up and working as it should now, thank you very much.

Please Log in to join the conversation.

Time to create page: 0.083 seconds
Powered by Kunena Forum