ͼ5-4 PLCÊäÈë²å×ù ͼ5-5 ¿ª¹ØÁ¿Êä³ö
ͼ5-4ÖУ¬½ÓÏß¿×ͨ¹ýµ¼ÏßÓëPLCµÄÖ÷»úÏàÓ¦µÄÊäÈë²å¿×Ö±½ÓÏà½Ó¡£ ͼ5-5ÖУ¬½ÓÏß¿×ͨ¹ýµ¼ÏßÓëͼ5-3ÖеĿª¹ØÖ±½ÓÏà½Ó¡£
Á·Ï°Ò» Óë»ò·ÇÂß¼¹¦ÄÜʵÑé
ÔÚPLCÖ÷»úʵÑéÏäÖÐÍê³É±¾ÊµÑé¡£
Ò»¡¢ÊµÑéÄ¿µÄ
1£®ÊìϤPLC×°ÖÃ
2£®ÊìϤPLC¼°ÊµÑéϵͳµÄ²Ù×÷ 3£®ÕÆÎÕÓë¡¢»ò¡¢·ÇÂß¼¹¦Äܵıà³Ì·½·¨
¶þ¡¢ÊµÑéÔÀí
µ÷ÓÃPLC»ù±¾Ö¸Á¿ÉÒÔʵÏÖ¡°Ó롱¡°»ò¡±¡°·Ç¡±Âß¼¹¦ÄÜ
Èý¡¢ÊäÈë/Êä³ö½ÓÏßÁбí ÊäÈë ½ÓÏß X10 X10 X11 X11 Êä³ö ½ÓÏß
Y1 Y01 Y2 Y02 Y3 Y03 Y4 Y04 ËÄ¡¢ÊµÑé²½Öè
ͨ¹ýרÓõçÀÂÁ¬½ÓPCÓëPLCÖ÷»ú¡£´ò¿ª±à³ÌÈí¼þ£¬ÖðÌõÊäÈë³ÌÐò£¬¼ì²éÎÞÎó²¢°ÑÆäÏÂÔØ
16
µ½PLCÖ÷»úºó£¬½«Ö÷»úÉϵÄSTOP/RUN°´Å¥²¦µ½RUNλÖã¬ÔËÐÐָʾµÆµãÁÁ£¬±íÃ÷³ÌÐò¿ªÊ¼ÔËÐУ¬ÓйصÄָʾµÆ½«ÏÔʾÔËÐнá¹û¡£
²¦¶¯ÊäÈ뿪¹ØX10¡¢X11£¬¹Û²ìÊä³öָʾµÆY1¡¢Y2¡¢Y3¡¢Y4ÊÇ·ñ·ûºÏÓë¡¢»ò¡¢·ÇÂß¼µÄÕýÈ·½á¹û¡£
Îå¡¢ÌÝÐÎͼ²Î¿¼³ÌÐò
ͼ5-6 Óë»ò·ÇÂß¼¹¦ÄÜ
Á·Ï°¶þ ¶¨Ê±Æ÷/¼ÆÊýÆ÷¹¦ÄÜʵÑé
ÔÚPLCÖ÷»úʵÑéÏäÖÐÍê³É±¾ÊµÑé¡£
1.¶¨Ê±Æ÷µÄÈÏʶʵÑé £¨1£©ÊµÑéÄ¿µÄ
ÈÏʶ¶¨Ê±Æ÷£¬ÕÆÎÕÕë¶Ô¶¨Ê±Æ÷µÄÕýÈ·±à³Ì·½·¨
£¨2£©ÊµÑéÔÀí
¶¨Ê±Æ÷µÄ¿ØÖÆÂß¼ÊǾ¹ýʱ¼ä¼ÌµçÆ÷µÄÑÓʱ¶¯×÷£¬È»ºó²úÉú¿ØÖÆ×÷Óá£Æä¿ØÖÆ×÷ÓÃͬһ°ã¼ÌµçÆ÷¡£
£¨3£©ÌÝÐÎͼ²Î¿¼³ÌÐò
ͼ5-7 ¶¨Ê±Æ÷¹¦ÄÜ
17
2£®¶¨Ê±Æ÷À©Õ¹ÊµÑé £¨1£©ÊµÑéÄ¿µÄ
ÕÆÎÕ¶¨Ê±Æ÷µÄÀ©Õ¹¼°Æä±à³Ì·½·¨
£¨2£©ÊµÑéÔÀí
ÓÉÓÚPLCµÄ¶¨Ê±Æ÷¶¼ÓÐÒ»¶¨µÄ¶¨Ê±·¶Î§Î§¡£Èç¹ûÐèÒªµÄÉ趨ֵ³¬¹ý»úÆ÷·¶Î§£¬ÎÒÃÇ¿ÉÒÔͨ¹ý¼¸¸ö¶¨Ê±Æ÷µÄ´®Áª×éºÏÀ´À©³äÉ趨ֵµÄ·¶Î§¡£
£¨3£©ÌÝÐÎͼ²Î¿¼³ÌÐò
ͼ5-8 ¶¨Ê±Æ÷À©Õ¹
3£®¼ÆÊýÆ÷ÈÏʶʵÑé £¨1£©ÊµÑéÄ¿µÄ
ÈÏʶ¼ÆÊýÆ÷£¬ÕÆÎÕÕë¶Ô¼ÆÊýÆ÷µÄÕýÈ·±à³Ì·½·¨
£¨2£©ÊµÑéÔÀí
ÈýÁâFXOSϵÁеÄÄÚ²¿¼ÆÊýÆ÷·ÖΪ16λ¶þ½øÖƼӷ¨¼ÆÊýÆ÷ºÍ32λÔö¼ÆÊý£¯¼õ¼ÆÊýÆ÷Á½ÖÖ¡£ÆäÖеÄ16λ¶þ½øÖƼӷ¨¼ÆÊýÆ÷£¬ÆäÉ趨ֵÔÚK1¡«K32767·¶Î§ÄÚÓÐЧ¡£
ÕâÊÇÒ»¸öÓɶ¨Ê±Æ÷T0ºÍ¼ÆÊýÆ÷C0×é³ÉµÄ×éºÏµç·¡£T0ÐγÉÒ»¸öÉ趨ֵΪ1ÃëµÄ×Ô¸´Î»¶¨Ê±Æ÷£¬µ±X10½Óͨ£¬T0ÏßȦµÃµç£¬¾ÑÓʱ1Ã룬T0µÄ³£±Õ½Óµã¶Ï¿ª£¬T0¶¨Ê±Æ÷¶Ï¿ª¸´Î»£¬´ýÏÂÒ»´ÎɨÃèʱ£¬T0µÄ³£±Õ½Óµã²Å±ÕºÏ£¬T0ÏßȦÓÖÖØеõ硣¼´T0½Óµãÿ½Óͨһ´Î£¬Ã¿´Î½Óͨʱ¼äΪһ¸öɨÃèÖÜÆÚ¡£¼ÆÊýÆ÷¶ÔÕâ¸öÂö³åÐźŽøÐмÆÊý£¬¼ÆÊýµ½10´Î£¬C0³£¿ª½Óµã±ÕºÏ£¬Ê¹Y0ÏßȦ½Óͨ¡£´ÓX10½Óͨµ½Y0ÓÐÊä³ö£¬ÑÓʱʱ¼äΪ¶¨Ê±Æ÷ºÍ¼ÆÊýÆ÷É趨ֵµÄ³Ë»ý£ºT×Ü=T0¡ÁC0=1¡Á10=10S¡£
£¨3£©ÌÝÐÎͼ²Î¿¼³ÌÐò
ͼ5-9 ¼ÆÊýÆ÷¹¦ÄÜ
18
4£®¼ÆÊýÆ÷µÄÀ©Õ¹ÊµÑé £¨1£© ʵÑéÄ¿µÄ
ÕÆÎÕ¼ÆÊýÆ÷µÄÀ©Õ¹¼°Æä±à³Ì·½·¨
£¨2£© ʵÑéÔÀí
ÓÉÓÚPLCµÄ¼ÆÊýÆ÷¶¼ÓÐÒ»¶¨µÄ¶¨Ê±·¶Î§¡£Èç¹ûÐèÒªµÄÉ趨ֵ³¬¹ý»úÆ÷·¶Î§£¬ÎÒÃÇ¿ÉÒÔͨ¹ý¼¸¸ö¼ÆÊýÆ÷µÄ´®Áª×éºÏÀ´À©³äÉ趨ֵµÄ·¶Î§¡£
´ËʵÑéÖУ¬×ܵļÆÊýÖµC×Ü=C0¡ÁC1=20¡Á3¡Á1=60S
£¨3£© ÌÝÐÎͼ²Î¿¼³ÌÐò
ͼ5-10 ¼ÆÊýÆ÷À©Õ¹
19