Skip to main content
Submitted by Hiddenpower on Wed, 04/14/2010 - 08:09

Hi there, I'm currently working on a jog joystick for an old lathe and I'm getting an intermittent error code. This is my first time working with your card and I have to say it is a nice piece of kit.

Anyway I have a digital switching sprung joystick (with no center switch) that is using camsoft software to interface with your card as part of a contracted job for a client. I can jog for a while and even move diagonally but after a bit it throws up the following error and refuses to resume functioning as normal.

"Galil Error:-27 Command not Valid While Running"

Now; I'm not running the spindle as I'm just playing with the 3 axis table for diagnostic purposes. Here is the line of IO instructions I've given to the software to control the table with this joystick:

'IO JOYSTICK INPUTS
'MOVES LEFT
IF#23=1THENFEEDRATE 75:POSITION 1;-999
IF#23=0THENIF#22=0THENSTOP 1
'MOVES RIGHT
IF#22=1THENFEEDRATE 75:POSITION 1;999
IF#22=0THENIF#23=0THENSTOP 1
'MOVES UP
IF#21=1THENFEEDRATE 1;75:POSITION 2;999
IF#21=0THENIF#20=0THENSTOP 2
'MOVES DOWN
IF#20=1THENFEEDRATE 1;75:POSITION 2;-999
IF#20=0THENIF#21=0THENSTOP 2

I'd be grateful for any help as I've spent the last few hours scratching my head and looking through the Galil manual and the Camsoft ones.

The card in use is a DMC-1842 with an ICM2900.

Comments 3

Galil_AndyH on 04/14/2010 - 08:39

The Camsoft software is likely sending a command such as PR or PA while the axis is still in jog mode. You will need to contact Camsoft to find out the commands that are sent to the controller when this failure occurs.

mlucic on 04/19/2018 - 15:40

How can I see the comments?

KushalP on 04/30/2018 - 08:26

Hi mlucic,

The post should be visible to you.