Fulltext results:
- plc
- ====== PLC ====== PLC stands for "Programmable Logic Controller". PLC controller can load and run small binary programs (PLC procedures). PLC procedure should be written in a
- plc_gas_cutting_implementation
- implemented on myCNC controllers through Hardware PLC. === Simple Gas Cutting Control. === {{gas-cont... valve * OC - Cutting Oxygen valve <code c M71.plc> #include pins.h #include vars.h main() { port... 9); }; </code> myCNC software HMI has access to PLC variable **proc** and able to display its value o... nt status (Ignition/Preheat/Cutting/Purge) inside PLC procedure, then this status can be displayed on m
- plc_examples
- ==== PLC Examples ==== //**NOTE**: The myCNC team recommends utilizing the examples provided in this m... ands allows for an easier setup process.// * [[plc:M07 Mist Coolant ON]] * [[plc:M03 Simple Spindle ON procedure]] * [[plc:plc_height_map|Getting a Height Map]] === Spindle Speed
- plc_builder
- ==== PLC Builder ==== PLC controller can load and run small binary programs (PLC procedures). PLC procedure should be wrirtten by simplified C-like language, compiled and stored in PL
- m03_simple_spindle_on_procedure
- = M03 Simple Spindle ON procedure === <code c M03.plc> #include pins.h //include file with constant def... tect spindle speed is good to start. <code c M03.plc> #include pins.h main() { dac01=eparam; ... hange spindle delay to this variable <code c M03.plc> #include pins.h #include vars.h main() { dac01... exit(99); //normal exit. }; </code> PLC variable **var05** is value for spindle ON delay.
- load_from_template
- =====Load PLC from template===== In order to load PLC from template, please use the instructions below: 1. Open **CNC Settings > Config > PLC > Hardware PLC**. You will be presented with the following screen: {{:plc:plc-templates-001.jpg}} 2.
- motion_commands_from_plc
- ===== Running Motion (Positioning) commands from PLC ===== ==== Option 1 ==== Motion Controller and PLC running on myCNC controllers as independent tasks ... ronment. There is API to run motion commands from PLC. This features used for wide range of procedures ... e **g0moveA** is used to send motion command from PLC to motion controller. This procedure has 3 parame
- управление_шпинделем_подключенным_через_pulse-dir
- эти данные в контроллер. При доступе из Hardware PLC необходимо использовать запись в регистр "сырого" значения (8130) и самостоятельно (в коде PLC) учитывать множитель. Изначально независимый ген... . 1. Добавить код включения генератора в Hardwre PLC процедуру включения шпинделя - M03.plc. Код удобно добавить в конец процедуры перед вызовом exit(99)
- eparam @plc:plc
- 16-bit integer parameters P and L are sent to the PLC procedure in the **eparam** variable. \\ P-parame... simple lines of code can be used in the necessary PLC procedure: <code>P=eparam&0xFFFF;//P-parameter L... some value from the G-code or macro to a hardware PLC command which will use and incorporate this value... ince it relies on calling on a couple of Hardware PLC commands in order to perform the homing procedure
- plc_procedure_aliases
- ==== PLC procedure Aliases ==== Let's suppose we have plasma cutting profile and M procedures for Cutt... this case - bad and good :). - (**bad**) Add to PLC Builder 2 procedures М3 and М5 and copy content f... o Controller )press 3 buttons on th right side of PLC Builder widget - **Save**, **Rebuild All** and **... ow to create Alias instruction below: - Open **PLC builder** (Settings -> Cfg -> PLC Builder -> Hard
- m88_m89_stop_motion_from_plc_if_input_pin_activated
- ===== M88, M89 PLC procedures. Stop Motion if Input pin activated ===== Video recap of the manual is a... IGA?large}} One of the most popular job for the PLC procedure is moving to given direction till input... others This procedure can be handled in Hardware PLC. We offer M88 and M89 PLC procedures which do this job as a standard procedure. However, it can be cus
- spindle_speed_control_through_-10v_dac_channel_et10
- ber of ways to access to DAC Offset register. == PLC controller (Hardware) == DAC offset register is ... _EXTVAR should be sent to myCNC control core from PLC to get access [[mycnc:extern_variables|Extern CNC... elay should be initiated to push the message from PLC to myCNC Core. <code c>#define PLCCMD_SET_CNC_EXTVAR 1020</code> PLC code example for ET10\DAC Value programming <cod
- controller_peripherals_test_-_bv17
- ller Peripherals test BV17 ===== We use Software PLC procedure BV17 to test control board peripherals ... M, DACs and binary output registers from Software PLC. <code C __BV17.plc> main() { //exit(99); a=0; n=0; do { c=0; do { c++; if (c&1){ ports... , and increase PWMs and DAC registers in loop. {{plc:bv17-dac.png}} {{youtube>sIx86EgzULY}} Name o
- plc_show_custom_message_box
- ===== Show Custom Message Box from PLC ===== In order to create a custom popup window in myCNC softwar... event like an emergency button press, a software PLC procedure can be added to the myCNC software for ... irements. In order to do so, go to CNC Settings > PLC > Software PLC, then create a new popup window following the instructions below: 1. Press the **Creat
- software_plc_examples
- ==== Software PLC examples ==== //**NOTE**: The myCNC team recommends utilizing the examples provided ... * [[Controller Peripherals Test - BV17]] * [[plc:Charge Pump]] === Endless loop for G-code program === An endless loop can be made in Software PLC procedure. PLC procedure contains an endless loop. In the loop it checks the current status of myCNC