Machsupport Forum

Third party software and hardware support forums. => PoKeys => Topic started by: fane on March 17, 2018, 11:46:41 AM

Title: Setting error inputs
Post by: fane on March 17, 2018, 11:46:41 AM
How do I set that driver error to stop all motors.
I use Mach3 and Pokeys57CNC.
Title: Re: Setting error inputs
Post by: fane on March 20, 2018, 11:42:23 AM
Hi All,

OK, it's now resolved.
I have defined an OEM 1003 (stop) button, now I stop all if I have an error on an engine.
I use Closed Loop  Hybrid Servo Step Driver.
Title: Re: Setting error inputs
Post by: geonik on October 03, 2019, 05:24:07 AM
Hi All,

OK, it's now resolved.
I have defined an OEM 1003 (stop) button, now I stop all if I have an error on an engine.
I use Closed Loop  Hybrid Servo Step Driver.

Greetings Fane.

Sorry for bringing this matter back up after this much time, but I would like to ask how you managed to connect the input OEM trigger#1 to the OEM 1003 button.

Looking forward to your response and thank you in advance.
Title: Re: Setting error inputs
Post by: geonik on October 04, 2019, 06:13:28 AM
Finally I found a solution through the brains
Title: Re: Setting error inputs
Post by: fane on October 06, 2019, 03:20:23 AM
that's what i did(https://ibb.co/PwhTyBj
https://ibb.co/KynBTNJ
https://ibb.co/b7FdPRr
https://ibb.co/hy1VTdF)
Title: Re: Setting error inputs
Post by: fane on October 06, 2019, 03:26:02 AM
(https://i.ibb.co/NZj1qwC/b2.jpg) (https://ibb.co/PwhTyBj)
(https://i.ibb.co/q16hT0v/c3.jpg) (https://ibb.co/KynBTNJ)
(https://i.ibb.co/jHz4TZL/connect-alarm.jpg) (https://ibb.co/b7FdPRr)
(https://i.ibb.co/HVpq9PT/erorr.jpg) (https://ibb.co/hy1VTdF)
<a target='_blank' href='https://imgbb.com/'>free image hosting[/url]
Title: Re: Setting error inputs
Post by: geonik on October 06, 2019, 07:27:14 AM
Hello again Fane

Thank you for your response.
After I saw your initial post here, I activated the OEM Trig#1 in both the pokeys plugin and Mach3 but it didn't work.
Then I added in your configuration, a brain script for trig#1 which gave false alarms and finally I set in pokeys #1 for X, #2 for Y, and #3 for Z and I made 3 brains accordingly.

Again thank you a lot for help
Title: Re: Setting error inputs
Post by: exflueger on February 16, 2020, 07:52:01 AM
Hello all. I know it is an old post but I can not find a description which enables me to implement it.
Pokeys57CNC plus Pokeys 256 Drivers plus MACH3

I have often a Driver error. Could never find the reason so far.
I want to stop the whole machine if it happens so it does not destroy my work every time.
In pokeys config I can set LED1920-24 as described above. As input setting i put eStop. It would work if I could reverse th Input but I can not find where.
The solution with the OEM Trigger#1 I do not understand. Ho should the brains look like?

Any help how to eStop or Stop the whole machine when a Driver has an error would be highly appreciated.

Best
Roman
Title: Re: Setting error inputs
Post by: geonik on February 16, 2020, 08:36:49 AM
Hello exflueger
I will take some photos asap. But tell me first... do you use the usb or the ethernet connection?
Title: Re: Setting error inputs
Post by: exflueger on February 16, 2020, 10:04:12 AM
Hello geonik
Thank you. I use Ethernet
Title: Re: Setting error inputs
Post by: geonik on February 16, 2020, 11:58:07 AM
I had random errors with my ethernet. The cause was conflicts with internet IP. Now I use 192.168.2.4 static IP for my ethernet card, and 192.168.2.5 for the pokeys. Mask 255.255.255.0 and getaway 192.168.2.254
And a tip.. If your spindle is unable to reach full RPM you have to install a small 1Kohm resistor in parallel with the 10V pokeys output.
Title: Re: Setting error inputs
Post by: exflueger on February 17, 2020, 03:29:30 AM
Thank you very much for the brains files.

Regarding the Driver Fault: it is the driver algorithms which make the problem. It is a motor timing problem. The error is a pre-driver fault..

Regarding the VFD / Resistor: this was a much bigger problem to be successfully solved a year ago: See here, the last 4 posts of my thread:
https://www.machsupport.com/forum/index.php?topic=39038.0

Title: Re: Setting error inputs
Post by: exflueger on February 17, 2020, 04:29:37 AM
Hi again
Sorry, I do not get it.....
Why you have 3 times 'Reset' and only for z then 'Output' 3  ?
Title: Re: Setting error inputs
Post by: geonik on February 17, 2020, 05:50:05 AM
Hi
I use output 3 for testing.
You have to short error input to the ground (or to 5v, it depends on your driver) and check the red lamp (Output signals, Diagnostics tab). Test error inputs one by one, and if everything works, change from output 3 to reset.
Title: Re: Setting error inputs
Post by: Asd1234 on August 03, 2022, 09:04:55 AM
Hallo

Ich habe das gleiche Problem  wie im ersten Post.
Wie lautet das Script?