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

Карта наладки в FeatureCAM


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



Так там же есть шаблоны (...\Autodesk\FeatureCAM 2017\Addins\SetupSheet) . Шаблон и исправил. XLS и HTML.

Я же шаблон приложил выше. Его можно положить на диске где угодно и указать путь к нему ("Найти шаблон") при выводе КН.

А в редакторе дополнений(макросов) можно открывать только bas файл. Тут уже если умеешь, можно сваять и ту КН как у вас на заводе.
Просто в вашей КН инструмент разделен на составляющие чего в FC нет, неудобно.

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

вот допустим сделал я шаблон. подскажите как сделать так,чтобы он вызывался при открытии bas?

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

не поможет)) такое было когда установил 2 версии и 1 из них удалил. Активная стала только после установки удаленной.

 

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

А как можно вытащить названия определённых переменных? Например радиуса инструмента, сечения державки, чтобы не было всё в кучу?

Ссылка на сообщение
Поделиться на других сайтах
  • 1 месяц спустя...
  • 2 месяца спустя...
В 14.02.2018 в 15:45, dyshess сказал:

А как можно вытащить названия определённых переменных? Например радиуса инструмента, сечения державки, чтобы не было всё в кучу?

FeatureCAM Setup Sheet Embedded Tag Reference  

The SetupSheetTemplate.html and SetupSheetTemplate.xls templates (in the Addins folder) demonstrate the use of the most important embedded tags.

The tags described below apply to both Excel and HTML templates, but there are some special considerations in creating an Excel template. See the Excel reference for details.

Fields that belong to a loop or conditional are only valid inside of the loop or conditional block. 
The operation loop is only valid inside of the setup loop.


Back
Document Fields
Tag Description
{fm.file_name} part document file name
{fm.cnc_file_name} The CNC post processor file name
{fm.nc_code_file_name} The NC-code file name
{fm.title} Title field from the Part Documentatio/n dialog
{fm.author} Author field from the Part Documentation dialog
{fm.company} Company field from the Part Documentation dialog
{fm.part_num} Part/Drawing No. field from the Part Documentation dialog
{fm.revision} Revision field from the Part Documentation dialog
{fm.note1} Note1 field from the Part Documentation dialog
{fm.note2} Note2 field from the Part Documentation dialog
{fm.comments} Comments field from the Part Documentation dialog
{fm.image_file_name} name of the document image file
{fm.image_path} relative path to the document image file (for use in html <img> tag)
{fm.timestamp} The date and time of the setup sheet's creation in YYYY-MM-DD HH:MM:SS format.
{stock.label_x_or_od} for rectangular stock = X origin label, for cylindrical stock = Outer diameter label
{stock.label_y_or_id} for rectangular stock = Y origin label, for cylindrical stock = Inner diameter label
{stock.label_z} z origin label
{stock.type} stock type
{stock.material} stock material
{stock.x_or_od} for rectangular stock = X origin, for cylindrical stock = Outer diameter
{stock.y_or_id} for rectangular stock = Y origin, for cylindrical stock = Inner diameter
{stock.z} z origin
 
Tool Loop - block is included once for each tool - tools appear in slot order
Tag Description
<tool_loop> tool loop start - start of tool scope
{tool.number} slot number of the tool
{tool.name} tool name
{tool.diameter} tool diameter
{tool.exposed_length} tool exposed length
{tool.length} tool length - refers to neck length for side mills, tip-to-shoulder length for rounding mills, holder length for lathe tools, and cutter length for all other tools
{tool.material} tool material
{tool.finish} tool finish
{tool.shank_diameter} tool shank diameter
{tool.tip_radius} tool tip radius
{tool.overall_length} tool overall length
{tool.inner_diameter} tool inner diameter
{tool.outer_diameter} tool outer diameter
{tool.flutes} tool flutes
{tool.pilot_diameter} tool pilot diameter
{tool.pilot_length} tool pilot length
{tool.end_radius} tool end radius
{tool.effective_diameter} tool effective diameter
{tool.teeth} tool number of teeth
{tool.number_of_inserts} tool number of inserts
{tool.taper} tool taper
{tool.radius} tool radius
{tool.spot_tip_angle} tool spot tip angle
{tool.threads} tool threads
{tool.min_pitch} tool minimum pitch
{tool.max_pitch} tool maximum pitch
{tool.max_depth} tool maximum depth as reported in the op list. This is relative to the feature.
{tool.setup_max_depth} tool maximum depth as reported in the op list. This is relative to the setup.
{tool.holder} tool holder
{tool.insert_length} tool insert length (for plunge mills)
{tool.arbor_tip_length} tool arbor tip length (for slitting saws)
{tool.body_length} tool body length (for thread mills)
{tool.body_diameter} tool body diameter (for spot drills)
{tool.comment} tool comment
{tool.coolant_override} the tool's coolant override
{tool.details} table of several important tool parameters
html table column elements are assigned class names to enable CSS customization
- label column class = "toolLabelCol"
- value column class = "toolValueCol"
tool.details includes the available information from all of the other tool.* tags
{tool.details_plain} the same as {tool.details}, but without the HTML formatting
useful in Excel setup sheets.
{tool.image_path} relative path to tool image file (for use in html <img> tag)
</tool_loop> tool loop end - end of tool scope
 
