»ùÓÚÏÖ´úÎïÁ÷×°ÖÃÍøÂç¿ØÖÆϵͳPLC×ÛºÏʵѵָµ¼Êé - ͼÎÄ

ͼ2-5Ñ¡ÔñCPU

6¡¢Íê³ÉµÚ5²½ºó£¬µã»÷¡°DP¡±µÄ¡°Parameters¡±Ñ¡Ïµ¥»÷ÆäÄڵġ°NEW¡±°´Å¥£¬Ñ¡Ôñ¡°PROFIBUS¡±ºóµã»÷¡°OK¡±Íê³ÉÍøÂçµÄÉèÖá£

7¡¢ÏÂÃæËùÒª½øÐеÄÓ²¼þÅäÖÃÊÇÔÚ¡°PROFIBUS¡±×ÜÏßÉϹÒËùÐèÒªµÄÄ£¿é¡£Ñ¡ÔñÓ²¼þÅäÖÃÓұߵġ°Standard¡±´°¿Úϵġ°CP343-1¡±£¬²¢ÅäÖúÃÆäIPµØÖ·£¬ÈçÏÂͼ2-6Ëùʾ£º

ͼ2-6ÔÚ¡°PROFIBUS¡±×ÜÏßÉÏÅäÖÃÄ£¿é¡°CP343-1¡±

8¡¢Ñ¡ÔñÓ²¼þÅäÖÃÓұߵġ°Standard¡±´°¿Úϵġ°PROFIBUSDP¡±£¬ÔÚÆäÏÂÃæµÄ¡°ET200M¡±ÏÂÑ¡Ôñ£º¡°IM153-1¡±²¢ÅäÖúÃÆäµØÖ·£¬ÈçÏÂͼ2-7Ëùʾ£º

9

ͼ2-7ÅäÖá°IM153-1¡±

9¡¢Ñ¡ÔñÓ²¼þÅäÖÃÓұߵġ°Standard¡±´°¿Úϵġ°PROFIBUSDP¡±£¬ÔÚÆäÏÂÃæµÄ¡°ET200S¡±ÏÂÑ¡Ôñ£º¡°IM151-1Standard¡±²¢ÅäÖúÃÆäµØÖ·£¬ÈçÏÂͼ2-8Ëùʾ£º

ͼ2-8ÅäÖá°IM151-1Standard¡±

10¡¢Ñ¡ÔñÓ²¼þÅäÖÃÓұߵġ°Standard¡±´°¿Úϵġ°PROFIBUSDP¡±£¬ÔÚÆäÏÂÃæµÄ¡°AdditionalFieldDevices¡±ÏÂÑ¡Ôñ£º¡°PLC¡±²¢ÅäÖúÃÆäµØÖ·£¬ÈçÏÂͼ2-9Ëùʾ

10

ͼ2-9ÅäÖÃEM277

11¡¢Ñ¡ÔñÓ²¼þÅäÖÃÓұߵġ°Standard¡±´°¿Úϵġ°PROFIBUSDP¡±£¬ÔÚÆäÏÂÃæµÄ¡°CompatiblePROFIBUSDPSlaves¡±ÏÂÑ¡Ôñ£º¡°SIMOVERT¡±²¢ÅäÖúÃÆäµØÖ·£¬ÈçÏÂͼ2-10Ëùʾ

ͼ2-10ÅäÖá°SIMOVERT¡±

12¡¢°´ÕÕÉÏÃæµÄ²½Ö裬ÖðÒ»°´ÕÕʵ¼ÊÓ²¼þÅÅ·Å˳ÐòÅäÖúÃËùÓеÄÄ£¿é£¬ÈçÏÂͼ2-11Ëù

11

ʾ¡£

ͼ2-11ÅäÖÃÍê±ÏµÄÓ²¼þ×é̬

13¡¢Ó²¼þÉèÖúú󣬿ÉÒÔ±àÒ룬±àÒëͨ¹ýºó£¬±£´æËùÅäÖõÄÓ²¼þ¡£µã»÷¡°¿ªÊ¼\\ÉèÖÃ\\¿ØÖÆÃæ°å¡±,Êó±ê×ó¼üË«»÷¿ØÖÆÃæ°åÖеġ°SetPG/PCInterface¡±Í¼±ê£¬Ñ¡ÔñºÃÄãµÄPC»úºÍCPUµÄͨѶ½Ó¿Ú²¿¼þºóµã»÷¡°OK¡±°´Å¥Í˳ö¡£

