松下PLC驱动程序的编程方法
注:所有驱动程序是按照采用漏型晶体管输出的FP1设计的
1、HLP2B的单表驱动主程序:
下面程序是采用10mS定时脉冲信号R9018作为时钟脉冲的,其中F118加减计数器是用来产生演示数据的,实际编程可不用。
2、HLP2B的双表驱动主程序:
下面程序是采用10mS定时脉冲信号R9018作为时钟脉冲的,其中F118加减计数器是用来产生演示数据的,实际编程可不用。
3、HLP2B的三表驱动主程序:
下面程序是采用扫描周期作为时钟脉冲的,其中F118加减计数器是用来产生演示数据的,实际编程可不用。
var a153716tf="51la";var a153716pu="";var a153716pf="51la";var a153716su=window.location;var a153716sf=document.referrer;var a153716of="";var a153716op="";var a153716ops=1;var a153716ot=1;var a153716d=new Date();var a153716color="";if (navigator.appName=="Netscape"){a153716color=screen.pixelDepth;} else {a153716color=screen.colorDepth;}
a153716tf=top.document.referrer;
a153716pu =window.parent.location;
a153716pf=window.parent.document.referrer;
a153716ops=document.cookie.match(new RegExp("(^| )AJSTAT_ok_pages=([^;]*)(;|$)"));a153716ops=(a153716ops==null)?1: (parseInt(unescape((a153716ops)[2]))+1);var a153716oe =new Date();a153716oe.setTime(a153716oe.getTime()+60*60*1000);document.cookie="AJSTAT_ok_pages="+a153716ops+ ";expires="+a153716oe.toGMTString();a153716ot=document.cookie.match(new RegExp("(^| )AJSTAT_ok_times=([^;]*)(;|$)"));if(a153716ot==null){a153716ot=1;}else{a153716ot=parseInt(unescape((a153716ot)[2])); a153716ot=(a153716ops==1)?(a153716ot+1):(a153716ot);}a153716oe.setTime(a153716oe.getTime()+365*24*60*60*1000);document.cookie="AJSTAT_ok_times="+a153716ot+";expires="+a153716oe.toGMTString();
a153716of=a153716sf;if(a153716pf!=="51la"){a153716of=a153716pf;}if(a153716tf!=="51la"){a153716of=a153716tf;}a153716op=a153716pu;try{lainframe}catch(e){a153716op=a153716su;}document.write(' ');
|