Re: [Emc-users] OT: Balluff BRGE1-WSE10 encoder

2024-04-10 Thread Todd Zuercher via Emc-users
-2105ext. 2031 -Original Message- From: Leonardo Marsaglia Sent: Wednesday, April 10, 2024 1:06 PM To: Enhanced Machine Controller (EMC) Subject: Re: [Emc-users] OT: Balluff BRGE1-WSE10 encoder [EXTERNAL EMAIL] Be sure links are safe. Found the main issue. The terminal block in wich

Re: [Emc-users] OT: Balluff BRGE1-WSE10 encoder

2024-04-10 Thread gene heskett
On 4/10/24 15:53, John Dammeyer wrote: I'd take a closer look at the power supplies. A system from 1997 could easily have electrolytic capacitors that have aged enough to no longer be effective. If you have an ESR meter you could pull caps and check against new ones. Or just go whole hog

Re: [Emc-users] OT: Balluff BRGE1-WSE10 encoder

2024-04-10 Thread John Dammeyer
I'd take a closer look at the power supplies. A system from 1997 could easily have electrolytic capacitors that have aged enough to no longer be effective. If you have an ESR meter you could pull caps and check against new ones. Or just go whole hog and replace them all. John > > >>

Re: [Emc-users] OT: Balluff BRGE1-WSE10 encoder

2024-04-10 Thread Nicklas SB Karlsson
As I could read this is grey code. Maybe not any specific pattern. What's great with gray code for absolute angle is only one bit it changed betweeb each count so no glitch in between. Nicklas Karlsson ons 2024-04-10 klockan 16:48 +0100 skrev andy pugh: > On Wed, 10 Apr 2024 at 15:05,

Re: [Emc-users] OT: Balluff BRGE1-WSE10 encoder

2024-04-10 Thread Leonardo Marsaglia
Found the main issue. The terminal block in wich the turret signals were connected is broken. Some of them were making contact. I isolate the terminals and now the no indexing problem is solved. The only problem I have left to solve is why with some tools (like tool 8 for example) even if the

Re: [Emc-users] OT: Balluff BRGE1-WSE10 encoder

2024-04-10 Thread Leonardo Marsaglia
From what I could find in the manual of the lathe it works in plain binary. Now I'm trying to measure the signals. Here's a link to the encoder manual: https://mp-elektronik.de/wp-content/uploads/2020/07/MP-BA-BRGE1-...-K-SA12-SA13-en.pdf El miƩ, 10 abr 2024 a las 12:51, andy pugh ()

Re: [Emc-users] OT: Balluff BRGE1-WSE10 encoder

2024-04-10 Thread andy pugh
On Wed, 10 Apr 2024 at 15:05, Leonardo Marsaglia wrote: > > It seems there is a pattern, but it's a pretty weird one. Do you know if the output is binary or gray code? Gray code is more likely. encoder value 00 = = not used? 01 = 0001 = good 02 = 0011 = good 03 = 0010 = good 04 = 0110

Re: [Emc-users] OT: Balluff BRGE1-WSE10 encoder

2024-04-10 Thread Jon Elson
On 4/10/24 08:46, Todd Zuercher via Emc-users wrote: Are you sure that the machine uses an encoder for the turret positioning? The fact that it will work at some tool positions seems to sound more like it has a series of switches, and that one of them isn't working. The switches might be

Re: [Emc-users] OT: Balluff BRGE1-WSE10 encoder

2024-04-10 Thread gene heskett
On 4/10/24 10:58, Leonardo Marsaglia wrote: Digging back into my own by now dim 54 yo memory, is that cpu perchance a zylog, z80 or derivitive? The z80 has shadow registers, duplicating the main set that there was a machine code to swap them. But zylog were AH's and by the time I had

Re: [Emc-users] OT: Balluff BRGE1-WSE10 encoder

2024-04-10 Thread Leonardo Marsaglia
> > Digging back into my own by now dim 54 yo memory, is that cpu perchance > a zylog, z80 or derivitive? The z80 has shadow registers, duplicating > the main set that there was a machine code to swap them. But zylog were > AH's and by the time I had troubleshot my code to determine the cpu was >

Re: [Emc-users] OT: Balluff BRGE1-WSE10 encoder

2024-04-10 Thread gene heskett
On 4/10/24 10:08, Leonardo Marsaglia wrote: Hi Todd, Yes, this one has the Balluff BRGE1-WSE10 encoder mounted behind the turret cover. It's an absolute 10 position encoder and as told in the other message, I'm just doubting this is the problem. I'm beginning to believe may be there's a CPU

Re: [Emc-users] OT: Balluff BRGE1-WSE10 encoder

2024-04-10 Thread Leonardo Marsaglia
Hi Todd, Yes, this one has the Balluff BRGE1-WSE10 encoder mounted behind the turret cover. It's an absolute 10 position encoder and as told in the other message, I'm just doubting this is the problem. I'm beginning to believe may be there's a CPU problem because I'm getting too many weird

Re: [Emc-users] OT: Balluff BRGE1-WSE10 encoder

2024-04-10 Thread Leonardo Marsaglia
Hi Andy, It seems there is a pattern, but it's a pretty weird one. Let me sum it up. Tools 1, 2, 3, 7 and 9 work will in all the cases. Tools 4, 5, 6 and 10 can't stop in position and the turret keeps rotating. The interesting thing is tool 10 was working perfectly a few days ago. Now tool 8

Re: [Emc-users] OT: Balluff BRGE1-WSE10 encoder

2024-04-10 Thread Todd Zuercher via Emc-users
Are you sure that the machine uses an encoder for the turret positioning? The fact that it will work at some tool positions seems to sound more like it has a series of switches, and that one of them isn't working. The switches might be arrayed kind of like a Gray code encoder to give a form

Re: [Emc-users] OT: Balluff BRGE1-WSE10 encoder

2024-04-10 Thread andy pugh
On Wed, 10 Apr 2024 at 13:03, Leonardo Marsaglia wrote: > > I'm having problems with a Daewoo Puma 12L lathe to index some tools. The > problem is that some tools work well and others don't seem to be detected > by the control to stop at the position and clamp the turret. So the turret > keeps