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