PDA

View Full Version : BUILD LOG: The Big Red Mechmate in Aus



ozspeedway
26-06-2014, 08:17 AM
Thought I would start a build log for my Mechmate as I now have a few electrical questions. To the Big Red MM...

I am pretty much done with the construction side, a few things to finish off but it is actually looking like a Mechmate now:

12650

I got to this point and noticed a few problems so it was rebuilt slightly and then put back to pretty much this state. I have the first layer of spoilboard to attach, fit the racks and start wiring from here on in.

I have moved onto getting my control box working utilising drawings from the Mechmate plans and Eddy Currents major safety circuit and this is where I have hit a wall. For some reason my PNOZ1 is not playing ball and is throwing everything else out as it is a major centerpiece of the safety circuit.

It went like this.... I first got 240V working via disconnects, pushbuttons and LED indicators - all good with that side. I had previously built a couple of power supplies, one 50VDC for my AM882's and a 24VDC one for my safety circuit, both of them made from toroids and capacitors. Trying the 24V circuit first I wired up my second hand PNOZ1 as per the tech doc I located on the net....... and nothing happened. It didn't matter what I tried I could not get it to activate. Thinking it could be my unregulated power supply I bougght a Din rail Meanwell 24VDC supply that seems to be putting out a constant 24.1VDC. Still no joy from the PNOZ. So I contact the seller telling him of my issues and he gladly sends me another one, this time it is brand new and even had the original docs on the box.

I disconnected the first PNOZ and wire in the second one but I still have NO ACTIVATION. This is getting really frustrating and I am thinking either both PNOZ units are stuffed or something in my wiring is dodgy. So I directly wire the the safety relay to the PS bypassing everything else in the box but still nothing. I include 2 images here, one of the power supply and one of the PNOZ as I have it wired. Can anyone see anything I can't (have been trying to get this thing working for hours!)

Power Supply:

12651

Input 3 wires - L, N Earth
Output 2 wires V+ & V-

PNOZ 1
12652

V+ from PS to A1
V- from PS to A2
X1 bridged to X2
T11 bridged to T12
T11 bridged to T22
T33 - T34 left open to bridge for activation.

I tried connecting a single NC E-stop to T11 - 12 and bridging T12 - T22, as per the docs for single channel - nothing
I tried connecting both NC contacts (2 separate contacts) on the E-stop to T11-12 & T11 - T22, as per the docs for dual channel - nothing
I tried bridging T33 and T34 as per the docs for auto reset - nothing
I tried connecting an NO button between T33 & T34 - nothing

The nothing part is happening to BOTH PNOZ units I have so something is very wrong somewhere. Any help diagnosing my issue for would greatly appreciated.

Cheers
Bruce

ozspeedway
26-06-2014, 09:55 AM
One other thing with this/these damn safety relays, it says in the tech docs; DC: Connect terminal A2 (-) with the earthed side of the operating voltage. What the hell does that mean? And what is that terminal marked (-) with the ground symbol on it used for?

WHat worries me in all this is that the description for the PNOZ 1 says "earth faults are detected in the emergency stop circuit" whereas something like a PNOZ 4 does not say that. Could this be part of my problems? Very tempted to buy a PNOZ 4 instead but not until I have exhausted all avenues with these PNOZ 1's

Web Goblin
27-06-2014, 07:44 AM
The terminal marked (-) with the ground symbol is connected to ground. Are you sure the relay you have is the correct supply voltage?
With the supply voltage on you should be able to measure voltage between T11 or T33 and (-) ground symbol connector. As you say linking T11 to T12 and T22 should supply power to the relay coils. Linking X1 and X2 provides the link for the reset. So you should be able to press the reset button, link between T33 and T34, with the power on and the relay should work.
More info here : http://www.google.co.uk/url?url=http://www.ies-thailand.com/images/1188401209/pnoz1.pdf&rct=j&frm=1&q=&esrc=s&sa=U&ei=sxKtU5-8Dcy2PeiOgcgG&ved=0CFkQFjAM&usg=AFQjCNEqdKOJy7tWkunYnN3ImeJyLyD7tw

ozspeedway
27-06-2014, 08:24 AM
Web Goblin... you have solved it! The stupid hat goes to me. I have infact now got 2 PNOZ 1 relays that require 24VAC not 24VDC and that puts both of them totally useless to me. I will contact the ebay seller once again and see if I can send them both back and get a 24VDC PNOZ 4. Barrring that a quick toroid supply making 24VAC just for the PNOZ might be in order.

ozspeedway
27-06-2014, 09:15 AM
OK, it is cheaper for me to just go buy a 12VAC + 12VAC toroid and use that for the relay plus it will allow me to continue the control box this weekend rather than next week sometime. I can get either a straight toroid or a PCB mounted 24VAC supply, will decide which when I get to the store.

More updates to follow once I have the relay powered off the correct voltage type :)

