Hello Guest it is August 17, 2022, 12:43:02 PM

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Messages - Vince Endter

Pages: 1 2 »
LazyTurn / Re: LazyTurn
« on: October 05, 2008, 11:36:21 AM »
I am trying to made a profile for Lazyturn.  I thought I read somewhere it had to be drawn in the XZ plane.  I am using AutoCAD 2000.  Does anyone know how to change AutoCAD so it is drawing in the XZ plane?



Brains Development / User DRO?
« on: May 13, 2008, 04:27:45 PM »
I need a way to pass a signal from Mach to cubloc for the collet closer.  I think I need a user DRO.  I need to make a couple buttons in screen 4 and have them open and close the collet closer.  I looked throug the WIKI and did not see what number I should use.  Any suggestions? I know how to use the brain to send the signal to the cubloc (thanks everybody).  I just need to know what to put into the buttons.



Brains Development / Re: Cubloc, brains and ModIO
« on: April 29, 2008, 02:32:39 PM »
Thanks to all who helped.  I now have the tool turret working under Mach control.  I had Mach send the tool number to an address in the Cubloc, and then I compared the address to the numbers 1 through 8.  If the compare was true, it would execute a subroutine to get that tool position.   Here is a video of it working.



Brains Development / Re: Cubloc, brains and ModIO
« on: April 27, 2008, 08:09:12 PM »
Thanks Scott, I will go through the manual and see if there is that type of function.


Brains Development / Re: Cubloc, brains and ModIO
« on: April 26, 2008, 10:27:01 PM »
After 3 days of working on it and reading the sparse manual, I was able to write a Cubloc ladder program that will index the CHNC turret to the proper tool (see the attachment).  The only thing left to do is have the Cubloc get the tool number from Mach and substitute it for the (Tool#) in the ladder program.  It would be nice if the usepin aliases could include a variable that would be linked to an address.  Has anyone done this?



Brains Development / Re: Cubloc, brains and ModIO
« on: April 21, 2008, 09:20:33 AM »
It's working!!!  Thank you Scott and Frank.  The problem was I was using the command input and output instead of usepin in and usepin out. 


Brains Development / Re: Cubloc, brains and ModIO
« on: April 18, 2008, 11:13:34 PM »
have you tested the communication between Mach3 and CubLoc ?
both directions ?

thats really elementary


Yes, using the test modbus screen, I can read and write to all my inputs and outputs.  I can close the mechanical relays on the Cubloc board from the test screen.  Monday I will try your code exactly and see if it works.  I am thinking I have some simple setting wrong that I don't readily notice.


Brains Development / Re: Cubloc, brains and ModIO
« on: April 18, 2008, 10:08:13 PM »
That's almost exactly what I have, except for the Dim and LadderScan statement.  My Brain setup and Modbus setup are the same, see my screen shots above.  It does not work.  In your example, you lost me at the Dime d, Dim e and Ladderscan statements.  Do these have anything to do with the Coolant Brain?  I can't try it on my machine computer until Monday.   Thanks for the help.


Brains Development / Re: Cubloc, brains and ModIO
« on: April 18, 2008, 07:28:59 PM »
Hi Vince,

everything you have to know you find in CubLoc-Manual.
I'm running 3 of them (CB280) and everything works fine

show me your code and maybe i can help you

Regards Frank

If you mean the cubloctoughmanual.pdf, I have read through that and am completely lost.  What I have been able to do I just cut and pasted from someone else's program.  I don't have much code and that is on my work computer which I will not have access to until Monday.  For now, all I want to do is turn on an output on the Cubloc from a Brain.  The second thing I want to do is pass a tool number from 1 to 8 from Mach to the Cubloc.  I will then have a ladder program get the tool based on that number.  I am using the 405 module.  Is that enough information?



Brains Development / Re: Cubloc, brains and ModIO
« on: April 18, 2008, 06:57:50 PM »
Thanks for the help.

"1). first the serial protocol in mach is 8-N-2"

I changed the protocol to 8-N-2, still did not work

"2). Your Delay time outs are way high, is that due to your serial to USB converter?"

No converter, I was just copying someone else’s code.  I set them for 25ms

"3). I noticed you have several config files, is there any way to have sequential Block of input, and Block of output registers in the cubelogic."

Yes, the Cubloc can have sequential block of inputs, but not with the board I am using.

"4). Change your output type and input type to Input and Output holding respectively and when that register comes into the cubelogic use Bit of Word or what ever your equivalent is to get the discrete bit. You can pass your holding registers as your control registers in the Cubelogic."

I don't know how to do that in the Cubloc.  I have sent them an email asking how.

"5). Your Modbus Run box is not checked, perhaps you need to, or forgot about it."

Oops, I forgot that.

"6). Make sure your Flood LED actually Turns ON, when you hit the M code."

Another Oops, they were not enabled.  I changed that and verified that they are working.  In the Cubloc, the IO has to be set up in Basic to allow communications for either Basic programs, or Ladder programs.  I am missing something in the Basic program setup.  Hopefully they will get back to me soon and I can get this running.  Once this simple communication thing is fixed, I think I can get most of what I want to do finished.

Thanks again, I'll post when I get the answers from Cubloc.


Pages: 1 2 »