濡備綍瀹炵幇瀵逛俊鍙风殑楂樼數骞虫寔缁椂闂寸殑绮剧‘娴嬮噺-CODESYS杞欢璁ㄨ鍖-閰峰痉缃 - CoDeSys杞欢鏁欑▼涓嬭浇,CoDeSys宸ユ帶璧勮闂ㄦ埛
HSC6490-cn涓浗鍒堕狅紝涓浗鑺瘇
鏌ョ湅: 2046|鍥炲: 0

濡備綍瀹炵幇瀵逛俊鍙风殑楂樼數骞虫寔缁椂闂寸殑绮剧‘娴嬮噺

[澶嶅埗閾炬帴]
  • TA鐨勬瘡鏃ュ績鎯
    鎿︽睏
    2023-4-10 13:24
  • 绛惧埌澶╂暟: 1 澶

    [LV.1]鍒濇潵涔嶅埌

    鍙戣〃浜 2016-6-4 19:23:58 | 鏄剧ず鍏ㄩ儴妤煎眰 |闃呰妯″紡
    鎴戞兂鍋氫竴涓瓙绋嬪簭妯″潡锛屽彲浠ョ簿纭祴閲忎俊鍙风殑楂樼數骞虫寔缁椂闂淬傜幇鍦ㄥ仛鍑烘潵鐨勭▼搴忥紝姣忔娴嬮噺鐨勭粨鏋滈兘鍜屽疄闄呭煎亸宸50ms宸﹀彸銆傚浣曟妸璇樊鎺у埗鍦10ms浠ュ唴锛熷瓙绋嬪簭濡備笅锛
    (*寮鍏抽噺淇″彿楂樼數骞虫寔缁椂闂寸畻娉曪細bool_input鐨勪笅闄嶆部绔嬪埢璇诲彇瀹氭椂鍣═ON_1鐨勫綋鍓嶅硷紙bool_input 楂樼數骞虫寔缁椂闂存渶澶т笉瓒呰繃10绉掞級*)
    TOF_1(IN:=bool_input , PT:=T#5ms , Q=> , ET=> );
    TON_1(IN:=TOF_1.Q , PT:=T#60s, Q=> , ET=> );
    F_TRIG_1(CLK:=bool_input , Q=> );
    IF        F_TRIG_1.Q        THEN
            TIME1 :=TON_1.ET;
    END_IF
    keep_time := TIME_TO_WORD(TIME1);
    杩欎釜绋嬪簭娴嬪嚭鏉ョ殑缁撴灉姣斿疄闄呭煎ぇ50ms宸﹀彸銆傝繖涓宸紙50ms锛夋槸涓嶆槸绋嬪簭鐨勬壂鎻忓懆鏈燂紵鏈夋病鏈夊姙娉曟秷闄よ繖涓宸紵鎴栨槸鏈夋病鏈夊叾浠栫殑绮剧‘妫娴嬫柟娉曪紵鏁楂樻墜鎸囩偣锛屼笉鑳滄劅婵锛
    +10
    涓嶈禐涓涓紵
    鎵撹祻榧撳姳涓涓嬶紒
    鍥炲

    浣跨敤閬撳叿 涓炬姤

    鎮ㄩ渶瑕佺櫥褰曞悗鎵嶅彲浠ュ洖甯 鐧诲綍 | 绔嬪嵆娉ㄥ唽 鏂版氮寰崥鐧婚檰

    鏈増绉垎瑙勫垯

    椤堕儴qrcode搴曢儴
    鍏虫敞閰峰痉缃戣闃呭彿锛岃幏鍙栨洿澶氳祫璁紒

    QQ|灏忛粦灞|鎵嬫満鐗|Archiver|閰峰痉璁哄潧 ( 鑻廔CP澶16065247鍙-1 )|缃戠珯鍦板浘

    GMT+8, 2024-11-23 21:49 , Processed in 0.147982 second(s), 55 queries .

    閰峰痉缃

    © 2001-2013 Hicodesys. 鎶鏈敮鎸 by 閰峰痉缃

    蹇熷洖澶 杩斿洖椤堕儴 杩斿洖鍒楄〃