µç¹¤Ñ§Ï°Íø

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

¹¤¿ØÉÏλ»úÈçºÎºÍÈýÁâPLCͨÐÅ

[¸´ÖÆÁ´½Ó]
Ìøתµ½Ö¸¶¨Â¥²ã
Â¥Ö÷
·¢±íÓÚ 2020-12-23 09:05:03 | Ö»¿´¸Ã×÷Õß | Ö»¿´´óͼ »ØÌû½±Àø | µ¹Ðòä¯ÀÀ | ÔĶÁģʽ
¹¤×÷ÖÐÓõıȽ϶àµÄÊÇÈýÁâµÄplcµÄ Fx5UºÍFx3U£¬ËüÃÇÓжàÖÖͨÐÅЭÒ飬ÎÒÃÇѧϰʱÏÈ´Ó1ÖÖÈëÊÖ£¬ÔÙÀ©Õ¹µ½ÆäËûµÄ¡£ÈýÁâµÄ˵Ã÷Ê鼸°ÙÒ³£¬ÎÒÃÇÒª°Ñ˵Ã÷Êé¶Á±¡£¬Ö»Ñ¡ÆäÖÐͨÐÅЭÒ鲿·Ö¿´¾ÍºÃÁË¡£¶øÉÏλ»úÒ»¿ªÊ¼Ö»ÐèÒªÁ˽â¶Áдһ¸ö×ÖÔª/λԪ¾Í¿ÉÒÔÁË¡£

ÈýÁâFX-3U ¼ÆËã»úרÓÃЭÒéͨÐÅ·½Ê½£¬ÆäͨѶÃüÁî×ÖºÍͨѶ¸ñʽ½éÉÜÈçÏ£º

ÃüÁî×Ö ×¢ÊÍ

BR ÒÔ1µãΪµ¥Î»£¬¶Á³öλԪ¼þµÄ״̬

WR ÒÔ16µãΪµ¥Î»£¬¶Á³öλԪ¼þµÄ״̬£¬»òÒÔ1×ÖΪµ¥Î»£¬¶Á³ö×ÖÔª¼þµÄÖµ

BW ÒÔ1µãΪµ¥Î»£¬Ð´ÈëλԪ¼þµÄ״̬

WW ÒÔ16µãΪµ¥Î»£¬Ð´ÈëλԪ¼þµÄ״̬£¬»òÒÔ1×ÖΪµ¥Î»£¬Ð´ÈëÖµµ½×ÖÔª¼þ

¹¤¿ØÉÏλ»úÈçºÎºÍÈýÁâPLCͨÐÅ
PC·¢Ë͸øPLCµÄͨÐÅÃüÁî¸ñʽ

Ô¼¶¨ËµÃ÷£ºENQΪÇëÇó±êÖ¾£¬ASCIIÖµ5

¡¡¡¡¡¡¡¡¡¡ACKΪÕýÈ·±êÖ¾£¬ASCIIÖµ6

¡¡¡¡¡¡¡¡¡¡STXΪÇëÇó±êÖ¾£¬ASCIIÖµ2

¡¡¡¡¡¡¡¡¡¡EXTΪÇëÇó±êÖ¾£¬ASCIIÖµ3

¡¡¡¡¡¡¡¡¡¡±í¸ñÖдÖÌå×ÖΪÐèÒªÇóºÍЧÑéµÄ²¿·Ö£»

¡¡¡¡¡¡¡¡¡¡ºÍЧÑéΪÿһÏîµÄASCIIÖµµÄ×ܺÍת»»³ÉÊ®Áù½øÖƺó£¬È¡ÆäµÍÁ½Î»£»

¡¡¡¡¡¡¡¡¡¡Õ¾ºÅ¡¢PLCºÅ¡¢Ôª¼þÊýÁ¿¡¢ºÍЧÑ鶼ÊÇÒÔÊ®Áù½øÖƱíʾ£»
µÈ´ýÑÓʱΪ0-150ºÁÃë,ÒÔÊ®Áù½øÖÆ0H-FH±íʾ£¬Èç100msΪAH

