Hello Guest it is March 29, 2024, 07:14:35 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 - Hasher

Pages: 1
1
PoKeys / Re: Pokeys and G320X Gecko servo drive
« on: March 09, 2014, 09:32:45 AM »
Hi NeoTo

I am playing with the Gecko attached to a Pokeys driving servos. For the X axis I have the direction on pin 38 and Step on pin 46 as per the manual. But how do I set Home and limit switches in code or are they preset pins like step and direction ?

Thanks
Paul

2
PoKeys / Re: Pokeys and G320X Gecko servo drive
« on: January 11, 2014, 09:51:50 AM »
Hi NeoTo ,

Getting back onto this project . Just wanted to know if there is different  PoKeysDevice_DLL.dll for the Pulseengine example? I believe I have the latest PoKeysDevice_DLL.dll

Getting errors like
Error   1   Type 'PoKeysDevice_DLL.sPoKeysPE' is not defined.   C:\Program Files\PoLabs\PoKeys\Development\VB.NET\Example_PulseEngine\Example_PulseEngine\frmPulseTest.vb   6   19   Example_PulseEngine

Error   4   'GetOptions' is not a member of 'PoKeysDevice_DLL.PoKeysDevice'.   C:\Program Files\PoLabs\PoKeys\Development\VB.NET\Example_PulseEngine\Example_PulseEngine\frmPulseTest.vb   26   9   Example_PulseEngine



3
PoKeys / Re: Pokeys and G320X Gecko servo drive
« on: May 30, 2013, 08:13:24 AM »
Thanks yet again Matevž


Got my Activation number off pokeys support, but i fail to see the pulse engine example folder anywhere in the example code.
Would you have a link to to it.

Thanks
Paul

4
PoKeys / Pokeys and G320X Gecko servo drive
« on: May 29, 2013, 09:03:41 AM »
Hi all

Been playing with Pokeys and VB.net doing the basics like relays,  inputs/outputs and timing . That is going fine but now I am interested in driving some servo's

I have some Gecko G320X's servio drives and would like to hook this up to my USB pokeys. Wondering if anyone has experience with this or can point me to a tutorial on how it is achieved . Noticed the encoder functions in the example code .

I'm not using Mach 3 , rather driving it all with VB.net . Any doc's , wiring diagrams or tuts would be appreciated ).

Thx ))

5
PoKeys / Re: Tuning a relay on and off
« on: May 28, 2013, 07:00:42 AM »
Thank you NeoTO that worked great :D

6
PoKeys / Tuning a relay on and off
« on: May 22, 2013, 08:52:48 AM »
Hi Guys ,

New to pokeys so go easy  ;D

I have got a pokeys attached to a relay module with pins 1 thru to 4 and with the VB.net example Example2_BasicPinFunctions tried changing the state of the relay.

Setting the Pins data type the relay latchs  with this code :

        device.SetPinData(0, pinFunctionsEnum.pinFunctionDigitalOutput)
        Console.WriteLine("Pin 1 was set as digital input")

But I cannot unlatch it with this code :

           device.SetOutput(0, False)
           Console.WriteLine("Pin 1 set to 0")

Am I doing something completely wrong here ?

This is diagram of my Relay module :

Thanks in Advance ))






7
PoKeys / Re: Pokeys - Eagle Cad
« on: April 15, 2013, 09:25:55 AM »
I ended up using a 50 pin plug from the library as pokeys in the diagram . Don't want the circuit diagram of Pokeys

8
PoKeys / Pokeys - Eagle Cad
« on: March 26, 2013, 09:07:01 AM »
Hi guys

New to Pokeys  ;D


Wondering if anyone has drawn up Pokeys in Eagle CAD or similar , Also possibly a gecko G320X Servo Drive  and is willing to share)))

Looked for any links specific to pokeys with Gecko  and  relays online but haven't found any. Can anyone suggest some links?


Just looking for a head-start.

Thanks Paul


9
General Mach Discussion / Is this possible in Mach 3?
« on: February 17, 2013, 07:54:51 AM »
Hi guys

New to Mach 3 and this forum . Project I'm starting is a 1994 vintage film scanner . Basically the electronics was incomplete when I purchased and the optics are very aged .

Plan is to replace existing electronics with a Mach 3 system , driving 3 vdc servos (two with encoders) and 3 valves (24vdc). Also replace the optics as well.

I also have managed to get updated software for a modern version of this scanner. Would like to use the the software and taking it apart it uses function calls (thru a .dll )  to control the hardware. An example of it is below . I would like to rewrite the dll to use these same function call names.

Is there a way with Mach 3 to send functions or control Mach 3 via command line or use vbscript as function ? I also see Mach 3 does plugins , is it possible to code this in a plugin ?

Hopefully this is clear
Paul


scScannerGoto(int pos);
scScannerGotoXY(int posx, int posY);
scScannerInit([MarshalAs(UnmanagedType.Struct)] ref ScannerInfoStruct ptrScannerInfo);
scScannerMove(int v);
scScannerReboot(int bWarm);
scScannerSetLensPos(int lenspos);
scScannerSetRegsFromIni();
scScannerSetRegValueStr(int regIDnum, string regvalue);
scScannerWriteRead(string dataout, StringBuilder bufback, int nbuf, int bSetErrStr);
scScanOneImage(int i);
scScanStart(int iParm);
scScanStop();





Pages: 1