Î÷ÃÅ×ÓS7-300 PLCµÄPIDҺλ¿ØÖÆ
·¢²¼Ê±¼ä£º2012-11-29 10:01|À´Ô´£º1xBET¡¤SignupPLC½âÃÜÍø|µã»÷£º
Ò»¡¢Ó²¼þÑ¡ÐÍ
1¡¢PLC¼°ÆäÄ£¿éÑ¡ÐÍ¡£PLC¿ÉÑ¡ÓÃS7-300(CPU 314 IFM) £¬ 314IFM×ÔÉí´øÓÐ4·ģÄâÁ¿ÊäÈëºÍ2·ģÄâÁ¿Êä³ö¡£
2¡¢±äƵÆ÷Ñ¡ÐÍ¡£ÎªÁËÄܵ÷½ÚË®±Ãµç»úתËÙ´Ó¶øµ÷½Ú½øË®Á¿£¬ÌØÑ¡ÔñÎ÷ÃÅ×ÓG110µÄ±äƵÆ÷¡£
¶þ¡¢¿ØÖÆÒªÇó
ÓÐһˮÏä¿ÉÏòÍⲿÓû§¹©Ë®£¬Óû§ÓÃË®Á¿²»Îȶ¨£¬ÓÐʱ´óÓÐʱÉÙ¡£Ë®Ïä½øË®¿ÉÓÉË®±Ã±ÃÈ룬ÏÖÐè¶ÔË®ÏäÖÐˮλ½øÐкãҺλ¿ØÖÆ£¬²¢¿ÉÔÚ0¡«200mm£¨×î´óÖµÊý¾Ý¿É¸ù¾ÝË®Ïä¸ß¶ÈÈ·¶¨£©·¶Î§ÄÚ½øÐе÷½Ú¡£ÈçÉ趨ˮÏäˮλֵΪ100mmʱ£¬Ôò²»¹ÜË®ÏäµÄ³öË®Á¿ÈçºÎ£¬µ÷½Ú½øË®Á¿£¬¶¼ÒªÇóË®ÏäˮλÄܱ£³ÖÔÚ100mmλÖã¬Èç³öË®Á¿ÉÙ£¬ÔòÒª¿ØÖƽøË®Á¿Ò²ÉÙ£¬Èç³öË®Á¿´ó£¬ÔòÒª¿ØÖƽøË®Á¿Ò²´ó¡£
Èý¡¢¿ØÖÆ˼·
ÒòΪҺλ¸ß¶ÈÓëË®Ïäµ×²¿µÄˮѹ³ÉÕý±È£¬¹Ê¿ÉÓÃÒ»¸öѹÁ¦´«¸ÐÆ÷À´¼ì²âË®Ïäµ×²¿Ñ¹Á¦£¬´Ó¶øÈ·¶¨ÒºÎ»¸ß¶È¡£Òª¿ØÖÆˮλºã¶¨£¬ÐèÓÃPIDËã·¨¶Ôˮλ½øÐÐ×Ô¶¯µ÷½Ú¡£°ÑѹÁ¦´«¸ÐÆ÷¼ì²âµ½µÄˮλÐźÅ4¡«20mAËÍÈëÖÁS7-300 PLCÖУ¬ÔÚPLCÖжÔÉ趨ֵÓë¼ì²âÖµµÄÆ«²î½øÐÐPIDÔËË㣬ÔËËã½á¹ûÊä³öÈ¥µ÷½ÚË®±Ãµç»úµÄתËÙ£¬´Ó¶øµ÷½Ú½øË®Á¿¡£Ë®±Ãµç»úµÄתËÙ¿ÉÓɱäƵÆ÷À´½øÐе÷ËÙ¡£
ËÄ¡¢µç·Á¬½Ó
1¡¢Ö÷µç·½ÓÏßͼ
2¡¢PLCÊäÈëÊä³öÐźŽÓÏßͼ
Îå¡¢³ÌÐò
Óõ½µÄFCÓëFB1¡¢FC105
SCALE¹¦ÄܽÓÊÜÒ»¸öÕûÐÍÖµ(IN)£¬²¢½«Æäת»»ÎªÒÔ¹¤³Ìµ¥Î»±íʾµÄ½éÓÚÏÂÏÞºÍÉÏÏÞ(LO_LIMºÍHI_LIM)Ö®¼äµÄʵÐÍÖµ¡£½«½á¹ûдÈëOUT¡£
FC105µÄÊýÖµ»»Ë㹫ʽΪ£º
OUT=((FLOAT )IN -K1)/(K2-K1)*(HI_LIM-LO_LIM )+LO_LIM
¶ÔË«¼«ÐÔ£¬ÊäÈëÖµ·¶Î§Îª-27648µ½27648£¬¶ÔÓ¦K1 =-27648£¬K2 =+27648£¬
¶Ôµ¥¼«ÐÔ£¬ÊäÈëÖµ·¶Î§Îª0µ½27648£¬¶ÔÓ¦K1 =0£¬K2 =+27648,Èç¹ûÊäÈëÕûÐÍÖµ´óÓÚK2£¬Êä³ö(OUT)½«Ç¯Î»ÓÚHI_LIM£¬²¢·µ»ØÒ»¸ö´íÎó¡£Èç¹ûÊäÈëÕûÐÍֵСÓÚK1£¬Êä³ö½«Ç¯Î»ÓÚLO_LIM£¬²¢·µ»ØÒ»¸ö´íÎó¡£
ͨ¹ýÉèÖÃLO_LIM > HI_LIM¿É»ñµÃ·´Ïò±ê¶¨¡£Ê¹Ó÷´Ïòת»»Ê±£¬Êä³öÖµ½«ËæÊäÈëÖµµÄÔö¼Ó¶ø¼õС¡£
2¡¢FC106
UNSCALE¹¦ÄܽÓÊÕÒ»¸öÒÔ¹¤³Ìµ¥Î»±íʾ¡¢Çұ궨ÓÚÏÂÏÞºÍÉÏÏÞ(LO_LIMºÍHI_LIM)Ö®¼äµÄʵÐÍÊäÈëÖµ(IN)£¬²¢½«Æäת»»ÎªÒ»¸öÕûÐÍÖµ¡£½«½á¹ûдÈëOUT¡£
UNSCALE¹¦ÄÜʹÓÃÒÔϵÈʽ£º
OUT = [ ((IN-O_LIM)/(HI_LIM-O_LIM)) * (K2-1) ] + K1£¬²¢¸ù¾ÝÊäÈëÖµÊÇBIPOLAR»¹ÊÇUNIPOLARÉèÖó£ÊýK1ºÍK2¡£
BIPOLAR£º¼Ù¶¨Êä³öÕûÐÍÖµ½éÓÚ7648ºÍ27648Ö®¼ä£¬Òò´Ë£¬K1 = -7648.0£¬K2 = +27648.0
UNIPOLAR£º¼Ù¶¨Êä³öÕûÐÍÖµ½éÓÚ0ºÍ27648Ö®¼ä£¬Òò´Ë£¬K1 = 0.0£¬K2 = +27648.0
Èç¹ûÊäÈëÖµ³¬³öLO_LIMºÍHI_LIM·¶Î§£¬Êä³ö(OUT)½«Ç¯Î»ÓÚ¾àÆäÀàÐÍ(BIPOLAR»òUNIPOLAR)µÄÖ¸¶¨·¶Î§µÄÏÂÏÞ»òÉÏÏ޽ϽüµÄÒ»·½£¬²¢·µ»ØÒ»¸ö´íÎó¡£
3¡¢FB41
Áù¡¢PLC±à³Ì1¡¢I/O·ÖÅä
2¡¢PLC³ÌÐò
- ÉÏһƪ£ºÊµÀý½²½âÎ÷ÃÅ×ÓS7-300 PLC¹¦ÄÜ¿éFB
- ÏÂһƪ£ºÃ»ÓÐÁË
¿´¹ý¡°Î÷ÃÅ×ÓS7-300 PLCµÄPIDҺλ¿ØÖÆ¡±µÄ»¹¹Ø×¢£º
- ʵÀý½²½âÎ÷ÃÅ×ÓS7-300 PLC¹¦ÄÜ¿éFB
- Î÷ÃÅ×ÓS7-300 PLC´ø²ÎÊýFC×é̬Óë±à³Ì(Àý)
- Î÷ÃÅ×ÓS7-300 PLCÎÞ²ÎÊýFC×é̬Óë±à³Ì
- Î÷ÃÅ×ÓPLC PROFIBUS-DP×é̬Ö÷Õ¾½¨Á¢
- Î÷ÃÅ×ÓPLC PROFIBUS-DP×é̬´ÓÕ¾½¨Á¢Í¨Ñ¶½Ó¿Ú
- Î÷ÃÅ×ÓS7-200 PLC¶ÔÇиîÉ豸µÄ¿ØÖÆ
- Î÷ÃÅ×ÓS7-200 PLC¶ÔÎïÁϳÆÖØ×°ÖÿØÖÆ
- Î÷ÃÅ×ÓS7-200 PLCÈçºÎͨ¹ý×ÔÓÉ¿ÚͨÐÅ¿ØÖƱäƵ
- Î÷ÃÅ×ÓS7-200 PLCÎı¾ÏÔʾÆ÷TD400¼à¿ØMM440±ä