
?¡¢×ÊÁÏÏÂÔØ
1¡¢USR-M100˵Ã÷Ê飺/Download/1202.html
2¡¢ÉèÖÃÈí¼þ£º/Download/1213.html
?¡¢×¼±¸?×÷
1¡¢USR-M100²úÆ· ÊýÁ¿1¸ö
2¡¢µçÔ´ÊÊÅäÆ÷ 12V ÊýÁ¿1¸ö
3¡¢µçÄÔÊýÁ¿1̨|
4¡¢232»òÕß485תusbÏß ÊýÁ¿1Ìõ
5¡¢²âÊÔ?µÄmqtt·þÎñÆ÷£º
·þÎñÆ÷µØÖ·£ºmqtt.usr.cn
¶Ë?£º1883
?»§Ãû£ºusr.cn
ÃÜÂ룺usr.cn
¹Ë¿Í¶Ë ID£º?¶¨Òå £¨ÉèÖø´ÔÓÒ»µã£¬2¸ömqtt¹Ë¿Í¶ËµÄid²»ÒªÒ»Ñù£¬»á³åÍ»£©
Èý¡¢Á¬½Ó¿òͼ 485תusb£¨Modbus Slave£©-----USR-M100------MQTT ·þÎñÆ÷--------MQTT¹Ë¿Í¶Ë
˵Ã÷£º±¾°¸ÀýÖУ¬´®?É豸?µçÄԶ˵ÄModbus SlaveÈí¼þÄ£Äâ´®?´Ó»úÀ´²âÊÔ
ËÄ¡¢²âÊÔ»·½Ú
1¡¢USR-M100²úÆ·£¬485תUSBÏßµÄ485¿ÚºÍM100µÄ485½ÓÏßA-A,B-B£¬USB¶Ë²å?µçÄÔUSB?¡£M100 ??Ñ¡Ôñ?¸ö??ͨ¹ý?ÏßÁ¬½Ó¿ÉÒÔ·ÃÎÊ»¥Áª?µÄ·ÓÉÆ÷¡£¼ì²éËùÓÐÁ¬½Ó?Îóºó£¬¸øM100?12VµçÔ´ÊÊÅäÆ÷¹© µç¡£
2¡¢¼ì²éUSR-RS485´®?ÏßµÄCOM?ºÅ£¬µã»÷µçÄÔ¼ÆËã»ú£¬ÓÒ»÷?±ê£¬µã»÷É豸¾ÓªÆ÷£¬²é¿´¶Ë?£¬È·ÈÏ USB-RS485´®?ÏßµÄCOM?ºÅ£¬ÓÐ?²âÊÔµçÄÔÊÇcom23
3.?modbus savleÈí¼þ´ò¿ªcom23£¬¸ù¾ÝM100µÄ´®?²ÎÊýÄ£Äâ485É豸
4. µçÄÔºÍM100ÔÚͬ¾ÖÓò?ÄÚ£¬¿ÉÒÔ?ÉèÖÃÈí¼þËÑË÷µ½M100É豸¡£ÐÞ¸ÄM100µÄip¶¯Ì¬»ñȡ·ÓÉÆ÷·ÖÅäµÄ?Âç
5¡¢Ñ¡ÖÐÉ豸ip¡£?»§ÃûºÍÃÜÂ붼ÊÇadmin£¬¿ÉÒÔ½ø?ÄÚÖÃ??
6¡¢²¨ÌØÂʸijɺÍÒª½ÓµÄ´®?É豸?Ö¡£±£´æ¡ª¡ª¼ÌÐøÅäÖÃ
7¡¢mqtt¿ªÆô£¬ÅäÖÃÁ¬½Ómqtt·þÎñÆ÷µÄ²ÎÊý£¬±£´æ£¬¼ÌÐøÅäÖá£×¢Òâ´Ëʱ²»?ÅäÖö©Ôĺͷ¢²¼Ö÷Ì⣬ÐèÒª ÔÚ±ßÔµ²É¼¯Éϱ¨ÄÇÅäÖá£
8¡¢ÅäÖÿªÆô±ßÔµ²É¼¯?¹Ø£¬Êý¾Ý²É¼¯ÅäÖÃÌí¼Óµãλ¡£°ÑÒª²É¼¯µÄmodbus rtuÐÒéµÄ¼Ä´æÆ÷ºÍ´Ó»úµØÖ· Ìí¼ÓÉÏÈ¥¡££¨²âÊÔ¾ÙÀý²É¼¯µÄÉ豸´Ó»úµØÖ·1 ¹¦ÄÜÂë03 ²É¼¯40001-40004ÊǸö¼Ä´æÆ÷¡££©
ÅäÖÃÊý¾ÝÉϱ¨¡£Ìí¼ÓÉϱ¨Ö÷ÌâºÍ²éѯÖ÷Ì⣬Ö÷Ìâ¿ÉÒÔ×Ô¶¨Ò壬Ҳ¿ÉÒÔ±£³ÖĬÈÏ
ÅäÖÃÉϱ¨ Json Ä£°å£¬±¾ÀýÖÐÅäÖÃÄ£°å£º {"Current":"node0101","Voltage":"node0102"}
jsonÄ£°å¸ñʽÈçͼ£º
±£´æÖØÆôÉúЧ£º
ÅäÖÃmqtt¹Ë¿Í¶ËÈí¼þÁ¬½Ómqtt·þÎñÆ÷
ÅäÖö©Ôĺͷ¢²¼Ö÷Ì⣺
¿ÉÒÔ¿´µ½M100Éϱ¨µÄÊý¾Ý
²éѯ/ÉèÖ÷½Ê½£¬ÊÇjson¸ñʽ£¬Ò²¿ÉÒÔͨ¹ýmqttÈí¼þÈ¥ÒÔjosn¸ñʽÍùÏÂдָÁ
ʾÀý£º{"rw_prot": {"Ver": "1.0.1","dir": "down","id": "01","w_data": [{"name": "node0101","value": "112"}, {"name": "node0102","value": "23"}]}}
׫дÈË£ºÀî»ÛÓ±