User Order Tool Loop - block is included once for each tool - tools appear in order of use
Tag Description
<use_order_tool_loop> tool loop start - start of tool scope
{use_order_tool.number} slot number of the tool
{use_order_tool.name} tool name
{use_order_tool.diameter} tool diameter
{use_order_tool.exposed_length} tool exposed length
{use_order_tool.length} tool length - refers to neck length for side mills, tip-to-shoulder length for rounding mills, holder length for lathe tools, and cutter length for all other tools
{use_order_tool.material} tool material
{use_order_tool.finish} tool finish
{use_order_tool.shank_diameter} tool shank diameter
{use_order_tool.body_diameter} tool body diameter
{use_order_tool.tip_radius} tool tip radius
{use_order_tool.overall_length} tool overall length
{use_order_tool.inner_diameter} tool inner diameter
{use_order_tool.outer_diameter} tool outer diameter
{use_order_tool.flutes} tool flutes
{use_order_tool.pilot_diameter} tool pilot diameter
{use_order_tool.pilot_length} tool pilot length
{use_order_tool.end_radius} tool end radius
{use_order_tool.effective_diameter} tool effective diameter
{use_order_tool.teeth} tool number of teeth
{use_order_tool.number_of_inserts} tool number of inserts
{use_order_tool.taper} tool taper
{use_order_tool.radius} tool radius
{use_order_tool.spot_tip_angle} tool spot tip angle
{use_order_tool.threads} tool threads
{use_order_tool.min_pitch} tool minimum pitch
{use_order_tool.max_pitch} tool maximum pitch
{use_order_tool.max_depth} tool maximum depth as reported in the op list. This is relative to the feature not necessarily the setup.
{use_order_tool.holder} tool holder
{use_order_tool.insert_length} tool insert length (for plunge mills)
{use_order_tool.arbor_tip_length} tool arbor tip length (for slitting saws)
{use_order_tool.body_length} tool body length (for thread mills)
{use_order_tool.comment} tool comment
{use_order_tool.details} table of some of the more important tool parameters
html table column elements are assigned class names to enable CSS customization
- label column class = "toolLabelCol"
- value column class = "toolValueCol"
use_order_tool.details includes the available information from all of the other use_order_tool.* tags
{use_order_tool.details_plain} the same as {use_order_tool.details}, but without the HTML formatting
useful in Excel setup sheets.
{use_order_tool.image_path} relative path to tool image file (for use in html <img> tag)
</use_order_tool_loop> tool loop end - end of tool scope
 
