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

Разработка интерпритатора Gcode под Xyz


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

Повторю немного описание темы:

Специализируюсь на разработке микроконтроллерных систем. Хочу сделать управление XYZ совместимое с CAM программами.

Могу с контроллера крутить моторами шаговыми и принимать с ком порта данные. Остается сделать интерпритатор g(m) кодов.

Кто заинтересован в участии в проекте помогите советами и информацией.

:wink:

:wallbash:

<noindex>http://www.cncezpro.com/gcodes.cfm</noindex>

выкладываю коды с описанием на английском.

Помогите составить русский перевод и понять

назначение

Milling Turning

G00 Positioning in Rapid G00 Positioning in Rapid

G01 Linear Interpolation G01 Linear Interpolation

G02 Circular Interpolation (CW) G02 Circular Interpolation (CW)

G03 Circular Interpolation (CCW) G03 Circular Interpolation (CCW)

G04 Dwell G04 Dwell

G07 Imaginary axis designation G07 Feedrate sine curve control

G09 Exact stop check . .

G10 Program parameter input G10 Data setting

G11 Program parameter input cancel G11 Data setting cancel

G12 Circle Cutting CW . .

G13 Circle Cutting CCW . .

G17 XY Plane G17 XY Plane

G18 XZ Plane G18 XZ Plane

G19 YZ Plane G19 YZ Plane

G20 Inch Units G20 Inch Units

G21 Metric Units G21 Metric Units

G22 Stored stroke limit ON G22 Stored stroke check function ON

G23 Stored stroke limit OFF G23 Stored stroke check function OFF

. . G25 Spindle speed fluctuation detection OFF

. . G26 Spindle speed fluctuation detection ON

G27 Reference point return check G27 Reference point return check

G28 Automatic return to reference point G28 Automatic Zero Return

G29 Automatic return from reference point G29 Return from Zero Return Position

G30 Return to 2nd, 3rd, 4th reference point G30 2nd reference point return

G31 Skip function G31 Skip function

. . G32 Thread cutting

G33 Thread cutting . .

G34 Bolt hole circle (Canned Cycle) G34 Variable lead thread cutting

G35 Line at angle (Canned Cycle) . .

G36 Arc (Canned Cycle) G36 Automatic tool compensation

G40 Cutter compensation Cancel G40 Tool Nose Radius Compensation Cancel

G41 Cutter compensation Left G41 Tool Nose Radius Compensation Left

G42 Cutter compensation Right G42 Tool Nose Radius Compensation Right

G43 Tool Length Compensation (Plus) . .

G44 Tool Length Compensation (Minus) . .

G45 Tool offset increase . .

G46 Tool offset decrease G46 Automatic Tool Nose Radius Compensation

G47 Tool offset double increase . .

G48 Tool offset double decrease . .

G49 Tool Length Compensation Cancel . .

G50 Scaling OFF G50 Coordinate system setting and maximum rpm

G51 Scaling ON . .

G52 Local coordinate system setting G52 Local coordinate system setting

G53 Machine coordinate system selection G53 Machine coordinate system setting

G54 Workpiece Coordinate System G54 Workpiece Coordinate System

G55 Workpiece Coordinate System 2 G55 Workpiece Coordinate System 2

G56 Workpiece Coordinate System 3 G56 Workpiece Coordinate System 3

G57 Workpiece Coordinate System 4 G57 Workpiece Coordinate System 4

G58 Workpiece Coordinate System 5 G58 Workpiece Coordinate System 5

G59 Workpiece Coordinate System 6 G59 Workpiece Coordinate System 6

G60 Single direction positioning . .

G61 Exact stop check mode G61 Exact stop check mode

G62 Automatic corner override G62 Automatic corner override

G63 Tapping mode G63 Tapping mode

G64 Cutting mode G64 Cutting mode

G65 Custom macro simple call G65 User macro simple call

G66 Custom macro modal call G66 User macro modal call

G67 Custom macro modal call cancel G67 User macro modal call cancel

G68 Coordinate system rotation ON G68 Mirror image for double turrets ON

G69 Coordinate system rotation OFF G69 Mirror image for double turrets OFF

G70 Inch Units G70 Finishing Cycle

G71 Metric Units G71 Turning Cycle

G72 User canned cycle G72 Facing Cycle

G73 High-Speed Peck Drilling Cycle G73 Pattern repeating

G74 Counter tapping cycle G74 Peck Drilling Cycle

G75 User canned cycle G75 Grooving Cycle

G76 Fine boring cycle G76 Threading Cycle

G77 User canned cycle . .

G78 User canned cycle . .

G79 User canned cycle . .

G80 Cancel Canned Cycles G80 Canned cycle for drilling cancel

G81 Drilling Cycle . .

G82 Counter Boring Cycle . .

G83 Deep Hole Drilling Cycle G83 Face Drilling Cycle

G84 Tapping cycle G84 Face Tapping Cycle

G85 Boring Cycle . .

G86 Boring Cycle G86 Face Boring Cycle

G87 Back Boring Cycle G87 Side Drilling Cycle

G88 Boring Cycle G88 Side Tapping Cycle

G89 Boring Cycle G89 Side Boring Cycle

G90 Absolute Positioning G90 Absolute Programming

G91 Incremental Positioning G91 Incremental Programming

G92 Reposition Origin Point G92 Thread Cutting Cycle

G93 Inverse time feed . .

G94 Per minute feed G94 Endface Turning Cycle

G95 Per revolution feed . .

G96 Constant surface speed control G96 Constant surface speed control

G97 Constant surface speed control cancel G97 Constant surface speed control cancel

G98 Set Initial Plane default G98 Linear Feedrate Per Time

G99 Return to Retract (Rapid) Plane G99 Feedrate Per Revolution

. . G107 Cylindrical Interpolation

. . G112 Polar coordinate interpolation mode

. . G113 Polar coordinate interpolation mode cancel

. . G250 Polygonal turning mode cancel

. . G251 Polygonal turning mode

Milling Turning

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


Посмотрите ссылки на это странице - ]]>http://www.svr-m.ru/cnc.html]]>, там очень хорошая подборка. Для вас наибольший интерес представит, имхо, раздел ссылок "Soft для управления станком".

Ссылка на сообщение
Поделиться на других сайтах
  • 3 месяца спустя...

См.

"Методика программирования станков с ЧПУ на наиболее полном полигоне вспомогательных G-функций." на http://fsapr2000.ru/lofiversion/in...p/t4661-50.html

или <noindex>http://www.ncsystems.ru/</noindex>. Удачи!

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

А зачем Вам нужен такой контроллер?

Если машина одна – однозначно выгоднее купить готовый, и не связываться с разработкой. Если позволяют параметры, возьмите какую нибудь прогу, типа Mach2, и по LPT управляйте. Если нужно управлять по СОМ, но денег на покупку жалко, и хочется самому паять, возьмите бесплатно мои схемы и программы:

http://fsapr2000.ru/index.php?showtopic=12159

Недостатки существующих схем и решений обсуждали например здесь:

<noindex>http://www.cnczone.ru/viewtopic.php?t=30</noindex>

<noindex>http://www.cnczone.ru/viewtopic.php?t=20</noindex>

Очередной проект :smile:

<noindex>http://www.cnczone.ru/viewtopic.php?t=80</noindex>

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

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

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

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

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

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

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

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

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

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

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




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