1) ÅúÁ¿¶Á³öλԪ¼þ¡ªBRÖ¸Áî¸ñʽ


ÀýÈ磺Ҫ¶Á³öÕ¾ºÅΪ5µÄPLCµÄX40µ½X44¹²5µãµÄ״ֵ̬£¬ÑÓʱ100ºÁÃ룬
¼ÙÉèPLCÖÐX40ÓëX43ΪOFF£¬ÆäÓàΪON£¬ÔòÖ¸ÁîÊý¾ÝÈçÏ£º

×¢ÊÍ£º ÇëÇó Õ¾ºÅ PLCºÅ ÃüÁî ÑÓʱ Ôª¼þÊ×µØÖ· Ôª¼þÊýÁ¿ ºÍУÑé
´úÂ룺 ENQ 0 5FF B R A X 0 0 4 0 0 5 4 7

ASCIIÂ룺 05H 30H 35H 46H 46H 42H 52H 41H 58 30H 30H 34H 30H 30H 35H 34H 37H

Ö»Òª½«ÒÔÉÏ´úÂëÒÔ×Ö·û´®ÐÎʽ´®¿Ú·¢Ë͵½PLC£¬¾Í»áÓÐÕýÈ·µÄ»ØÓ¦ÐÅÏ¢£¬ÈçÏ£º

×¢ÊÍ£º Í· Õ¾ºÅ PLCºÅ λԪ¼þ״ֵ̬ β ºÍУÑé
´úÂ룺 STX 0 5 F F 0 1 1 0 1 EXT E 7

ASCIIÂ룺 02H 30H 35H 46H 46H 30H 31H 31H 30H 31H 03H 45H 37H

2) ÅúÁ¿¶Á³ö×ÖÔª¼þ¡ªWRÖ¸Áî¸ñʽ

ÀýÈç ¶ÁÕ¾ºÅ0µÄPLCµÄD10µÄ×ÖÔªÖµ
×¢ÊÍ£º ÇëÇó Õ¾ºÅ PLCºÅ ÃüÁî ÑÓʱ Ôª¼þÊ×µØÖ· Ôª¼þÊýÁ¿ ºÍУÑé
´úÂ룺 ENQ 0 0FF W R 0 D 0 0 1 0 0 2 2 C
ASCIIÂ룺 05H 30H 30H 46H 46H 57H 52H 30H 44H 30H 30H 31H 30H 30H 32H 32H 43H


3) ÅúÁ¿Ð´ÈëλԪ¼þ¡ªBWÖ¸Áî¸ñʽ

...

4) ÅúÁ¿Ð´Èë×ÖÔª¼þ¡ªWWÖ¸Áî¸ñʽ

ÀýÈç дÈëÕ¾ºÅ0µÄPLCµÄD10µÄ×ÖÔªÖµ=11
×¢ÊÍ£º ÇëÇó Õ¾ºÅ PLCºÅ ÃüÁî ÑÓʱ Ôª¼þÊ×µØÖ· ÊýÁ¿ дÈëÖµ ºÍУÑé
´úÂ룺 ENQ 0 0FF WW 0 D 0 0 1 0 0 1 000B 02
ASCIIÂ룺 05H 30H 30H 46H 46H 57H 57H 30H 44H 30H 30H 31H 30H 30H 31H 30H 30H 30H 42H 30H 32H
5UÔòÊÇÓÃMELSECͨѶЭÒ飨¼ò³ÆMCЭÒ飩ͨÐÅ£¬

µ«MCЭÒéµÄͨѶ¸ñʽÓкܶàÖÖ£º3E¡¢3C¡¢4E£¬4CÖ¡¸ñʽ£¬ ¸öÈ˸оõ3C±È4CºÃÓã¬3CÊÇASCIIÎı¾¸ñʽ£¬3EÊǶþ½øÖƸñʽ¡£

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

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

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

GMT+8, 2024-8-16 12:18

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

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

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

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