11.07.2015 Views

SYNTEC CNC Application manual - Winter Holztechnik

SYNTEC CNC Application manual - Winter Holztechnik

SYNTEC CNC Application manual - Winter Holztechnik

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

<strong>SYNTEC</strong> <strong>CNC</strong> application <strong>manual</strong>3.6 how to write M,S,T code laddersubstantive explain :M_code read : <strong>CNC</strong> do NC program and runs into M code ,controller S bit S29(M_code read) turnsON ,tell ladder start to do M_code ,after finishing doing M code ,ladder answer MSTFIN(C38) signal ,<strong>CNC</strong> will do follow-up NC codeS_code read : <strong>CNC</strong> do NC program and runs into S code ,controller S bit S54(S_code read)turnsON ,tell ladder start to do S_code ,after finishing doing ,ladder need to answer MST FIN(C38)singal ,<strong>CNC</strong> will do follow-up NC codeT_code read : <strong>CNC</strong> do NC and runs into T code ,controller S bit S69(T_code read) tellladder starts to do T_code ,after doing ,ladder need to answer MST FIN(C38)signal ,<strong>CNC</strong> will do follow-up NC codeM_code contents : <strong>CNC</strong> do NC program and runs into M code ,controller will put contents of Mcode into ladder Register interface R01 ,let ladder do related actionS_code contents : <strong>CNC</strong> do NC program and runs into S code ,controller will put the value that Scode given ,into ladder Register interface R02 ,action of sending command to frequencyconverter , is done inside the <strong>CNC</strong> ,but it will do after ladder answer M,S,T FIN signal(C38)T_code contents : <strong>CNC</strong> do NC program and runs into T code ,controller will put the contents of Tcode into ladder Register interface R03 ,do related action by ladderLADDER write suggestion :• use MSD graph concept to write MST code of related ladder• define M_START ,S_START ,T_START opposite to A bits• define M_execute ,S_execute ,T_execute opposite to A bits• define M_FIN ,S_FIN ,T_FIN opposite to A bits• When M,S,T code comes ,set M,S,T START A bits ON immediately• second state enter M,S,T execute STATE A BITS ON ,and that time,START A bits OFF• after doing related M,S,T code ,enter M,S,T FIN status A bits ON ,and thattime ,EXECUTE A bits OFF• C38=(M_FIN Abit && S_FIN Abit && T_FIN Abit) ,it means when three related A bitsON both ON ,and then C38 ON82

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!