Error,
- jmelson
- Offline
- Moderator
-
Less
More
- Posts: 817
- Thank you received: 157
28 Dec 2016 17:44 #84813
by jmelson
Replied by jmelson on topic Error, this machine is killing me!!!
OH, DIO serial # 0019 did report mostly OK tests, it had a few missed values. That is interesting, that 3 boards have no response, but one board mostly responds correctly. Even stranger!
Jon
Jon
Please Log in or Create an account to join the conversation.
- tjamscad
- Offline
- Platinum Member
-
Less
More
- Posts: 320
- Thank you received: 1
28 Dec 2016 18:06 - 28 Dec 2016 18:23 #84816
by tjamscad
Replied by tjamscad on topic Error, this machine is killing me!!!
Your telling me! They are all set to address 6 and in the same slot. When power is applied a red light on the encoder 2 card blinks once and the I/O all has green lights.
When diotest is halted there are random red lights on.
When diotest is halted there are random red lights on.
Last edit: 28 Dec 2016 18:23 by tjamscad.
Please Log in or Create an account to join the conversation.
- jmelson
- Offline
- Moderator
-
Less
More
- Posts: 817
- Thank you received: 157
28 Dec 2016 19:00 #84818
by jmelson
Jon
Replied by jmelson on topic Error, this machine is killing me!!!
OK, this all sounds right, then. There may be some noise issues on the parport bus, but it seems to be mostly working. I think, (as others have said) that there is some kind of issue with the lube pump relay that is sparking so brightly in the video. I'd just disconnect that for now, and see if the rest of the system comes up and works properly. If so, then you will need to find out why that relay sparks and fix it, possibly with arc suppressors on the contacts.When diotest is halted there are random red lights on.
Jon
Please Log in or Create an account to join the conversation.
- tjamscad
- Offline
- Platinum Member
-
Less
More
- Posts: 320
- Thank you received: 1
28 Dec 2016 19:32 #84819
by tjamscad
Replied by tjamscad on topic Error, this machine is killing me!!!
I have already disabled the contact that was sparking. I have also posted about that and that if I comment out the drive ready signal in the code it will not do any of that.
The drive ready signal has been cycling so fast that the machine would home out. That contact is no longer sparking and the machine seems to be locked into E-stop all the time now.
I am going to put everything back in its original positions and see what works or doesn't at this time.
The drive ready signal has been cycling so fast that the machine would home out. That contact is no longer sparking and the machine seems to be locked into E-stop all the time now.
I am going to put everything back in its original positions and see what works or doesn't at this time.
Please Log in or Create an account to join the conversation.
- tjamscad
- Offline
- Platinum Member
-
Less
More
- Posts: 320
- Thank you received: 1
28 Dec 2016 21:38 #84824
by tjamscad
Replied by tjamscad on topic Jerking motion
I put the cards back to where they were when I started working on this machine, with the exception of the DI/O cards. I am not sure they are in their original spots but the machine turns on and runs at this time. The motion has alot of vibration in it while jogging and homing. The spindle is also jerky when rotating. The single DAC is velocity control for the axes and spindle.
Please Log in or Create an account to join the conversation.
- jmelson
- Offline
- Moderator
-
Less
More
- Posts: 817
- Thank you received: 157
29 Dec 2016 02:30 #84834
by jmelson
Replied by jmelson on topic Jerking motion
Well, that's some bit of progress, but it obviously is not right. I think what you need to do now is bring up Halscope and see if the encoder velocity has spikes in it. That would indicate that LinuxCNC is not reading the encoder counts correctly. It could indicate noise in the encoder signals or communication errors between the PPMC and the computer. If the encoders are being read properly, then it would indicate the DAC is not getting updated reliably. (That's a condition that I've never seen.)
Jon
Jon
Please Log in or Create an account to join the conversation.
- tjamscad
- Offline
- Platinum Member
-
Less
More
- Posts: 320
- Thank you received: 1
05 Jan 2017 16:19 #85294
by tjamscad
Replied by tjamscad on topic Jerking motion
It is back to loading Linux CNC but will not start the machine. When I boot the computer I go to terminal and type "sudo ./ppmcdiags 378 bus" and get DAC-16 on every board address.
If I type "sudo ./pcisetup 378" and then the "sudo ./ppmcdiags 378 bus" it shows me the cards in the addressed locations.
If I type "sudo ./pcisetup 378" and then the "sudo ./ppmcdiags 378 bus" it shows me the cards in the addressed locations.
Please Log in or Create an account to join the conversation.
- tjamscad
- Offline
- Platinum Member
-
Less
More
- Posts: 320
- Thank you received: 1
05 Jan 2017 21:37 #85306
by tjamscad
Replied by tjamscad on topic Jerking motion
It is back to loading Linux CNC but will not start the machine. When I boot the computer I go to terminal and type "sudo ./ppmcdiags 378 bus" and get DAC-16 on every board address.
If I type "sudo ./pcisetup 378" and then the "sudo ./ppmcdiags 378 bus" it shows me the cards in the addressed locations.
If I type "sudo ./pcisetup 378" and then the "sudo ./ppmcdiags 378 bus" it shows me the cards in the addressed locations.
Please Log in or Create an account to join the conversation.
- jmelson
- Offline
- Moderator
-
Less
More
- Posts: 817
- Thank you received: 157
06 Jan 2017 04:20 #85321
by jmelson
Replied by jmelson on topic Jerking motion
Yes, the ppmc driver built into LinuxCNC has the smarts to set the parallel port to EPP mode. The diagnostic doesn't have this feature built in, so you have to use the pcisetup program (or others) to do that, on certain parallel ports.
You should then run the diagnostic program with the commtest option and see if it can doo 100,000 test cycles without any errors reported. If not, then some detective work needs to be done to find out why. (It may be necessary to disconnect encoders from the encoder board, if the encoders dither it can fool the test into reporting errors.)
Jon
You should then run the diagnostic program with the commtest option and see if it can doo 100,000 test cycles without any errors reported. If not, then some detective work needs to be done to find out why. (It may be necessary to disconnect encoders from the encoder board, if the encoders dither it can fool the test into reporting errors.)
Jon
Please Log in or Create an account to join the conversation.
- tjamscad
- Offline
- Platinum Member
-
Less
More
- Posts: 320
- Thank you received: 1
28 Feb 2017 17:48 #88752
by tjamscad
Replied by tjamscad on topic Error; Fixed
Just an update.
I had a bad DAC and spare DAC. A contactor was noisy. It is running at tis time. Thanks for the help!
I had a bad DAC and spare DAC. A contactor was noisy. It is running at tis time. Thanks for the help!
Please Log in or Create an account to join the conversation.
Time to create page: 0.099 seconds