Web Goblin
27-06-2014, 09:43 AM
Glad it helped you out, we all get a shot of the hat sometimes:joker: . I would go for the 24VAC option for the relay supply.
As you say it will let you continue with your build.

ozspeedway
28-06-2014, 05:27 AM
Well, surprise, surprise. When you supply the PNOZ with the correct voltage type it works :) Nice "ker-chunk" from the relay when pressing reset and 2 led's all lit up. I now have 2, one spare, one in the control box. Off to do more control box wiring, getting closer to the BRMM (Big Red Mechmate) moving on its own.......

ozspeedway
30-06-2014, 01:56 PM
This is a question for either Eddy Current or anyone that knows his safety circuit. I have attached what I think is correct for adapting the circuit on sheet 4 of Eddy's drawings to a Mechmate. As some of you may know, Mechmate's have mini control boxes attached to the machine, one each side of the gantry (X1 & X2) and one on the Y car. These give you access to any control while working around the machine. As can be seen in the attached drawing I have separated out the reset/start, stop & pause buttons into the 3 sections that will reside at each of the points above. It is this wiring I would like checked as to my tired eyes it looks to conform with Eddy's drawing only with parts of it in triplicate. Bottom line, am I on the right track :)

12690

Cheers
Bruce

EddyCurrent
30-06-2014, 02:43 PM
Bruce, it's true that reading other peoples drawings can sometimes be difficult, I'm at that place now.
It might be best to describe in words what you are trying to achieve.

For example you have these 3 control stations with, Reset/Start, Pause, Stop, so what do you want each of these buttons to do ?
What do you want the PILZ relay to control ?
If an AM882 goes into alarm what do want that to do ?

I'm thinking it might be best to ignore my circuit for the most part so we can get your machine to do what you want it to do.

ozspeedway
30-06-2014, 02:56 PM
Hi EddyCurrent, good to see you again. I am 80% through your drawings and have it working for the most part. The mains to the 24V circuit works, the mains to 50V circuit work, the E-Stop circuit works, all of these via the PNOZ as per your drawings. It is just these that I have had to think a little more about. Basically each of these boxes do what the buttons on your main control panel do, namely stop the machine, pause the machine and start the machine as well as reset the circuit. Now, I have everything working as per your drawing, that is one of each. My drawing above is taking that and making it into 3 lots instead, each one is a copy of buttons on your main panel. In a standard Mechmate, these do pretty much what your circuit does, "start" starts the job, and "pause" pauses the job. There is no "stop" button on a standard MM but I want to incorporate one. There *is* an E-stop in each on an MM though. The start & pause buttons are controlled via pins on the BOB and are assigned to codes that execute when pressed. I however will be using you brains to run things.

Don't get me wrong, I have a large percentage of your drawings worked out, it has taken me a while but I got there and have run wires :) This last little bit should see the control box interacting with the computer by weeks end just to verify the pushing a button does what it is supposed to.

Oh, and the relay numbers have been incremented by one, I am using 2 contactors instead of one and my main on/off one is now K1.

EddyCurrent
30-06-2014, 07:19 PM
What I meant was that I was having difficulty understanding your wiring diagram, I started to redraw it.
The general arrangement with multiple sets of pushbuttons is this;

N/O (normally open) are wired in parallel, N/C (normally closed) are wired in series.
So with that in mind it should be easy to connect the 3 boxes to the rest of the circuit you already have working.

ozspeedway
02-07-2014, 08:23 AM
Ah, yea knew that re NC & NO. In this case that will result in mega wiring throughout the machine. I have started wiring up things as per my diagram, will report how it goes when I done doing school holiday stuff with the kids.

EddyCurrent
30-07-2014, 08:58 PM
Any update Bruce ?

ozspeedway
30-07-2014, 11:22 PM
Nothing to report unfortunately Eddy, *still* stuffing around with this control box (and losing interest real quick!). My PMDX 126 arrived and needed a little reorganisation of the inside layout. I also had to abandon your wiring setup for the start/reset-pause-stop buttons as I needed to have the reset/start button actually be able to start the job from nothing and not just from pause or stop. Went mad trying to get it to work so decided to just wire all of them directly to the bob and figure out a new brain to control them. Still haven't finished that side yet and thats where things stand right now.

Cheers
Bruce

ozspeedway
21-09-2014, 06:27 AM
Bit of an update, the machine is close to finished, just some wiring to button up. Having a couple of issues with certain things that I thought I would run past you guys. My main showstopper at the moment is wiring my motors.

