Considering a Full Rewire on a Working Schaublin 125 CNC

More
8 months 1 week ago #343483 by RotarySMP
Try a HAL with just this header in it... this works on my set of Mesa cards. You will probably need to change the IP address.

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=5 num_pwmgens=0 num_stepgens=0 sserial_port_0=0000000"
setp   hm2_7i92.0.watchdog.timeout_ns 5000000
loadrt pid names=pid.x,pid.z,pid.s
loadrt debounce cfg=3
loadrt matrix_kb config=8x8



addf hm2_7i92.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.z.do-pid-calcs       servo-thread
addf pid.s.do-pid-calcs       servo-thread
addf hm2_7i92.0.write         servo-thread
setp hm2_7i92.0.dpll.01.timer-us -50
addf debounce.0               servo-thread
setp debounce.0.delay         5
addf matrix_kb.0              servo-thread

Please Log in or Create an account to join the conversation.

More
8 months 6 days ago #343544 by Dudelbert
Hi,

@Rotary: I tried the minimal HAL you provided. I had to change the number of encoders from 5 to 4, but then it starts up fine as well. However, it does not change the Smart Serial problem—only channel 4 detects any cards.

The one 7i84 that was detected but gave undervoltage errors now works flawlessly. I did not change anything, so I am not sure why it did not work two days ago, but I will take the small win.

I also made some images of the wiring. I am not sure how clear they are. All the yellow cables are 24V, the red ones are 5V, and the black ones are GND.

Please Log in or Create an account to join the conversation.

More
8 months 5 days ago #343615 by RotarySMP
Is it possible that you have ended up with the wrong firmware flashed? I looked back and the last one I saw you mention was 7i92 plus 2x 7i85. Sounds okay, but maybe Peter can confirm that?

Please Log in or Create an account to join the conversation.

More
8 months 5 days ago #343618 by Dudelbert
I rechecked it multiple times myself. According to --readhmid, it should be fine. In the end,

I gave up and purchased a 7i97T. That should solve all the current problems and all it cost is money ;-)
That is the card I use in my mill. It has one Smart Serial port, and I will need two (for the 7i73 and one 7i85). I plan to build this small board from Talla83 ( github.com/talla83/RS422-SmartSerial-Adapter
), but for starting out, the I/O on the 7i97T itself should be sufficient to get most of the machine running.

Please Log in or Create an account to join the conversation.

More
8 months 5 days ago - 8 months 5 days ago #343624 by RotarySMP
Oh, I already ordered some of those board from JCLPCB years ago. I can send you a couple.
Last edit: 8 months 5 days ago by RotarySMP.
The following user(s) said Thank You: Dudelbert

Please Log in or Create an account to join the conversation.

More
8 months 5 days ago #343625 by Dudelbert
Thank you for the offer, but I already ordered them, and I suspect that postage for you would probably be more than the €4 for five pieces delivered from the other side of the planet. I still don’t understand how these prices are possible.

Please Log in or Create an account to join the conversation.

Time to create page: 0.140 seconds
Powered by Kunena Forum