User Tools

Site Tools


plc:plc_procedure_aliases

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Last revisionBoth sides next revision
plc:plc_procedure_aliases [2017/09/12 17:55] skirillovplc:plc_procedure_aliases [2017/09/12 18:26] skirillov
Line 9: Line 9:
 We need to run this codes M3/M5 exactly as our current codes М71/М74. There are 2 solutions in this case - bad and good :). We need to run this codes M3/M5 exactly as our current codes М71/М74. There are 2 solutions in this case - bad and good :).
   - (**bad**) Add to PLC Builder 2 procedures М3 and М5 and copy content from M71 to M3 (Cutting On) and from M74 to M5 (Cutting Off), then Rebuild All procedures and send to Controller )press 3 buttons on th right side of PLC Builder widget - **Save**, **Rebuild All** and **Send**.  Con of this method: if you need to fix one of procedures (for example **M71**) then you need to do the same fixes in **M3** manually.   - (**bad**) Add to PLC Builder 2 procedures М3 and М5 and copy content from M71 to M3 (Cutting On) and from M74 to M5 (Cutting Off), then Rebuild All procedures and send to Controller )press 3 buttons on th right side of PLC Builder widget - **Save**, **Rebuild All** and **Send**.  Con of this method: if you need to fix one of procedures (for example **M71**) then you need to do the same fixes in **M3** manually.
-  - Назначить М3 как "синоним" (Alias) для М71, а М5 как "синоним" (Alias) к М74. Тогда при редактировании и компиляции М71 система myCNC будет автоматически создавать идентичный код для обоих процедур М71 и М3.+  - (**good**) Assign **М3** as Alias to **М71**and **М5** as Alias to **М74**In this case if you edit  and compile M71 procedure myCNC will automatically create identical binary procedure for M3 as well. No need to worry about it.
  
-Ниже показана последовательность действий для создания Alias (синонимов):+There is how to create Alias instruction below:
  
-  - Войти в **PLC builder** (Настройки-Cfg-PLC Компилятор-Встроенное PLC){{mycnc:mycnc-plc-builder-ru--2.png}} +  - Open **PLC builder** (Settings -Cfg -PLC Builder -> Hardware PLC){{mycnc:mycnc-plc-builder-ru--2.png}} 
-  - Выделить (кликнуть) в окне **PLC исходные тексты** строку с Процедурой М71 +  - Click in window **PLC Sources** line with Procedure М71 
-  - В правой части сверху поле ввода **Синонимы** ввести имя процедуры М3 (если там уже есть другие синонимыто добавить М3 через разделитель ";" {{mycnc:mycnc-plc-builder-ru--3.png}} +  - On the top-right side of PLC Builder window there will be Input Line for **Aliases**. Enter **M3** name there (if there are other namesadd M3 with ";" separator {{mycnc:mycnc-plc-builder-ru--3.png}} 
-  - Выделить (кликнуть) в окне **PLC исходные тексты** любую другую строку и проверить, что в строке с М71 в скобках появилось М3 {{mycnc:mycnc-plc-builder-ru--4.png}} +  - Clic in **PLC Sources** om any other line AND CHECK if in the line with **M71** appear **M3** in brackets {{mycnc:mycnc-plc-builder-ru--4.png}} 
-  - Сделать подобное действие с М74 и добавить М5 в синонимы {{mycnc:mycnc-plc-builder-ru--5.png}} +  - Do the same for **M74** and add **M5** procedure as Alias {{mycnc:mycnc-plc-builder-ru--5.png}} 
-  - Нажать последовательно кнопки в правой части экрана - **Build All**, **Сохранить**, **Отослать** {{mycnc:mycnc-plc-builder-ru--6.png}}{{mycnc:mycnc-plc-builder-ru--7.png}}{{mycnc:mycnc-plc-builder-ru--8.png}}+  - Press in series buttons on righ side of PLC Builder - **Build All**, **Save All**, **Send** {{mycnc:mycnc-plc-builder-ru--6.png}}{{mycnc:mycnc-plc-builder-ru--7.png}}{{mycnc:mycnc-plc-builder-ru--8.png}}
  
-Процедуры М3 и М5 готовы к работе!+М3 and М5 are ready to go!
plc/plc_procedure_aliases.txt · Last modified: 2017/09/12 18:27 by skirillov

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki