PLCÊÔÌâ Ò»¡¢Ìî¿ÕÌâ
1¡¢µçÆø¿ØÖÆÍ¼ÖУ¬½Ó´¥Æ÷µÄË÷ÒýÈç¹ûΪ£ºÔò±íʾÔÚͼÖнӴ¥Æ÷KM1ÓÐ 3 ¸ö
Ö÷´¥µãÔÚͼÖÐ 2 Çø£»½Ó´¥Æ÷KM1ÓÐ1¸ö¸¨Öú³£±Õ´¥µãÔÚͼÖÐ 13 Çø¡£
2¡¢µçÆø¿ØÖƵç·ͼÖУ¬½Ó´¥Æ÷µÄË÷ÒýÈç¹ûΪÓÒËùʾ£¬Ôò±íʾÔÚͼÖнӴ¥Æ÷
KM1ÓÐ 3 ¸öÖ÷´¥µãÔÚͼÖÐ 2 Çø£»½Ó´¥Æ÷KM1ÓÐ 0 ¸ö¸¨Öú³£±Õ´¥µã¡£ 3¡¢Èȼ̵çÆ÷ÊǶԵ綯»ú½øÐÐ ³¤ÆÚ¹ýÔØ ±£»¤µÄµçÆ÷¡£ 4¡¢µçÆø¿ØÖÆÍ¼Ò»°ã·ÖΪ Ö÷ µç·ºÍ ¸¨Öú µç·Á½²¿·Ö¡£
5¡¢°´¹ú±ê¹æ¶¨£¬¡°Í£Ö¹¡±°´Å¥±ØÐëÊÇ ºì É«£¬¡°Æô¶¯¡±°´Å¥±ØÐëÊÇ ÂÌ É«¡£ 6¡¢ÈÛ¶ÏÆ÷ÊÇ ¶Ì· ±£»¤µÄµçÆ÷¡£
7¡¢¼Ìµç½Ó´¥Æ÷¿ØÖÆÏµÍ³ÖеĻ¥ËøÖÖÀà¿ÉÒÔ·ÖΪ µçÆø »¥ËøºÍ »úе£¨°´Å¥£© »¥Ëø¡£
8¡¢µçÆø¿ØÖÆÏµÍ³Í¼Ò»°ãÓÐÈýÖÖ£º µçÆøÔÀíͼ ¡¢ µçÆ÷²¼ÖÃͼ ¡¢ µçÆø°²×°½ÓÏßͼ ¡£
¶þ¡¢¼ò´ðÌâ
1¡¢½»Á÷µç´ÅÏßȦÎó½ÓÈëÏàÓ¦Ö±Á÷µçÔ´£¬»òÕßÖ±Á÷µç´ÅÏßȦÎó½ÓÈëÏàÓ¦½»Á÷µçÔ´£¬½«·Ö±ð²úÉúʲôÎÊÌ⣿Ϊʲô£¿
´ð£ºÖ±Á÷µç´ÅÏßȦÔÑÊý¶à£¬½Óµ½½»Á÷µçÔ´ÉÏ£¬²úÉúµÄ¸ÐÓ¦µç¶¯ÊÆÄÜÆ½ºâÍⲿµçѹ£¬Æ÷е²»¶¯×÷£»
½»Á÷µç´ÅÏßȦÔÑÊýÉÙ£¬½Óµ½Ö±Á÷µçÔ´ÉÏ£¬²úÉúµÄ¸ÐÓ¦µç¶¯ÊƲ»×ãÒÔÆ½ºâÍⲿµçѹ£¬Ò×ÉÕ»µÆ÷е¡£
2¡¢¼òÊöËٶȼ̵çÆ÷µÄ¹¤×÷ÔÀí¡£
´ð£ºËٶȼ̵çÆ÷µÄת×Ó¿ÕÌ×Ôڵ綯»úµÄתÖáÉÏ£¬¶¨×ÓÖÐǶÓдÅÐÔµ¼Ìõ£¬Ò»µ©µç¶¯»úת¶¯£¬´ø¶¯×ª×ÓÔÚ¶¨×ÓÖÐ×öÇиî´ÅÁ¦ÏßÔ˶¯£¬²úÉú¸ÐÓ¦µçÁ÷£¬¼Ì¶ø²úÉúµç´Åת
¾Ø£¬Ê¹¶¨×ÓÏòÖáת¶¯·½ÏòÆ«°ÚÒ»¶¨½Ç¶È£¬´Ó¶øÊ¹¶¨×Ó±ú²¦¶¯´¥µãϵͳ¶¯×÷¡£µ±×ªËÙϽµ£¬×ª¾Ø¼õС£¬¶¨×Ó±úÔÚµ¯»ÉÁ¦µÄ·´×÷ÓÃÁ¦Ï¸´Î»£¬´¥µãϵͳҲ¸´Î»¡£
Èý¡¢Éè¼ÆÌâ
1¡¢ÊÔÉè¼ÆÒ»ÈýÏàÒì²½µç¶¯»úµÄÕý·´×ª¿ØÖƵç·£¬ÒªÇó¼ÓÈë»ù±¾µÄ±£»¤»·½Ú¡£ ²Î¿¼µç·£º
2¡¢ÊÔÉè¼ÆÒ»¿ÉÒÔʵÏÖÁ½µØÍ¬Ê±¿ØÖÆÍ¬Ò»µç¶¯»úÆðÍ£µÄ¿ØÖƵç·¡£
²Î¿¼µç·£º
PLC²¿·Ö
Ò»¡¢Ìî¿ÕÌâ
1¡¢Ëµ³öÏÂÁÐÖ¸ÁîµÄÃû³Æ L D Â߼ȡָÁî LDI Â߼ȡ·´Ö¸Áî OUT Çý¶¯ÏßȦÊä³öÖ¸Áî
AND µ¥¸ö³£¿ª´¥µãµÄ´®ÁªÁ¬½ÓÖ¸Áî ANI µ¥¸ö³£±Õ´¥µãµÄ´®ÁªÁ¬½ÓÖ¸Áî O R µ¥¸ö³£¿ª´¥µãµÄ²¢ÁªÁ¬½ÓÖ¸Áî ORI µ¥¸ö³£±Õ´¥µãµÄ²¢ÁªÁ¬½ÓÖ¸Áî LDP È¡Âö³åÉÏÉýÑØÖ¸Áî LDF È¡Âö³åϽµÑØÖ¸Áî ANDP ÓëÂö³åÉÏÉýÑØÖ¸Áî ANDF ÓëÂö³åϽµÑØÖ¸Áî ORP »òÂö³åÉÏÉýÑØÖ¸Áî ORF »òÂö³åϽµÑØÖ¸Áî ORB µç·¿éµÄ»ò²Ù×÷Ö¸Áî ANB µç·¿éµÄÓë²Ù×÷Ö¸Áî MPS ½øÕ»Ö¸Áî MRD ¶ÁÕ»Ö¸Áî MPP ³öÕ»Ö¸Áî M C Ö÷¿ØÖ¸Áî MCR Ö÷¿Ø¸´Î»Ö¸Áî INV È¡·´Ö¸Áî
SET ÖÃλָÁî RST ¸´Î»Ö¸Áî
PLS ÊäÈëÐźÅÉÏÉýÑØ²úÉú΢·ÖÊä³öÖ¸Áî PLF ÊäÈëÐźÅϽµÑزúÉú΢·ÖÊä³öÖ¸Áî NOP ¿Õ²Ù×÷Ö¸Áî END ×ܳÌÐò½áÊøÖ¸Áî RET ²½½ø·µ»ØÖ¸Áî STL ²½½øÌÝÐÎÖ¸Áî
T O ´ÓÌØÊ⹦ÄÜÄ£¿éдÈëÖ¸Áî FROM´ÓÌØÊ⹦ÄÜÄ£¿é¶Á³öÖ¸Áî SFTR λÓÒÒÆÎ»Ö¸Áî SFTL λ×óÒÆÎ»Ö¸Áî MOV Êý¾Ý´«ËÍÖ¸Áî INC ¼Ó1Ö¸Áî DEC ¼õ1Ö¸Áî CMP ±È½ÏÖ¸Áî ZCP Çø¼ä±È½ÏÖ¸Áî C J Ìõ¼þÌø×ªÖ¸Áî ZRST Çø¼ä¸´Î»Ö¸Áî ADD ¶þ½øÖƼӷ¨Ö¸Áî SUB ¶þ½øÖƼõ·¨Ö¸Áî
2¡¢PLCµÄÊäÈë/Êä³ö¼ÌµçÆ÷²ÉÓà 8 ½øÖƽøÐбàºÅ£¬ÆäËüËùÓÐÈíÔª¼þ¾ù²ÉÓà 10 ½øÖƽøÐбàºÅ¡£ 3¡¢Èçͼʾ£ºÈô±ÕºÏX1£¬
ÔòY3¡¢Y2¡¢Y1¡¢Y0ÖÐ Y3 ÁÁ¡£
END X1 MOV K8 K1Y0
4¡¢FX2NPLCÖ»ÓÐÁ½Ìõ²½½øÖ¸ÁËüÃÇÊÇ STL ¡¢ RET ¡£ 5¡¢¶¨Ê±Æ÷T1µÄÉ趨ֵÊÇK600£¬±íʾÑÓʱ 60 Ãë¡£
6¡¢Èçͼʾ£ºÈô±ÕºÏX1£¬ÔòY3¡¢Y2¡¢Y1¡¢Y0ÖÐ Y3 ¡¢ Y1ÁÁ¡£ X1
END MOV K10 K1Y0 7¡¢Èçͼʾ£ºÈôYO¡«Y3¾ù½ÓµÆÅÝ£¬Ôòµ±X10±ÕºÏʱ£¬ÔòY3¡¢Y2¡¢Y1¡¢Y0ÖÐ Y0 ÁÁ¡£ X10
END MOV K1 K1Y0
8¡¢PLCÔËÐÐʱ£¬Ó¦¸Ã½«Æä¿ª¹ØÖà RUN µµ£¨RUN¡¢STOP£©¡£
9¡¢¿É±à³ÌÐò¿ØÖÆÆ÷µÄ±à³ÌÓïÑÔ±ê×¼IEC1131-3±ê×¼Ïêϸ˵Ã÷Á˾䷨¡¢ÓïÒåºÍ5ÖÖ±à³ÌÓïÑԵıí´ï·½Ê½£¬Õâ5ÖÖ±à³ÌÓïÑÔ·Ö±ðΪ£º Ö¸Áî±íÓïÑÔ ¡¢ ÌÝÐÎͼÓïÑÔ ¡¢ ¹¦ÄÜ¿éͼÓïÑÔ ¡¢ ½á¹¹Îı¾ÓïÑÔ ¡¢ ˳Ðò¹¦ÄÜͼ£¨SFC£©ÓïÑÔ ¡£
¶þ¡¢¼ò´ðÌâ
1¡¢ËµÃ÷FX2N¡ª48MRÐͺŵĵÄÒâÒ壬²¢Ëµ³öËüµÄÊäÈëÊä³öµãÊý
´ð£ºËµÃ÷¸Ã²úƷΪÈýÁ⹫˾Éú²úµÄFX2NϵÁеĿɱà³Ì¿ØÖÆÆ÷£¬ÆäÖÐ48ΪÊäÈëÊä³ö×ܵãÊý£¬24¸öÊäÈëµã£¬24¸öÊä³öµã£¬M±íʾ»ù±¾µ¥Î»£¬R±íʾ¼ÌµçÆ÷Êä³öÐÍ
2¡¢PLCÓÉÄ¿·Ö×é³É£¿
´ð£º¿É±à³Ì¿ØÖÆÆ÷ÓÉÓ²¼þºÍÈí¼þÁ½²¿·Ö×é³É¡£
Ó²¼þ°üÀ¨ÖÐÑë´¦Àíµ¥Ôª¡¢´æ´¢Æ÷¡¢ÊäÈë/Êä³öµ¥Ôª¡¢±à³Ì×°ÖᢵçÔ´ÒÔ¼°ÆäËûÍⲿÉ豸¡£