Machsupport Forum

Third party software and hardware support forums. => PoKeys => Topic started by: boskap on August 27, 2016, 03:10:53 AM

Title: PWM Settings for Pokeys57CNC
Post by: boskap on August 27, 2016, 03:10:53 AM
Hi
First my english is not so good
Sorry

Mach3 Version latest
Pokeys57cnc V1.1
Pokeys Firmwar 4.2.6
Pokeys Plugin Version  2.0 (shown in mach3 start)


My Problem ist that the PWM Setting are working in Pokeys Software it self
When i move Slider for Pin17 the spindle goes from 6000 to 24000
all ok

but in mach3 the speed is alway the same at 6000
i setup the pokey plugin like ithe manual (https://www.poscope.com/wp-content/uploads/downloads/Pokeys/Manuals/PoKeys%20Pulse%20engine%20v2%20and%20Mach3%20plugin%20manual%20(6.3.2016).pdf)
page 24
pmw period 50khz
pin17 Fixed Duty Cycle in %
15%

when i set it to 100% it always runs with 24000
when i set 50 % it always run with 12000

but now response on the g-code or override from mach3

what is wrong
please help
Title: Re: PWM Settings for Pokeys57CNC
Post by: NeoTO on August 28, 2016, 04:43:45 AM
As we responded in the support ticket, configure the PWM output to be mapped to a DRO in %, not a fixed value in %.

A fixed value setting will result in a fixed value on the output - this is useful for setting up LCD backlight and contrast, but it is not intended to drive a spindle with it...

Select 'Mapped to DRO in %, select DRO 817 in the list, configure the multiplier to 0.00417 (so that when spindle DRO reads 24.000 the result is 100) and check the check box below to turn off the PWM output when spindle is turned off.
Title: Re: PWM Settings for Pokeys57CNC
Post by: boskap on August 28, 2016, 05:29:39 AM
Thx
but as i respond to the support ticket i already try your setting
map to dro in %
dro817
configure multipl to 0.0414 or 0.02
starting mach 3
load g-code with two tools

mach with says first tool 24000, spindle starts and run at 6000
spindle stops for tool change
tool two 13000, spindle starts and run also at 6000

no spindle override response

when i start polabs app parallel to mach3, go to pwm , pin 17, move the slider to 100%, the spindle goes up to 24000

what can i do
install mach 3 again over the existing installation ?
go back to pokeys 4.2.2 ?

thx
Title: Re: PWM Settings for Pokeys57CNC
Post by: NeoTO on August 28, 2016, 05:42:08 AM
1. Never run any other application that accesses the PoKeys device in parallel with Mach3!
2. Check that the DRO 817 changes according to your code.
Title: Re: PWM Settings for Pokeys57CNC
Post by: boskap on August 28, 2016, 05:48:27 AM
OK but it was the only way to test if pwm port works

what you mean with code
g-Code
(Projekt Halterung_oben)
(Erstellt mit Estlcam Version 9 Build 9,011)
(Laufzeit ca. 00:00:17 Stunden)

(Benoetigte Werkzeuge:)
(Fraeser 3mm)
(Fraeser 6mm)

G90
G91.1
M03 S24000
G00 Z5.0000


(Nr. 1: Teil 1)
G00 X55.2071 Y6.2993
G00 Z0.5000
G01 Z-2.0000 F300 S24000
G03 X56.7071 Y7.8193 I-0.0001 J1.5002 F3000
G01 Y57.7993
G03 X55.1871 Y59.2993 I-1.5002 J-0.0001
G01 X5.2071
G03 X4.1310 Y58.8444 I0.0000 J-1.5000
G03 X3.7071 Y57.7793 I1.0768 J-1.0456
G01 Y7.7993
G03 X5.2271 Y6.2993 I1.5002 J0.0001
G01 X55.2071
G00 Z5.0000


(Nr. 2: Teil 2)
M05
M00 (Wechsle Werkzeug: Fraeser 6mm)
M03
G00 X97.0000 Y0.0000 Z5.0000
G00 Z0.5000
G01 Z0.0000 F300 S12000
G03 X98.3791 Y-2.5244 Z-1.5000 I3.0000 J0.0000
G02 X97.0000 Y0.0000 Z-3.0000 I1.6209 J2.5244
G03 X99.7878 Y-2.9925 I3.0000 J0.0000 F2000
G01 X150.0000 Y-3.0000
G03 X152.1521 Y-2.0901 I0.0000 J3.0000
G03 X153.0000 Y0.0200 I-2.1525 J2.0904
G01 Y50.0000


mach 3 shows the right spindle speed
but the spindle runs only at about 6000
Title: Re: PWM Settings for Pokeys57CNC
Post by: boskap on August 28, 2016, 07:21:34 PM
IT WORKS

I Reinstall the PC with Win7 and Mach3 and Pokeys
now the Pokeys Config  port Mapping look a little bit other then bevor

Bevor i have many Ports with Not available
Now there are more Ports where i can select or config

but i dont know why

config in 17 like bevor
config the axis like bevor

and now it works
maybe i must only delete the pokeys config xml file in mach3 and the result is the same

spindle override did not work
but thats not so needed



thx Peter
Title: Re: PWM Settings for Pokeys57CNC
Post by: boskap on August 30, 2016, 04:53:36 AM
Hello

I test a little bit more
settings are
pin17, map to dro in %, dro817, 0.0414

pwm works with Pokeys Plugin v1
but not with v2 plugin

I try pokeys 4.2.6 beta and 4.2.6
both pwm didn't work

then I change the dll to v1 and all is perfect

are there needed other setting for v2

thx
Title: Re: PWM Settings for Pokeys57CNC
Post by: NeoTO on September 11, 2016, 10:52:25 AM
The PWM has been fixed in the latest plugin release.
Title: Re: PWM Settings for Pokeys57CNC
Post by: boskap on September 11, 2016, 11:45:07 AM
yes i Know-how
in open a Ticket for the problem
but with the New plugin i have
jog Problems with Slave axis when i pausing
and Resümee the job
Title: Re: PWM Settings for Pokeys57CNC
Post by: boskap on September 11, 2016, 04:40:59 PM
Short Update

Hello

Sorry but i am very angry
i test ´the v1 also unintentionally for the jog problem after long pausing or waiting
what i mean

i have a tilled project
120x60cm so aspire tilled the g-code
first part all thinks done
pausing for short tool change no problem
then go to safe z position

unmounting the workpiece set it to the second index pins clamp it
go to wc
say good night to my son
all that took about 15min

back to milling machine
load 2nd part of the workpiece
press start
spindle starts
move x and y to come to first location
stuck of first x then releas then second
thinks y is on position and destroy my workpiece because im not fast enough to get to the e-stop
and my z point has also moved

thats bull *********
the only think thats work after a long pause is to make pokeys powerless and also restart mach 3
and that i forgot this time
sorry but my gbrl card has not so many problems
i want a reliable milling machine
but i think i am the only one which use this *********
sorry for my words but when you lost a 80 euro wood plate because of this

i think when i have some money i change to smoothstepper
when  i took the money of the destroyed pokeys workpieces i already could  have buy one of this


sorry
a angry user
Title: Re: PWM Settings for Pokeys57CNC
Post by: NeoTO on September 12, 2016, 02:06:25 AM
As I already responded in the same message on the ticketing system, we are sorry for your lost workpieces.

As noted there, we will be doing a test procedure to try to replicate the jogging problems you have to avoid having such issues in the future. As was in the past, all issues that we are able to replicate are solved ASAP.
Title: Re: PWM Settings for Pokeys57CNC
Post by: dude1 on September 12, 2016, 02:48:15 AM
I have one it works fine, any problems they fix with in 24 hours if they can reproduce them. there are other factors that can make things go wrong
Title: Re: PWM Settings for Pokeys57CNC
Post by: boskap on September 12, 2016, 03:16:40 AM
hi

ok then give me a tip please
I aleady use a other PC, latest mach 3 version


thx
Peter
Title: Re: PWM Settings for Pokeys57CNC
Post by: dude1 on September 12, 2016, 03:28:07 AM
are you using the ethernet cable or USB, I have different hardware I use pin 20 for pwm. pin 17 would not work as it should on the G540 when I first set it up, there is a reason for it. that was the only problem I have had with it, but they responded straight away on the support ticket within 24 hours. what's good as they are 14 hours in my past

other than that just try pin 20
Title: Re: PWM Settings for Pokeys57CNC
Post by: boskap on September 12, 2016, 06:54:27 AM
pwm is solved
and also spindle override

my problem is that when a job is finished and spindle turns down and wait for me when im back in the room that in this time where mach3 and pokeys have nothing to too the felt in a "icall it Trance"
jog is then slowly and one of my two x axis motors are crying and stand still at jogging
not always the same motor, one of the two x axis motors, master or the slave one
make all powerless an restart and all working fine
so I think this is only a problem off v2 plugin

I go back to v1 and manage spindle by hand
but this "trance" is also in v1 now I must see
I forgot to shutdown everythink before mill next
and my workpiece was damaged this weekend

and the PC is a I7 with ssd  and 16gb ram
win7 64bit
all energy power savings are disabled
direct lan cable connected to pokeys
fixed ip's

when the problem is then only the x master and slave axis have the problem
I send you later  pokes.xml and motor settings from mach3