Setup Loop - block is included once for each setup
Tag Description
<setup_loop> setup loop start - start of setup scope
{setup.name} name of the setup
{setup.origin} origin of the setup
{setup.part_name} part name of the setup
{setup.image_file_name} name of setup image file
{setup.image_path} relative path to setup image file (for use in html <img> tag)
{setup.total_time} the total time needed to machine the setup.
<operation_loop> operation loop start - start of operation scope
{operation.feature_name} operation's feature name
{operation.feature_type} operation's feature type
{operation.turret_name} operation's turret name
{operation.name} operation name
{operation.number} operation number from the operation list
{operation.tool_number} slot number of the tool
{operation.tool_name} tool name
{operation.tool_diameter} tool diameter
{operation.tool_exposed_length} tool exposed length
{operation.tool_length} tool length - refers to neck length for side mills, tip-to-shoulder length for rounding mills, holder length for lathe tools, and cutter length for all other tools
{operation.tool_material} tool material
{operation.tool_finish} tool finish
{operation.tool_shank_diameter} tool shank diameter
{operation.tool_body_diameter} tool body diameter
{operation.tool_tip_radius} tool tip radius
{operation.tool_overall_length} tool overall length
{operation.tool_inner_diameter} tool inner diameter
{operation.tool_outer_diameter} tool outer diameter
{operation.tool_flutes} tool flutes
{operation.tool_pilot_diameter} tool pilot diameter
{operation.tool_pilot_length} tool pilot length
{operation.tool_end_radius} tool end radius
{operation.tool_effective_diameter} tool effective diameter
{operation.tool_teeth} tool number of teeth
{operation.tool_number_of_inserts} tool number of inserts
{operation.tool_taper} tool taper
{operation.tool_radius} tool radius
{operation.tool_spot_tip_angle} tool spot tip angle
{operation.tool_min_pitch} tool minimum pitch
{operation.tool_max_pitch} tool maximum pitch
{operation.tool_holder} tool holder
{operation.tool_insert_length} tool insert length (for plunge mills)
{operation.tool_arbor_tip_length} tool arbor tip length (for slitting saws)
{operation.tool_body_length} tool body length (for thread mills)
{operation.tool_comment} tool comment
{operation.tool_holder_orientation} tool holder orientation (for lathe and thread tools)
{operation.tool_details} table of several important tool parameters
html table column elements are assigned class names to enable CSS customization
- label column class = "toolLabelCol"
- value column class = "toolValueCol"
operation.tool_details includes the available information from all of the other operation.tool_* tags
{operation.tool_details_plain} the same as {operation.tool_details}, but without the HTML formatting
useful in Excel setup sheets.
{operation.tool_image} relative path to tool image file (for use in html <img> tag)
{operation.feed} operation feed rate
{operation.speed} operation speed
{operation.time} operation time
{operation.comment} feature comments passed via post variables.
{operation.depth} operation depth as reported in the op list. This is relative to the feature not necessarily the setup.
{operation.actual_depth} operation depth +/- finish allowances.
{operation.zan_depth} operation depth calculated using a bounding box around the feature.
{operation.setup_depth} operation depth as reported in the op list. This is relative to the setup.
{operation.depth_of_cut} rough z pass increment (depth of cut).
{operation.turn_depth_of_cut} rough depth of cut for turning operations.
{operation.turn_groove_depth_of_cut} rough depth of cut for turn groove operations.
{operation.diameter_offset_register} diameter offset register of the tool for this operation
{operation.length_offset_register} length offset register of the tool for this operation
{operation.2nd_length_offset_register} second length offset register of the tool for this operation
{operation.cutter_comp} cutter comp state for this operation (Y/N)
{operation.stepover} 3D milling stepover
{operation.mill_stepover} distance between cuts
{operation.surface_rough_stepover} surface rough stepover
{operation.finish_allowance} finish allowance
{operation.face_finish_allowance} face finish Allowance
{operation.semi_finish_allowance} semi finish Allowance
{operation.bottom_finish_allowance} bottom finish allowance
{operation.bottom_semi_finish_allowance} bottom semifinish allowance
{operation.finish_allowance} face allowance
{operation.thread_mill_finish_allowance} thread mill finish allowance
{operation.surface_rough_offset} surface rough offset
{operation.surface_rough_axial_offset} surface rough axial offset
{operation.z_start} z start of operation
{operation.z_end} z end of operation
{operation.surface_finish_axial_offset} surface finish axial offset
{operation.finish_z_increment} finish z increment
{operation.face_z_increment} face z increment
{operation.surface_finish_leave_allowance} surface finish leave allowance
{operation.side_leave_allowance} side leave allowance (radial allowance)
{operation.bottom_leave_allowance} bottom leave allowance
{operation.surface_finish_z_increment} surface finish z increment (3D Milling)
{operation.surface_rough_z_increment} surface rough z increment (3D Milling)
{operation.drill_cycle_type} drill cycle type of the operation
{operation.drill_peck_depth} peck depth of a drill operation
{operation.drill_peck_depth2} peck depth 2 of a drill operation
{operation.drill_min_peck} min peck of a drill operation
</operation_loop> operation loop end - end of operation scope
</setup> setup loop end - end of setup scope
 
If Multi Turret (conditional - block is only included if multiple turrets are available)
Tag Description
<if_multi_turret> if_multi_turret loop start - start of if_multi_turret scope
</if_multi_turret> if_multi_turret loop end - end of if_multi_turret scope

Back

Hide  

 

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

Всем привет. Хотел попробовать вместо КН вывести лист ОК и КЭ. В программировании не силен, помогите пожалуйста. 

Blank ОЭ и КЭ.xlsx

