µç¹¤Ñ§Ï°Íø

ÕÒ»ØÃÜÂë
Á¢¼´×¢²á
²é¿´: 14843 | »Ø¸´: 0
´òÓ¡ ÉÏÒ»Ö÷Ìâ ÏÂÒ»Ö÷Ìâ

Î÷ÃÅ×ÓHMIºÍPLCÖÐÎÄ×Ö·û´®µÄÏÔʾÓëÊäÈë

[¸´ÖÆÁ´½Ó]
Ìøתµ½Ö¸¶¨Â¥²ã
Â¥Ö÷
×Ô¶¯»¯ÏîÄ¿ÖУ¬hmi²¿·Ö»á¾­³£Éæ¼°µ½Ê¹ÓÃ×Ö·û´®ÏÔʾººÓﲿ·Ö¡£±¾ÎÄÖ÷Òª½²ÊöÎ÷ÃÅ×Ó³£ÓõĴ¥ÃþÆÁºÍ¾­µäWinccÈçºÎÏÔʾººÓï×Ö·û¡£´¥ÃþÆÁºÍplcÄÜÕýÈ·ÏÔʾººÓïµÄÌõ¼þ:PLCºÍHMI¶¼±ØÐëÖ§³ÖͬһÖÖººÓï±àÂ뷽ʽ¡£
  • 1. Î÷ÃÅ×Ó²úÆ·µÄÁ½ÖÖººÓï±àÂ뷽ʽ
ÒªÁ˽⺺ÓïÏÔʾ£¬ÒªÁ˽⺺ÓïµÄ±àÂëģʽ¡£Î÷ÃÅ×ÓµÄPLCºÍHMIÖ÷ҪʹÓÃÁ½ÖÖ±àÂ뷽ʽ£ºGBK±àÂëºÍ16λUNICODE±àÂë¡£
Î÷ÃÅ×ÓHMIºÍPLCÖÐÎÄ×Ö·û´®µÄÏÔʾÓëÊäÈë
Fig1 ÖÐÎıàÂë¶ÔÕÕ±í
ͬһ¸öºº×Ö£¬²»Í¬µÄ±àÂ뷽ʽ£¬±äÁ¿µØÖ·Öд洢µÄÖµÊDz»Í¬µÄÈçÉÏͼFig1Ëùʾ¡£
ÖÐÎÄ£º¡°ÖС°×Ö
GBK±àÂ룺D6D0
16λUNICODE£º4E2D¡£
Î÷ÃÅ×ÓHMIºÍPLCÖÐÎÄ×Ö·û´®µÄÏÔʾÓëÊäÈë
Fig2 PLCÌí¼ÓÁ½ÖÖÀàÐ͵Ä×Ö·û´®
ÈçÉÏͼFig2Ëùʾ£¬ÔÚPLCÖж¨Òå¿ÉÒÔ´æ·Å×Ö·û´®µÄºº×Ö¡£ÔÚPLCÖУ¬GBK±àÂëÊǶ¨ÒåÔÚStringÀàÐÍÖУ¬½á¹¹Ó뺬ÒåÈçÏÂͼFig3Ëùʾ£¬ÀýÈçSmart200£¬S7-300/400(½öÖ§³ÖGBK±àÂë)ºÍS7-1200/1500£¨Ö§³ÖÁ½ÖÖ±àÂ룩µÈ¡£ÈÝÁ¿Îª30µÄString×Ö·û´®Õ¼µØÖ·32Byte,³ýÁËÊ××ֽں͵ڶþ×Ö½Ú·Ö±ðÊÇ×î´ó³¤¶ÈºÍÓÐÏÞ³¤¶È¡£Ò»¸öÖÐÎÄ×Ö·ûÕ¼ÓÃ2¸öByte£¬Ò»¸ö30¸ö×Ö½ÚµÄString×Ö·û´®£¬ÄÜд15¸öÖÐÎÄ×Ö¡£
Î÷ÃÅ×ÓHMIºÍPLCÖÐÎÄ×Ö·û´®µÄÏÔʾÓëÊäÈë
Fig3 StringÀàÐͱäÁ¿µÄ½á¹¹
Î÷ÃÅ×ÓHMIºÍPLCÖÐÎÄ×Ö·û´®µÄÏÔʾÓëÊäÈë
Fig4 StringÀàÐ͵Ä×Ö·û´®ÔÚ״̬±íÖмà¿Ø
ÈçÉÏͼFig4Ëùʾ£¬ÔÚPLCÖУ¬16λUNICODE±àÂëÊǶ¨ÒåÔÚWStringÀàÐÍÖУ¬½á¹¹Ó뺬ÒåÈçÏÂͼFig5Ëùʾ,ÀýÈçS7-1200,S7-1500µÄPLC¡£ÈÝÁ¿Îª30µÄWString×Ö·û´®Õ¼µØÖ·64Byte,Ê××ÖΪ×î´ó³¤¶È£¬µÚ¶þ¸ö×ÖÓÐЧ³¤¶È¡£Ò»¸öÖÐÎÄ×Ö·ûÕ¼ÓÃ2¸öByte£¬ÄÜд30¸ö×Ö¡£
Î÷ÃÅ×ÓHMIºÍPLCÖÐÎÄ×Ö·û´®µÄÏÔʾÓëÊäÈë
Fig5 WStringÀàÐ͵Ä×Ö·û´®µÄ½á¹¹
Î÷ÃÅ×ÓHMIºÍPLCÖÐÎÄ×Ö·û´®µÄÏÔʾÓëÊäÈë
Fig6 WStringÀàÐ͵Ä×Ö·û´®ÔÚ״̬±íÖмà¿Ø

  • 2. ÖÐÎÄÏÔʾ_Î÷ÃÅ×ÓÖ÷ÒªHMIºÍPLCÖ§³ÖµÄººÓï±àÂëÁбí
