- Posts: 1630
- Thank you received: 0
Considering a Full Rewire on a Working Schaublin 125 CNC
8 months 6 days ago #343422
by RotarySMP
Replied by RotarySMP on topic Considering a Full Rewire on a Working Schaublin 125 CNC
Do you have field power connected to both 7i84's?
I would forget PNCConf for now. If you have the 7i92 communicating with LinuxCNC, then open the HAL show, and see if you have all the pins available on the various cards.
Cheers,
Mark
I would forget PNCConf for now. If you have the 7i92 communicating with LinuxCNC, then open the HAL show, and see if you have all the pins available on the various cards.
Cheers,
Mark
Please Log in to join the conversation.
8 months 6 days ago #343424
by Dudelbert
Replied by Dudelbert on topic Considering a Full Rewire on a Working Schaublin 125 CNC
One of the 7i84 cards is detected and shows all pins, with both field power (power over the RJ45) and power over the VIN pin present (not at the same time, obviously), but it gives a low-voltage error and does not seem to actually work. The second one I cannot get to be detected at all.
I really need multiple Smart Serial cards to be detected for the system to work, and on the 7i92/7i85 I can only get Smart Serial channel 4 to detect anything.
I really need multiple Smart Serial cards to be detected for the system to work, and on the 7i92/7i85 I can only get Smart Serial channel 4 to detect anything.
Please Log in to join the conversation.
- tommylight
-
- Online
- Administrator
-
Less
More
- Posts: 22008
- Thank you received: 3
8 months 6 days ago #343433
by tommylight
Replied by tommylight on topic Considering a Full Rewire on a Working Schaublin 125 CNC
Pictures of the wiring?
Please Log in to join the conversation.
8 months 6 days ago #343445
by Dudelbert
Replied by Dudelbert on topic Considering a Full Rewire on a Working Schaublin 125 CNC
I will not be in the shop today, i will provide pictures of the wiering tomorrow.
Please Log in to join the conversation.
8 months 6 days ago #343450
by RotarySMP
Replied by RotarySMP on topic Considering a Full Rewire on a Working Schaublin 125 CNC
Our set up with 5 Mesa cards is a pretty unusual one, so it might be beyond the scope of PNCConf to configure it. I only used PNCconf to get the basic frame work set up, and then did all the rest by manual editing the HAL, or in my case a bunch of hal files, as I found it easier to break the HAL into single topic files, and work through them one at a time.
Try the HAL's I sent you? Since we have the same cards, LinuxCNC may start with them (although it is more likely it faults out due to cards connected in a different order than mine. For some reason my second 7i84 mounts as 7i84.0.3, rather than 0.1 for example.
Cheers,
Mark
Try the HAL's I sent you? Since we have the same cards, LinuxCNC may start with them (although it is more likely it faults out due to cards connected in a different order than mine. For some reason my second 7i84 mounts as 7i84.0.3, rather than 0.1 for example.
Cheers,
Mark
Please Log in to join the conversation.
8 months 5 days ago #343454
by Dudelbert
Replied by Dudelbert on topic Considering a Full Rewire on a Working Schaublin 125 CNC
I did not see any files from you. But at this point, I am relatively certain that something is wrong with the 7i85 I am using. I had planned to just get the basic config running and then do the rest manually, but since I cannot get to a point where all cards are shown in HAL Show, I am a bit at a dead end.
I am seriously considering getting a 7i97T, as I have spent a week on this now and don’t really see where to go from here.
One way to maybe get this running would be to connect a 7i74 to the P1 connector of the 7i92, but there is no firmware available for that combination (7i92T + 7i74 on P1 + 7i85 on P2), and I am not nearly knowledgeable enough to create it myself.
I am seriously considering getting a 7i97T, as I have spent a week on this now and don’t really see where to go from here.
One way to maybe get this running would be to connect a 7i74 to the P1 connector of the 7i92, but there is no firmware available for that combination (7i92T + 7i74 on P1 + 7i85 on P2), and I am not nearly knowledgeable enough to create it myself.
Please Log in to join the conversation.
8 months 5 days ago #343460
by RotarySMP
Replied by RotarySMP on topic Considering a Full Rewire on a Working Schaublin 125 CNC
I thought I emailed them to you last week. I'll check tonight.
Please Log in to join the conversation.
8 months 5 days ago #343475
by Dudelbert
Replied by Dudelbert on topic Considering a Full Rewire on a Working Schaublin 125 CNC
Don’t worry, I don’t know how often I intended to attach something and then just didn’t. I asked when I was still having problems with the PnCconf setup, so it is not relevant anymore. But thanks.
Please Log in to join the conversation.
8 months 5 days ago #343483
by RotarySMP
Replied by RotarySMP on topic Considering a Full Rewire on a Working Schaublin 125 CNC
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
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 to join the conversation.
8 months 4 days ago #343544
by Dudelbert
Replied by Dudelbert on topic Considering a Full Rewire on a Working Schaublin 125 CNC
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.
@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 to join the conversation.
Time to create page: 2.003 seconds
