Hello Guest it is May 28, 2020, 04:57:23 AM

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 - bicycleguy

Pages: 1 2 3 »
PoKeys / Re: switching from 57E to 57CNC
« on: August 19, 2017, 01:12:52 AM »
I'm new to the 57CNC and getting senile so take these answers with skepticism.

(1) BUT the program let me see/set any key i wanted. is this an oversight on the demo function ?
Not sure in a pokey app but certainly not true with Mach4 using the pulse engine (PE).  Very few pins are left and all are specific types.  They will inevitably be on far flung connectors.
(2) can i use lua code to change state off the relays,SSR and other new outputs on the 57CNC ?
(3) are there api calls to the 'pulse engine' outputs and inputs. can i hijack the signals ?
not sure about hijack, if you mean change them, but you can look at them and do lua code with them.
(4) can i assign the any of above pins in the mach configure dialog to 'borrow' them from the pulse engine ?
(5) how do i send a value to the analog output with Mach 4.
look at spindle speed control examples
(6) does poblocks work with the CNC. ?
yes, sort of, you use poblocks to 'write' a routine that gets stored and runs on the 57CNC at the same time as the PE.  However, only Mach 4 or Pokey can use 57CNC at a time.
(7) is there any hope of a 'upgrade' in the future to allow more user control of output / input assignments ?
I hope not, the pins are confusing enough as is !
(8) can i use both devices at the same time in Mach4
(9) would using dual devices impact Mach4 performance ?
probably not much, it's a pretty efficient communication setup

PoKeys / Re: Pokey57CNC connection to G320 driver
« on: August 10, 2017, 09:18:42 PM »
Lowered the max current on my Gecko's so I could better test the above circuit and it doesn't work as desired.  The error out signal of the Gecko is not able to pull the line low enough for the Pokey Error signal unless the resistors (R1, R2 or R3) are greater than around 900 ohms.  However, the resistor won't be pulled low by the Pokey enable unless its less than about 690 ohms.

So as in my previous circuit for the G100 controller 2 diodes must be used for each axis.  Here's the latest.

PoKeys / Re: Pokey57CNC connection to G320 driver
« on: August 09, 2017, 07:53:15 PM »
Last post had incorrect relay connections.  Here's a redo.

PoKeys / Re: Pokey57CNC connection to G320 driver
« on: August 09, 2017, 06:39:02 PM »
Attached is the latest version if anyone is interested.  This works as desired and described 2 posts back.
1.  The diodes to 5V are still required because the Pokeys can't handle the current required to start the reset process.
2.  The 5V on the Pokeys motor connectors can't be used because Pokeys can't handle the current.  The 5V shown is from a separate
USB power supply.  This 5V is also used for the motor encoders. 
3.  The 330ohm resistor allows correct functioning without overloading the Pokeys enable pins.
4.  The 470ohm resistors are required for the G320 when using external power for the encoders.

I think the plugin determines what you can do and how it determines if its a limit or home switch.
Using Pokeys57CNC you use the plugin config PE axis set-up for common home-limit switches. 

Mach4 General Discussion / Re: z axis and soft limits
« on: August 08, 2017, 06:26:45 PM »
Your approach looks similar to what I do.  To test give yourself a little more clearance to the actual machine limits, then slow the jogging way down to test.

I freely admit to jogging full throttle into soft limits set at zero without problems,  the axis smoothly decelerates to stop at 0.000  However, all my limit switches are on adjustable devices that are far from the actual machine end of travel.

Remember, soft limits only effect jogging, not running code and soft limits have to be enabled soft limits override disabled and the axis all referenced.  I have found states where the soft limits button is green but the machine has lost reference.  I thinks its something with the way I have my motor error signal setup.

Mach4 General Discussion / Re: How many use Notepad++
« on: July 28, 2017, 10:31:44 PM »
Once again I get to answer my own stupid question.  The info is in Mach4CoreAPI.chm which won't open on a Mac.  Opens up fine on the PC.

Mach4 General Discussion / Re: How many use Notepad++
« on: July 28, 2017, 08:46:20 PM »
Looks great.  I'll try it out.
However, where else are all the functions and API listed and explained.  I think I read through all the Docs that came with the Mach4 hobby install and some others on the site.  All the examples certainly help and I have written some startup screen, m-code scripts etc but I'm not very efficient at it.  Where did I miss this critical info?


Well this is embarrassing.  As pointed out to me by PoKeys support, a motor has to be selected in the right column to activate all the boxes.  I thought that's what the check boxes were for but the text for the motor must be selected, not the check box.  Once any motor is selected everything works like in mach3.  Selecting a different motor deselects the last.

I think as a human interface technique the first motor should have been preselected when the dialog was opened to prevent this weirdness.

Really want to thank Pokeys support for helping me out over the weekend..  Awesome !

With Mach4 invert Enable is the first box in pulse engine tab in the plugin.

Pages: 1 2 3 »