Hello Guest it is April 11, 2021, 05:14:47 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.

Topics - Hasher

Pages: 1
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 ))

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

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

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

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

Pages: 1