
USR-M100Á´½ÓmodbusRTUÉ豸Éϱ¨MQTT·þÎñÆ÷ʾÀý
Ò»¡¢×ÊÁÏÏÂÔØ
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ÉèÖúÍM100 IPͬÍø¶Î£¬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¡¢ÅäÖÃÁ´½Ó·þÎñÆ÷
±¾°¸Àý²âÊÔ·þÎñÆ÷ΪÎÒ˾MQTT·þÎñÆ÷²âÊÔ,¿Í‘ô²âÊÔʱÇëÔÚ¡°Íø¹Ø¡±>¡°MQTTÍø¹Ø¡± ½çÃæÅäÖÃ×Ô¼ºMQTT·þÎñÆ÷µÄ²ÎÊý¡£
±£´æ&Ó¦Óà > ¼ÌÐøÅäÖá£
3¡¢ÅäÖñßÔµ¼ÆËã²É¼¯Éϱ¨¹¦ÄÜ
ÔÚ¡°Íø¹Ø¡±-¡°±ßÔµ¼ÆË㡱½çÃæÖпªÆôÍø¹ØʹÄÜ£¬µã»÷¡°ÏÂÒ»²½¡±ÔÚ¡°Êý¾Ý²É¼¯½çÃ桱ÅäÖÃmodbusRTUµÄÊý¾Ýµã¡£
4¡¢Ìí¼ÓmodbusRTU´Ó»ú
É豸Ãû³Æ:´Ó»úÃû³Æ£¬¿É×Ô¶¨Ò壬²»¿ÉΪÖÐÎÄ£¬´Ó»úÃû²»¿ÉÖظ´¡£
Êý¾ÝÀ´Ô´£ºUART1¡£
µã»÷¡°±£´æ¡±¡£
ÅäÖôӻúµã루°¸ÀýÖÐʹÓÃmodbus SLAVEÈí¼þģʽ£©¸ù¾Ýʵ¼ÊµãλÌîд¹¦ÄÜÂë¡¢¼Ä´æÆ÷µØÖ·¡¢Êý¾Ý¸ñʽ
5¡¢ÅäÖÃÊý¾ÝÉϱ¨
ͨµÀÑ¡Ôñ¡°MQTT¡±£»
Êý¾ÝÉϱ¨Ñ¡Ôñ¡°¿ªÆô¡±£¬Éϱ¨ÖÜÆÚ:5s(×Ô¶¨Òå)£»
Éϱ¨ÐÒéÅäÖãº
JsonÄ£°å˵Ã÷{"×Ô¶¨Òå˵Ã÷1":"ÒªÏÔʾµÄ¼Ä´æÆ÷Ãû³Æ1",...."×Ô¶¨Òå˵Ã÷N":"ÒªÏÔʾµÄ¼Ä´æÆ÷Ãû³ÆN"}
±£´æ²ÎÊý----É豸ÖØÆô
6¡¢MQTT.X¹Ë¿Í¶ËÈí¼þÅäÖÃ
7¡¢½«M100·¢²¼µÄÖ÷Ì⣬MQTT.XÈí¼þ½øÐж©ÔÄ
8¡¢Êý¾Ý²âÊÔ
±àдÈË£ºÁõçüΰ ±àдÈÕÆÚ£º2024-04-25
ÉóºËÈË£º½ðÖ¾·½ ÉóºËÈÕÆÚ£º2024-04-07
¶©Õý°æ±¾£ºV1.0 ¶©ÕýÄÚÈÝ£º³õ¸å