mesa 7i76e (7i76e_7i77x2)
- kkuehn
-
- Offline
- New Member
-
Less
More
- Posts: 15
- Thank you received: 2
14 Dec 2020 01:52 #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:
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.
Thanks for your help,
# 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.
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 or Create an account to join the conversation.
- PCW
-
- Offline
- Moderator
-
Less
More
- Posts: 18541
- Thank you received: 5090
14 Dec 2020 01:57 #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"
loadrt hm2_eth board_ip="10.10.10.10" config=" num_encoders=2 num_stepgens=10 sserial_port_0=0000xxxx"
The following user(s) said Thank You: kkuehn
Please Log in or Create an account to join the conversation.
- kkuehn
-
- Offline
- New Member
-
Less
More
- Posts: 15
- Thank you received: 2
14 Dec 2020 06:38 #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 or Create an account to join the conversation.
Moderators: PCW, jmelson
Time to create page: 0.148 seconds