14¡¢°Ñ¿ØÖÆϵͳµÄµçÔ´´ò¿ª£¬°ÑCPUÖÃÓÚSTOP»òÕßRUN-P״̬£¬»Øµ½Ó²¼þÅäÖô°¿Ú£¬µã»÷ͼ±ê£¬ÏÂÔØÅäÖúõÄÓ²¼þµ½CPUÖУ¬°ÑCPUÖÃÓÚRUN״̬£¨Èç¹ûÏÂÔسÌÐòʱCPUÖÃÓÚRUN-P״̬£¬Ôò¿ÉÊ¡ÂÔÕâÒ»²½£©£¬Èç¹ûCPUµÄSFµÆ²»ÁÁ£¬ÁÁµÄÖ»ÓÐÂ̵ƣ¬±íÃ÷Ó²¼þÅäÖÃÕýÈ·¡£

15¡¢Èç¹ûCPUµÄSFµÆÁÁ£¬Ôò±íÃ÷ÅäÖóö´í£¬µã»÷Ó²¼þÅäÖô°¿ÚÖÐͼ±ê£¬ÔòÅäÖôíµÄÄ£¿é½«ÓкìÉ«±ê¼Ç£¬·´¸´Ð޸ijö´íÄ£¿é²ÎÊý£¬±£´æ²¢ÏÂÔص½CPU£¬Ö±µ½CPUµÄSFµÆ²»ÁÁ£¬ÁÁµÄÖ»ÓÐÂ̵ÆΪֹ¡£ £¨¶þ£©¡¢³ÌÐò½á¹¹

ÅäÖúÃÓ²¼þÖ®ºó£¬»Øµ½STEP7¹ÜÀíÆ÷½çÃæ´°¿Ú£¬Êó±ê×ó¼üµ¥»÷´°¿Ú×ó±ßµÄ¡°Block¡±Ñ¡ÏÔòÓұߴ°¿ÚÖлá³öÏÖ¡°OB1¡±Í¼±ê£¬¡°OB1¡±ÊÇϵͳµÄÖ÷³ÌÐòÑ­»·¿é£¬¡°OB1¡±ÀïÃæ¿ÉÒÔд³ÌÐò£¬Ò²¿ÉÒÔ²»Ð´³ÌÐò£¬¸ù¾ÝÐèҪȷ¶¨¡£STEP7ÖÐÓкܶ๦Äܸ÷ÒìµÄ¿é£¬·Ö±ðÃèÊöÈçÏ£º

1¡¢×éÖ¯¿é£¨OganizationBlock,¼ò³ÆOB£©¡£×éÖ¯¿éÊDzÙ×÷ϵͳºÍÓû§³ÌÐò¼äµÄ½Ó¿Ú£¬Ëü±»²Ù×÷ϵͳµ÷Óá£×éÖ¯¿é¿ØÖƳÌÐòÖ´ÐеÄÑ­»·ºÍÖжϡ¢PLCµÄÆô¶¯¡¢·¢ËÍ´íÎ󱨸æµÈ¡£Äã¿ÉÒÔͨ¹ýÔÚ×éÖ¯¿éÀï±à³ÌÀ´¿ØÖÆCPUµÄ¶¯×÷¡£

2¡¢¹¦Äܺ¯Êý¿é£¨FunctionBlock,¼ò³ÆFB£©¡£¹¦Äܺ¯Êý¿éΪSTEP7ϵͳº¯Êý£¬Ã¿Ò»¸ö¹¦Äܺ¯Êý¿éÍê³ÉÒ»ÖÖÌض¨µÄ¹¦ÄÜ£¬Äã¿ÉÒÔ¸ù¾Ýʵ¼ÊÐèÒªµ÷Óò»Í¬µÄ¹¦Äܺ¯Êý¿é¡£

3¡¢º¯Êý£¨Function,¼ò³ÆFC£©¡£º¯ÊýÊÇΪÁËÂú×ãÓû§Ò»ÖÖÌض¨µÄ¹¦ÄÜÐèÇó¶øÓÉÓû§×Ô¼º±àдµÄ×Ó³ÌÐò£¬º¯Êý±àдºÃÖ®ºó£¬Óû§¿É¶ÔËü½øÐе÷Óá£

4¡¢Êý¾Ý¿é£¨DataBlock,¼ò³ÆDB£©¡£Êý¾Ý¿éÊÇÓû§ÎªÁ˶ÔϵͳÊý¾Ý½øÐд洢¶ø¿ª±ÙµÄÊý¾Ý´æ´¢ÇøÓò¡£

12

ÁªÏµ¿Í·þ£º779662525#qq.com(#Ì滻Ϊ@)