Î÷ÃÅ×ÓHMIºÍPLCÖÐÎÄ×Ö·û´®µÄÏÔʾÓëÊäÈë
±í¸ñ˵Ã÷£º
1. ºìÉ«±íʾÉ豸²»Ö§³ÖÕâÖÖ±àÂ뷽ʽ
2. ÂÌÉ«±íʾÉ豸֧³ÖÕâÖÖ±àÂ뷽ʽ
3. ¡°ÏÔʾ¡°±íʾPLC´«µÝÖÐÎÄ×Ö·û´®µ½´¥ÃþÆÁ£¬¿ÉÒÔÔÚIOÓòÖнøÐÐÏÔʾ
4. ¿Õ°×±íʾ¡°ÏÔʾ¡°±íʾPLC´«µÝÖÐÎÄ×Ö·û´®µ½´¥ÃþÆÁ£¬ÔÚIOÓòÖв»ÄÜÕý³£ÏÔʾ
5. BasicºÍComfort´¥ÃþÆÁ±ØÐëÊÇTIA V14ÒÔÉÏ°æ±¾£¬ÔÚProaveÖа²×°ÖÐÎÄ×ÖÌåÑ¡¼þ£¬Ö§³Ö16λUnicoder×Ö·û£¬²»È»»áȱ×Ö,ÈçÏÂͼËùʾ¡£
6. Comfort´¥ÃþÆÁÏÔʾStringÀàÐ͵ģ¨GBK±àÂ룩ÖÐÎÄ×Ö·û´®µÄʱºòÐèÒªÐÞ¸ÄÇøÓò£ºChinese(PRC)£¬ÈçÏÂͼÉèÖá£
Î÷ÃÅ×ÓHMIºÍPLCÖÐÎÄ×Ö·û´®µÄÏÔʾÓëÊäÈë
Î÷ÃÅ×ÓHMIºÍPLCÖÐÎÄ×Ö·û´®µÄÏÔʾÓëÊäÈë


ÈçÉϱ߱í¸ñËùʾ£¬Ö»ÓÐPLCºÍHMIÖ§³ÖͬһÖÖ±àÂ뷽ʽµÄʱºò£¬PLC´«µÝµÄÖÐÎÄ×Ö·ûµÄ×Ö·û´®¿ÉÒÔÏÔʾ¡£
ʹÓù¤¿ö¾ÙÀý£º
Ò».S7-300/400 ºÍSmart200 PLC½öÖ§³ÖGBK±àÂë(StringÀàÐÍ×Ö·û´®)£¬´«µÝµÄ×Ö·û´®Ö»ÄÜÔÚͬÑùÖ§³ÖGBK±àÂëµÄComfortÆÁ(ÐèÒªChinese(PRC)ÇøÓò)ºÍ¾­µäWinccÉÏÏÔʾ£¬ÔÚ¾«¼òÆÁºÍSmartÆÁÉÏÎÞ·¨ÏÔʾ¡£
Î÷ÃÅ×ÓHMIºÍPLCÖÐÎÄ×Ö·û´®µÄÏÔʾÓëÊäÈë
Fig7 S7-300ÖÐStingÀàÐ͵ÄGBK±àÂëÖÐÎÄ×Ö·ûÔÚBasicÆÁÏÔʾ״̬
Î÷ÃÅ×ÓHMIºÍPLCÖÐÎÄ×Ö·û´®µÄÏÔʾÓëÊäÈë
Fig8 S7-300ÖÐStingÀàÐ͵ÄGBK±àÂëÖÐÎÄ×Ö·ûÔÚComfortÆÁÏÔʾ״̬