Blank ОЭ и КЭ.htm

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

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

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

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

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

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

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

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

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

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

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




  • Сообщения

    • Viktor2004
      Импортозамещение  
    • vad0000
      Нет, просто отключаете, и забываете о ней   Не надо ничего делать   Откуда приходит сигнал 24 вольта на 7 вход сервоусилителя? Фото другой страницы схемы
    • maxx2000
    • vladimir.songin
      То есть отключаю аналоговую обратную связь от аналогового входа, и подключаю вместо энкодера? Так не делал но сомнения у меня: Вход энкодера может  быть 12 или 5 вольт. У нас 12. Два пина питание, два пина Каналы A B соответственно, один пин REF (непонятно что он означает и как работает). Остальные соеденены вместе. На какие из них подавать аналаговый вход обратной связи дефлектора.  сигналы от энкодера приходят, проверял осцилографом на самом разьёме непосредственно на входе DM02, и некое значение уже могло бы отобразиться в поле энкодера при отключенном аналаговом входе.  Если отключить аналоговый вход, то видим единичку в обоих полях, но уже писал об этом.  
    • Алексей 1977
      Кто знает подскажите как отключить этот ненужный набор букв и символов в готовой УП? Я так думаю надо редактировать постпроцессор? Заранее спасибо ( Общая длина: 130.0) ( Заготовка:) ( MIN X: -10.970) ( MIN Y: -10.970) ( MIN Z: -6.500) ( MAX X: 10.970) ( MAX Y: 10.970) ( MAX Z: 0.000) ( COORDINATE SYSTEM: Глобальная СК) ( Кончик инструмента:) (   X: -0.000) (   Y: 0.000) (   Z: 10.000) ( Рекомендованная длина: 50.000) ( Количество кромок: 4) ( Инструмент:   Концевая фреза) ( DIAMETER: 10.000) ( Безопасность:) ( Рабочие ходы инструмента: Безопасная БЕЗ зарезов) ( Подводы инструмента: Безопасная БЕЗ зарезов) ( Переходы инструмента: Безопасная БЕЗ зарезов) ( Рабочие ходы патрона: Столкновения НЕ проверялись) ( Подводы патрона: Столкновения НЕ проверялись) ( Переходы патрона: Столкновения НЕ проверялись) ( Траектория: Шаблон) ( STEPOVER: 5.000) ( ДОПУСК:0.100) ( THICKNESS:0.000) ( Статистика:) ( LENGTH: 95.318)( LIFTS: ( TIME: 0/00/05) 1) G0X0Y0 G43Z10.H13 X4.75Y-8.227 Z5. G1Z0F500 X9.5Y-5.485F1000 Y5.485 X0Y10.97 X-9.5Y5.485 Y-5.485 X0Y-10.97 X4.75Y-8.227 G0Z10.
    • gudstartup
      считывание происходит при помощи вх\вых сигналов контроллера plc 
    • gudstartup
      @Maks Horhe так все таки скиньте бэкап эмулируем ваше чпу в cncguide и посмотрим куда поедет?  можете снять видео с фиксацией координатных позиций после каждого кадра. Выложу вашу программу пусть программисты посмотрят все ли в ней ок. %O0002 G40 G17 G94 G90 G49 G80 N1 G91 G28 Z0.0 N2 G91 G28 X0.0 Y0.0 N3 G91 G28 B0.0 C0.0 N4 M03 S200 N5 G90 G0 G53 B0.0 C0.0 N6 G54 N7 X0.0 Y0.0 N8 G90 G43 H01 N9 G90 G0 X0.0 Y0.0 N10 G90 G0 Z200.0 N11 G01 Z10.0 F1500. N12 M00 N13 G00 Z200.0 N14 G40 G49 G69 N15 G00 G53 Z0.0 N16 G00 G54 B0.0 C0.0 N17 G68.2 X0.0 Y0.0 Z0.0 1135. J39.2044 K-129.2315 N18 G53.1 N19 G01 X0.0 Y0.0 F1500 N20 G90 G43 H01 N21 G90 G01 X0.0 Y0.0 F1500 N22 G90 G01 Z200. F1500 N24 M00 N25 G00 Z200. N26 G40 G49 G69 N27 G91 G28 Z0.0 N28 G28 X0.0 Y0.0 N29 G91 G28 B0.0 C0.0 N30 M5 N31 M30
    • gudstartup
      @karlf 530 считывает ключ по специальному протоколу при помощи plc и получает его серийный номер а из него определяет возможные режимы доступа. там нет драйвера а есть plc модуль или несколько эти модули написаны на питоне  надпись smartkey исчезает с экрана при запуске чпу??
    • ДОБРЯК
      Для того, чтобы получить правильные высшие) формы при виртуальном эксперименте, нужно сделать грамотную КЭ модель. От разговора на эту тему вы постоянно уклоняетесь.  То нет компьютера под рукой, сделать простейший тест, то теряете интерес. :=) Сходимости энергии деформации при расчетах статики, недостаточно для точного определения высших собственных форм и частот.  Для того, чтобы грамотно использовать метод конечных элементов, нужно сделать много-много тестов в статике, динамике и ... Одной кнопки и двух конечных элементов в 3Д программе недостаточно для определения высших собственных форм...  У вас в качестве инструмента всего два конечных элемента, шести узловая несовместная оболочка Тимошенко и десяти узловой тетраэдр. И еще контакты при решении задачи на собственные числа. Вам ли говорить про правильность определения высших собственных форм для сложных изделий... :=)    
    • vad0000
      Покажите схему с разрешением на движение
×
×
  • Создать...