Ö§³ÖÖÐÐÄ
USR-M100Á´½ÓmodbusRTUÉ豸Éϱ¨TCP·þÎñÆ÷ʾÀý
2024-05-14



USR-M100Á´½ÓmodbusRTUÉ豸Éϱ¨TCP·þÎñÆ÷ʾÀý


Ò»¡¢×ÊÁÏÏÂÔØ

1¡¢USR-M100˵Ã÷Êé¹ÙÍøÏÂÔØÁ´½Ó£º/Download/1202.html

2¡¢USR-M100¹æ¸ñÊéÁ´½Ó£º/Download/1203.html

3¡¢USR-M100 ÅäÖÃÈí¼þ£º/Download/1213.html

¶þ¡¢Ó²¼þÁ¬½Ó

1¡¢ËùÐèÎïÆ·

USR-M100 ²úÆ· 1̨

12VµçÔ´ÊÊÅäÆ÷ 1¸ö
ÍøÏß 1¸ù

4GÌìÏß 1¸ù

±Ê¼Ç±¾µçÄÔ 1̨

2¡¢Ó²¼þÁ¬½Ó

Èý¡¢²ÎÊýÉèÖÃ

1¡¢M100ÅäÖ÷½Ê½
£¨1£©M100Íø¿Úͨ¹ýÍøÏßÖ±Á¬µçÄÔÍø¿Ú£¬¸øM100ÓÃ12VµçÔ´ÊÊÅäÆ÷¹©µç¡£

£¨2£©µçÄԹرշÀ»ðǽºÍɱ¶¾Èí¼þ£º¿ØÖÆÃæ°å--ϵͳºÍ°²È«--Windows Defender ·À»ðǽ--¹Ø±Õ·À»ðǽ

(3)µçÄÔ¿ØÖÆ¿ØÖÆÃæ°å--ÍøÂçºÍ Internet--ÍøÂçÁ¬½Ó£¬IPÉèÖúÍM100IPͬÍø¶Î£¬M100ĬÈÏIPÊÇ192.168.0.7£¬Íø¹Ø192.168.0.1£¬½«µçÄÔ±¾µØÁ¬½ÓIPv4ÉèÖþ²Ì¬IP£¬192.168.0.201£¬×ÓÍøÑÚÂë255.255.255.0£¬Íø¹Ø192.168.0.1¡£
(4)ÏÂÔز¢´ò¿ªÏµÁÐÉèÖÃÈí¼þ£ºÓÃÅäÖÃÈí¼þËÑË÷M100É豸£¬µ¥»÷ËÑË÷£¬ËÑË÷µ½É豸ºóË«»÷IPµØÖ·¡£

(5)µÇ¼£ºÊäÈë¿Í‘ôÃûadminºÍÃÜÂëadmin£¬µã»÷µÇ¼£¬ÓÒ²àÏÔʾM100²ÎÊýÉèÖÃÒ³Ãæ¡£

M100Íø¿Ú¿ÉÒÔºÍPCÁ´½Óͬһ¸öÉϼ¶Â·ÓÉ£¬ÔÚͬÍø¶ÎʹÓÃMXXÈí¼þËÑË÷É豸(´Ë°¸ÀýM100ºÍPCÁ´½Óͬһ·ÓÉÆ÷²âÊÔ

2¡¢ÅäÖÃÁ´½Ó·þÎñÆ÷
±¾°¸Àý²âÊÔ·þÎñÆ÷ΪÎÒ˾ TCP·þÎñÆ÷²âÊÔ,¿Í‘ô²âÊÔʱÇëÔÚ¡°¶Ë¿Ú¡±>¡°´®¿Ú1¡± >¡° Socket¡±½çÃæÅäÖÃ×Ô¼ºTCP·þÎñÆ÷µÄ²ÎÊý¡£

±£´æ&Ó¦Óà > ¼ÌÐøÅäÖá£

3¡¢ÅäÖñßÔµ¼ÆËã²É¼¯Éϱ¨¹¦ÄÜ

ÔÚ¡°Íø¹Ø¡±-¡°±ßÔµ¼ÆË㡱½çÃæÖпªÆôÍø¹ØʹÄÜ£¬µã»÷¡°ÏÂÒ»²½¡±ÔÚ¡°Êý¾Ý²É¼¯½çÃ桱ÅäÖÃmodbusRTUµÄÊý¾Ýµã¡£

4¡¢Ìí¼ÓmodbusRTU´Ó»ú

É豸Ãû³Æ:´Ó»úÃû³Æ£¬¿É×Ô¶¨Ò壬²»¿ÉΪÖÐÎÄ£¬´Ó»úÃû²»¿ÉÖظ´¡£

Êý¾ÝÀ´Ô´£ºUART1¡£

µã»÷¡°±£´æ¡±¡£


ÅäÖôӻúµã루°¸ÀýÖÐʹÓÃmodbus SLAVEÈí¼þģʽ£©¸ù¾Ýʵ¼ÊµãλÌîд¹¦ÄÜÂë¡¢¼Ä´æÆ÷µØÖ·¡¢Êý¾Ý¸ñʽ


5¡¢ÅäÖÃÊý¾ÝÉϱ¨

ͨµÀÑ¡Ôñ¡°socket1¡±£»

Êý¾ÝÉϱ¨Ñ¡Ôñ¡°¿ªÆô¡±£¬Éϱ¨ÖÜÆÚ:5s(×Ô¶¨Òå)£»

Éϱ¨Ð­ÒéÅäÖãº
JsonÄ£°å˵Ã÷{"×Ô¶¨Òå˵Ã÷1":"ÒªÏÔʾµÄ¼Ä´æÆ÷Ãû³Æ1",...."×Ô¶¨Òå˵Ã÷N":"ÒªÏÔʾµÄ¼Ä´æÆ÷Ãû³ÆN"}

±£´æ²ÎÊý----É豸ÖØÆô


6¡¢Êý¾Ý²âÊÔ

È·±£½«M100Íø¿Ú½Óµ½¿ÉÒÔÁ¬½Ó·þÎñÆ÷µÄÍøÂç¡£

·þÎñÆ÷¿ÉÒÔ½ÓÊÕµ½É豸Éϱ¨µÄjsonÊý¾Ý¡£




±àдÈË£ºÁõçüΰ ±àдÈÕÆÚ£º2024-04-25

ÉóºËÈË£º½ðÖ¾·½ ÉóºËÈÕÆÚ£º2024-04-07

¶©Õý°æ±¾£ºV1.0 ¶©ÕýÄÚÈÝ£º³õ¸å                                                                        



¹Ø×¢galaxyÒøºÓ¹ú¼Ê΢ÐŹ«ÖÚºÅ
Á˽â¸ü¶àÐÅÏ¢

sitemap¡¢µØͼ