﻿
loadrt and2 count =1
loadrt not count =1
loadrt or2 count =1

addf and2.0 servo-thread
addf not1.0 servo-thread
addf or2.0 servo-thread


net fire_m4 motion.spindle-forward parport.0.pin-07-out # вкл пневмоцилиндра 
net fire_m4 parport.0.pin-09-out # вкл-выкл влазмы
net end1 and2.0.in0 parport.0.pin-15-in-not # сигнал наличия дуги
net end2 and2.0.in1 parport.0.pin-13-in-not  # сигнал с концевика ПЦ
net endfeed and2.0.out  not1.0.in
net endnot not1.0.out or2.0.in0 # начало реза
net or_m3 motion.spindle-reverse in1 #переезд в начало реза
net feed or2.0.out motion.feed-hold  


в замен пост 301 

в ини надо добавить 
RS274NGC_STARTUP_CODE = G21 G90 M3

