欧洲杯买球网址

欢迎进入济南玉昌门业有限公司官方网站!

济南车库门,济南卷帘门,银行卷帘门,银行专用卷帘门,安全防盗卷帘门

多美雅特
十年智能卷帘门窗制造商
365天全天候服务热线
131-5319-9608

热门关键词: 车库门 银行卷帘门 工业卷帘门

高端车库门控制程序的编写

文章出处:网址   作者:玉昌门业    人气: 发表时间:2015-11-30 11:05

  

车库门控制程序的编写

IFCHEKUMENSHANGJUANJIECHUQI=0THENMENYIDONGCANSHU=MENYIDONGCANSHU-1

  IFCHEKUMENXIAJUANJIECHUQI=0THENMENYIDONGCANSHU=MENYIDONGCANSHU+1

  IF济南车库门上卷接触器=0OR车库门下卷接触器=

  0THEN

  DONGZUOZHISHI=1

  ELSE

  DONGZUOZHISHI=0

  ENDIF

  IFQIDONGKAIGUAN=1ANDFUWEIKAIGUAN=0THEN

  DINGSHIQIFUWEI=0DINGSHIQIQIDONG=1XIAOCHEBIAOZHI=1

  ENDIF

  IFQIDONGKAIGUAN=0THEN

  DINGSHIQIQIDONG=0

  ENDIF

  IFFUWEIKAIGUAN=1THENDINGSHIQIQIDONG=0CHEKUMENSHANGJUANJIECHUQI=1CHEKUMENXIAJUANJIECHUQI=1

  ENDIF

  IFDINGSHIQIQIDONG=1THENIFJISHISHIJIAN<6THEN

  CHEYIDONGCANSHU=CHEYIDONGCANSHU+1

  EXITENDIF

  IFDINGSHIQIQIDONG=0THEN

  CHEKUMENSHANGJUANJIECHUQI=1CHEKUMENXIAJUANJIECHUQI=1CHEGANXINHAO=0

  CHEWEIXINHAO=0SHANGXIANWEIKAIGUAN=0XIAXIANWEIKAIGUAN=0

  ENDIF

  IFJISHISHIJIAN<9THEN

  CHEGANXINHAO=1

  EXITENDIF

  IFJISHISHIJIAN<12THEN

  CHEGANXINHAO=0

  EXITENDIF

  IFJISHISHIJIAN<20THEN

  CHEKUMENSHANGJUANJIECHUQI=0

  EXITENDIF

  IFJISHISHIJIAN<26THEN

  SHANGXIANWEIKAIGUAN=1CHEKUMENSHANGJUANJIECHUQI=1CHEYIDONGCANSHU=CHEYIDONGCANSHU+1

  EXIT

  ENDIF

  IFJISHISHIJIAN<29THENSHANGXIANWEIKAIGUAN=0CHEWEIXINHAO=1

  EXITENDIF

  IFJISHISHIJIAN<32THEN

  CHEWEIXINHAO=0

  EXITENDIF

  IFJISHISHIJIAN<40THEN

  CHEKUMENXIAJUANJIECHUQI=0

  EXITENDIF

  IFJISHISHIJIAN<42THENXIAXIANWEIKAIGUAN=1CHEKUMENXIAJUANJIECHUQI=1

  EXIT

  ENDIF

  IFDINGSHIQIFUWEI=1THEN

  XIAOCHEBIAOZHI=0

  EXITENDIFENDIF

同类文章:

相关资讯

安全防盗卷帘门厂家
济南车库门卷帘门阐述简约生活的真谛

JINANCHEKUMEN JUANLIANMENCHANSHUJIANYUESHENGHUODEZHENDI! DADAOZHIJIANDEZHEXUESIXIANG,BEIDAOJIADESIXIANGJIAMENWEIWEIDAOLAI,QUEZAIDANGJINSHIDAIDEFUGUANGLVEYINGZHONGXIANDEYUEFASHENKE。ZAIXIAOFEISHIDAIDEBEIJINGXIA,ZHIJIANZHIJINGDESHENGHUOFANGSHIZHENGZAI…

[查看详情]
网站声明:

BENZHANBUFENSUCAISOUJILAIYUANWANGLUO,RUNEIRONGYOUQINQUAN,QINGLIANXIWOSILIJISHANCHU!BENZHANNEIRONGANZHAOXIANGGUANFALVFAGUIJINXINGBIANXIE;RUYOUBUDANGQINGLIANXIWOSILIJISHANCHU!