# Galil DMC-18x6 Linear Mode doesn't work

#### dkotlyar

I use Galil DMC-18x6 with two ICM-2900 modules. In vendor original program (Optomec Work Station Control) I load minimal worked code like this:

Code:
REM Contours
VA 88200
VD 88200
VS 17640
LM YH
LI ,36505,,,,,,7091280
LE
BGS
AMS
If I remove first REM block or change first word "Contours" to another, program doesn't work. The axis goes to state "In motion" but actually nothing. If I keep this block it works correctly.

Then I put this program to Terminal (Galil WSDK) and load to controller. Block REM doesn't loaded to controller and I run this program with XQ command. The axis goes to state "In motion" but actually nothing. Command TS return "13, 141, 13, 13, 13, 13, 13, 141".

Another commands like PA, PR, JG work correctly from command mode and program mode.

What do I do wrong?

#### ControlsGuy25

Hello

How the programm ended ...i MEAN i dont see end on the program

#### ControlsGuy25

Contour mode is well described in OEM manual ....
It includes commands like CM/CT/DT/WC
Did you clearly understand way of Contour mode..

A drawing/sketch of the intended contour mode would be welcome here before to guide you on a solution

#### ControlsGuy25

My friend
You are using command for linear interpolation mode with declarind Contour mode...something definitely not correct in this code...you got to review the right manual !

#### ControlsGuy25

Label is not right

#### ControlsGuy25

Have a read on page 86 of OEM manual you got a clear example for this case...

#### dkotlyar

I tried to put EN instruction after AMS but this doesn't help me. And I look that it works from another software but I don't understand why?

This example was given from Optomec generator and minimized.
Actually I don't need Contour mode. The REM was generated from Optomec and works only in Optomec.
And yes, I read OEM manual and tried examples from here. Doesn't work for me.

Thank you.

#### ControlsGuy25

You are welcome !

#### ControlsGuy25

You got to define AXIS mode operation area work.. in the code ...like zw or xy..

#### dkotlyar

How can I do this?

#### ControlsGuy25

IN LM COMMAND IT IS SHOWN YH can yiou tell us what is H ..

#### ControlsGuy25

Look at page 38 there is a well described example code for linear positioning

#### ControlsGuy25

Maybe AMS command is not at the right place ...try to investigate on that one..

#### ControlsGuy25

REM stand for "Remarks statements" and it will be removed when dowloading code to controller..

Looks like this REM state Contour mode but you post is not clear ...

#### ControlsGuy25

One good thing with this device is that there is Debogging programm /command did you used that tool..

#### ControlsGuy25

Can you reply to my posts ....thx