˵Ã÷£º¾­µäStep7ÖеÄS7-300/400µÄPLCµÄ״̬±í²»Äܼà¿Ø×Ö·û´®£¬µ«ÊǼà¿ØByteÄÜ¿´µ½ÖÐÎÄ×Ö·û´®×ª»»µÄGBK±àÂë¡£TIA Step7µÄ״̬±íÄܼà¿ØÖÐÎÄ×Ö·û´®¡£
¶þ.S7-1200,1500½¨Á¢WStringÀàÐ͵Ä×Ö·û´®£¬¾ÍÊÇ16λUNICODEµÄ±àÂ룬¿ÉÒÔÔÚBasic£¬Comfort£¨Á½ÖÖÆÁÐèÒª°²×°×ÖÌå¿â£©ºÍ¾­µäwinccÉÏÏÔʾ¡£StringÀàÐ͵Ä×Ö·û´®£¬¾ÍÊÇGBK±àÂ룬¿ÉÒÔÔÚComfortÆÁ£¨ÐèÒªChinese(PRC)ÇøÓò£©ºÍ¾­µäWinccÉϽøÐÐÏÔʾ¡£
Î÷ÃÅ×ÓHMIºÍPLCÖÐÎÄ×Ö·û´®µÄÏÔʾÓëÊäÈë
Fig9 S7-1200Á½ÖÖÖÐÎÄ×Ö·û·Ö±ðÔÚBasicºÍComfortÆÁÏÔʾ״̬

3. ÖÐÎÄÊäÈë_ÄÇЩÉèÖÃÖ§³ÖººÓïÊäÈë

´¥ÃþÆÁ²»ÄÜ°²×°ÊäÈë·¨£¬ËùÒÔ²»ÄÜÊäÈëÖÐÎÄ×Ö·û¡£µ«ÊÇÉÏλ»úÉϵľ­µäWinccÊÇ¿ÉÒÔ°²×°ÖÐÎÄÊäÈë·¨£¬²¢ÇÒÊäÈëÖÐÎÄ×Ö·ûµÄ£¬ÈçͼFig10Ëùʾ¡£
Î÷ÃÅ×ÓHMIºÍPLCÖÐÎÄ×Ö·û´®µÄÏÔʾÓëÊäÈë
Fig10 ¾­µäWincc7.3ÖÐÊäÈëÖÐÎÄ×Ö·û
¾­µäWinccÖÐÊý¾ÝÀàÐÍ£¬Îı¾±äÁ¿8λ×Ö·û´®¶ÔÓ¦PLCÖеÄStringÀàÐÍ£¬¼´GBK±àÂë¡£Îı¾±äÁ¿16λ×Ö·û´®¶ÔÓ¦PLCÖеÄWStringÀàÐÍ£¬¼´16λUnicode±àÂë¡£ÔÚPLCÖн¨ºÃ×Ö·û´®ÀàÐ͵ıäÁ¿ºó£¬WinccÖÐ×é̬¹ý³Ì²Î¿¼£¬Fig11ºÍFig12¡£
Î÷ÃÅ×ÓHMIºÍPLCÖÐÎÄ×Ö·û´®µÄÏÔʾÓëÊäÈë
Fig11 ¾­µäWincc7.3ÖÐÎÄ×Ö·û±äÁ¿×é̬
Î÷ÃÅ×ÓHMIºÍPLCÖÐÎÄ×Ö·û´®µÄÏÔʾÓëÊäÈë

Fig12 ¾­µäWincc7.3 IOÓòÏÔʾÖÐÎÄ×Ö·û´®×é̬

  • 4.×ܽá
Î÷ÃÅ×ÓÖÐÖ÷Òª´¥ÃþÆÁºÍPLCµÄÖÐÎÄ×Ö·û´®µÄ´«µÝ¹ØϵÈçÏÂͼFig13Ëùʾ¡£
Î÷ÃÅ×ÓHMIºÍPLCÖÐÎÄ×Ö·û´®µÄÏÔʾÓëÊäÈë
Fig13 ÖÐÎÄ×Ö·û¹ØϵÏÔʾͼ
À´Ô´£ºÎ÷ÃÅ×Ó¹¤Òµ¼¼ÊõÂÛ̳

ÄúÐèÒªµÇ¼ºó²Å¿ÉÒÔ»ØÌû µÇ¼| Á¢¼´×¢²á

±¾°æ»ý·Ö¹æÔò

µç¹¤Ñ§Ï°Íø()

GMT+8, 2024-8-16 11:52

Powered by © 2011-2022www.shop-samurai.com°æȨËùÓÐÃâÔðÉùÃ÷²»Á¼ÐÅÏ¢¾Ù±¨

¼¼ÊõÇý¶¯Î´À´!µç¹¤Ñ§Ï°Íø¡ª×¨Òµµç¹¤»ù´¡ÖªÊ¶¡¢µç¹¤¼¼ÊõѧϰÍøÕ¾¡£

À¸Ä¿µ¼º½£º¹¤¿Ø¼ÒÔ°|ÈýÁâplc|Î÷ÃÅ×Óplc|Å·Ä·Áúplc|plcÊÓƵ½Ì³Ì

¿ìËٻظ´ ·µ»Ø¶¥²¿ ·µ»ØÁбí