I bought 4 640 Oz-In Nema 34 motors, 34H280-45-8A, that I want to wire in Bipolar Parallel. The site I got them off has one wiring definition (http://ausxmods.com.au/index.php?main_page=product_info&cPath=2&products_id=13), the spec sheet from Automation Technologies has another http://www.automationtechnologiesinc.com/products-page/stepper-motors/nema-34-high-torque-stepper-motor-6-3-amps. Wired them as per the Auto Tech specs and my AM882's instantly go into over current error. I then wired them as per AusXMods and while the AM882 powered up fine there is absolutely no movement from Mach3 via my new PMDX-126/Ethernet Smoothstepper combination.

I currently have a contact form email into AusXMods and MS-Motor (who seem to supply these things) to try and determine who is correct. Once I have that I know what I need to look into - The AM882 Over Current problem or the no response from Mach3 to the motor

Something else that is not working as it should is my touch-off implementation. I use Gerry's (Ger21) 2010 screenset and have a button on my machine that when pressed it sends the signal via a 2 way switch. Depending on which way that swith is set determines which pin is activated on the BOB. Once the pin is detected, a brain I have written that sets a UserLED which is then detected my Mach Mad plugin to run the macro associated with the UserLED. Now (after all that), this worked fine when I was using a PMDX-122 via Parallel port. As I blew up my 122 I replaced it with a PMDX-126 and also stuck an Ethernet Smoothstepper into the mix. However, none of the above works, infact no touch-off routines work (Mach says No Probe Active) Unless I tell it the Probe input under Ports & Pins is on one of the lines I am using. Of course, this causes the other setting not to work. Totally different from the 122 implementation and not what I want. Have given up on this one until I get my motors turning.

There we go. Pics and videos when I all works as it should :)

ozspeedway
21-09-2014, 09:55 AM
Well, I am in idiot, that is in respect to the motors. AusXMods settings are infact correct and it was me putting the wrong ports and pins in for the motor I was tested. Changed it to what it was supposed to be and whola! the motor spins.

Still need to sort the touch off issue though..

Cheers
RD

EddyCurrent
21-09-2014, 12:55 PM
Well, I am in idiot, that is in respect to the motors. AusXMods settings are infact correct and it was me putting the wrong ports and pins in for the motor I was tested. Changed it to what it was supposed to be and whola! the motor spins.

Still need to sort the touch off issue though..

Cheers
RD

Have you looked at the Smoothstepper diagnostic page to see if it is seeing the probe inputs ?

ozspeedway
21-09-2014, 02:19 PM
Hi Eddy

Yup, the ESS diag page show the 2 pins being active when the button is pressed, thats whats weird about it. To double check I bypassed the macros and put G90 G31 Z0 directly into the MDI and all I got back was No Probe Active so it has nothing do to with any of my scripts, macros or brains - it is a Mach/ESS/126 combo issue. I have an email into Steve at PMDX but as yet no reply

Cheers

ozspeedway
23-09-2014, 10:40 PM
Machine is almost ready to go, structure is complete and control system 99% done. Still need to get the spindle power and cooling buttoned up. I wanted to check that machine would do what I wanted it to so I chucked my sharpie holder into the spindle and had the machine draw a couple of things. It temporarily became a giant plotter :)

Still haven't sorted the touch off stuff yet, have just eliminated the 126 as the problem. It is looking like the ESS is getting in the way somehow.

Anyway, more to do before making dust instead of drawing stuff..

Cheers

EddyCurrent
24-09-2014, 09:41 AM
I thought the pen would have run out before finishing that aztec drawing, looks great though.

My setup is like this;

I have two breakout boards, one connects to the ESS Port#1, the other to Port#2

Breakout boards connect to ESS using these; http://www.ebay.co.uk/itm/25cm-25-Wire-DB25-to-26P-f-f-2-54mm-Pitch-IDC-Ribbon-Cable-for-ISP-JTAG-ARM-/390736233617?pt=UK_Computing_Drive_Cables_Adapters&hash=item5af9b1c491

The Z probe is connected to breakout board 2 (the one connected to ESS port 2), pin 15
Because the Z probe is switching to earth the bob Gnd pin must also be connected to earth otherwise there would be no circuit, I did this by connecting the bob power supply negative terminal to earth.
On the ESS config page Port#2 'pins 2 through 9 direction' is set to 'In'
The ESS driver I'm using is ESS_v10r2d1d (the latest)

These are my Mach 3 settings;

Port#1 = 0x378 enabled = yes (ticked)
Port#2 = 0x278 enabled = yes (ticked)
Ports & Pins page; 'Probe' input = port 2, pin 15, enabled(ticked), active low(ticked).

ozspeedway
25-09-2014, 11:25 PM
Thanks for that Eddy, your setup is using only 1 pin for touch off but I am trying to use 2 like I got working on my PMDX 122. What I am trying to figure out now is how to pass one signal in to trigger the right macro and have the touch off signal read on another, in this case (as in yours) pin 15 on port 1.

I got a reply from Steve at PMDX and as indicated above it is not the 126. This is telling me it is the ESS somehow getting in the way of the port selection or being fixed on one port for the digitize signal. Really bloody annoying how I can increase the technology in my machine yet decrease the usability.....

GEOFFREY
26-09-2014, 12:14 AM
Your calendar looks great - look forward to seeing a cut version. Well done. G.