Перейти к публикации

Коэффициент уменьшения глубины прохода при сверлении


BrateloSlava

Рекомендованные сообщения

Читаю по хелпу.

Есть такой параметр PeckDepthInc. Насколько понимаю - там должен сидеть этот коэффициент.

Из руководства по дакпосту:

The variables available to use within the block definition are :-

ClearPlane ClearPlaneInc Cycledwell

HoleDepth HoleDepthInc HoleTop

HoleDiameter PeckDepth PeckDepthInc

Cycfed

Если пытаюсь использовать эту переменную - ругается. Не выводит УП.

Using option file C:\dcam\config\ductpost\mw0806.opt

Using built-in heidiso

Bad var - peckdepthinc

Error: invalid syntax in "cycle start" block

Error: expression "PeckDepthInc != 0" is incorrect

Цикл описал так:

define block cycle start

if (CycleDwellTime > 0)

if (PeckDepthInc != 0)

G4 =C ; PS6 PeckDepthInc ; PS5 PeckDepth ; PS1 HoleDepth ; PS2 ClearPlane ; PS3 CycleDwellTime ; PS4 CycleDwellTime ; F Cycfed

else

G4 =C ; PS5 PeckDepth ; PS1 HoleDepth ; PS2 ClearPlane ; PS3 CycleDwellTime ; PS4 CycleDwellTime ; F Cycfed

end if

else

if (PeckDepthInc != 0)

G4 =C ; PS6 PeckDepthInc ; PS5 PeckDepth ; PS1 HoleDepth ; PS2 ClearPlane ; F Cycfed

else

G4 =C ; PS5 PeckDepth ; PS1 HoleDepth ; PS2 ClearPlane ; F Cycfed

end if

end if

end define

Переменные для цикла описаны так:

define word PS1

address letter = "Z"

end define

define word PS2

address letter = "W"

end define

define word PS3

address letter = "A"

end define

define word PS4

address letter = "B"

end define

define word PS5

address letter = "D"

end define

define word PS6

address letter = "K"

end define

define format ( PS2 PS5 )

address width = 2

field width = 6

exponent width = 0

scale factor = 1

scale divisor = 1

tape position = 0

print position = 1

sign = if negative

not permanent

modal

leading zeros = false

trailing zeros = false

decimal point = true

decimal places = 2

end define

define format ( PS3 PS4 )

address width = 2

field width = 6

exponent width = 0

scale factor = 1

scale divisor = 1

tape position = 0

print position = 1

sign = if negative

not permanent

not modal

leading zeros = false

trailing zeros = false

decimal point = false

decimal places = 0

end define

define format ( PS1 )

address width = 2

field width = 6

exponent width = 0

scale factor = -1

scale divisor = 1

tape position = 0

print position = 1

sign = if negative

not permanent

modal

leading zeros = false

trailing zeros = false

decimal point = true

decimal places = 2

end define

define format ( PS6 )

address width = 2

field width = 14

exponent width = 0

scale factor = 1

scale divisor = 1

tape position = 0

print position = 1

sign = if negative

not permanent

modal

leading zeros = false

trailing zeros = false

decimal point = true

decimal places = 9

end define

Где грабли-то?
Ссылка на сообщение
Поделиться на других сайтах


PeckDepthInc - это не то. Но вопрос остаётся открытым. Как называется этот нужный параметр.

Ссылка на сообщение
Поделиться на других сайтах

Присоединяйтесь к обсуждению

Вы можете опубликовать сообщение сейчас, а зарегистрироваться позже. Если у вас есть аккаунт, войдите в него для написания от своего имени.
Примечание: вашему сообщению потребуется утверждение модератора, прежде чем оно станет доступным.

Гость
Ответить в тему...

×   Вставлено в виде отформатированного текста.   Вставить в виде обычного текста

  Разрешено не более 75 эмодзи.

×   Ваша ссылка была автоматически встроена.   Отобразить как ссылку

×   Ваш предыдущий контент был восстановлен.   Очистить редактор

×   Вы не можете вставить изображения напрямую. Загрузите или вставьте изображения по ссылке.

  • Сейчас на странице   0 пользователей

    Нет пользователей, просматривающих эту страницу.




×
×
  • Создать...