
USR-M100 µØÖ·Ó³ÉäʾÀý
Ò»¡¢×ÊÁÏÏÂÔØ
USR-M100 ˵Ã÷Êé¹ÙÍøÏÂÔØÁ´½Ó£º/Download/1202.html
USR-M100 ¹æ¸ñÊé¹ÙÍøÏÂÔØÁ´½Ó£º/Download/1203.html
USR-M100 ÉèÖÃÈí¼þ¹ÙÍøÏÂÔØÁ´½Ó£º/Download/1213.html
USR-M100 µ÷ÊÔÖúÊÖÈí¼þ¹ÙÍøÏÂÔØÁ´½Ó£º/Download/27.html
¶þ¡¢Ó²¼þÁ¬½Ó
1¡¢ËùÐèÎïÆ·
USR-M100 ²úÆ· 1̨
12VµçÔ´ÊÊÅäÆ÷ 1¸ö
³¬ÎåÀàÍøÏß 1¸ù
±Ê¼Ç±¾µçÄÔ 1̨
ÎÂʪ¶È´«¸ÐÆ÷2̨
2¡¢Ó²¼þÁ¬½Ó
USR-M100µÄÍø¿ÚÁ¬½Óµ½µçÄÔÉÏ£¬È»ºó²úÆ·½Ó12VµçÔ´ÊÊÅäÆ÷Éϵ磬´®¿Ú1ºÍ´®¿Ú2·Ö±ð½Ó´«¸ÐÆ÷1ºÍ´«¸ÐÆ÷2£¬½ÓÏßÈçÏÂͼËùʾ£º
Èý¡¢²úÆ·²ÎÊýÉèÖÃ
1¡¢USR-M100²ÎÊýÉèÖÃ
µçÄÔ´ò¿ªUSR-M100µÄÉèÖÃÈí¼þ£¬µã»÷¡°ËÑË÷¡±°´Å¥£¬ËÑË÷µ½É豸֮ºó£¬Ë«»÷½øÈëÉèÖÃÒ³Ã棨Óû§ÃûÃÜÂëĬÈÏadmin£©
Íø¹Ø--±ßÔµ¼ÆËãÍø¹Ø£¬Íø¹ØʹÄÜÑ¡Ôñ¡°¿ªÆô¡±£¬È»ºóµã»÷¡°ÏÂÒ»²½¡±£»
×¢£ºÁ½¸ö´«¸ÐÆ÷ÊÇͬ¿î£¬ËùÒÔ´®¿Ú²ÎÊý£¨9600/NONE/8/1£©¡¢¼Ä´æÆ÷µØÖ·£¨40001/40002£©¡¢´Ó»úµØÖ·£¨01£©Ä¬ÈÏÏàͬ¡£
µã»÷¡°Ìí¼Ó´Ó»ú¡±£¬µãλÀ´Ô´Ñ¡Ôñ¡°UART1¡±£¬ÅäÖô®¿Ú1´«¸ÐÆ÷µÄ´Ó»úµØÖ·£¬±¾ÀýÊÇ1£¬È»ºóµã»÷¡°±£´æ¡±£»
µã»÷¡°Ìí¼ÓÊý¾Ýµã¡±£¬Êý¾ÝµãÃû³ÆÅäÖá°wendu1¡±£¬¼Ä´æÆ÷µØÖ·ÅäÖÃ0¹´Ñ¡±ä»¯Éϱ¨£¬È»ºóµã»÷±£´æ£»
¡¢
ÈçÉÏÏàͬ²½Öè²Ù×÷£¬ÔÙÌí¼ÓÒ»¸öµãλ¡°shidu1¡±£¬¼Ä´æÆ÷µØÖ·1£»
¡¢
ÈçÉÏ´Ó»úÌí¼ÓÍê±ÏÖ®ºó£¬Ôٲο¼Ïàͬ²½ÖèÌí¼ÓÒ»¸ö´®¿Ú2µÄ´Ó»ú£º
Ìí¼Ó´Ó»úC2£¬µãλÀ´Ô´UART2£¬´Ó»úµØÖ·1£»
Ìí¼ÓÊý¾Ýµã¡°wendu2¡±£¬¼Ä´æÆ÷µØÖ·ÊÇ0£¬¹´Ñ¡¡°ÏÔʾ¸ß¼¶ÉèÖá±--¡°µØÖ·Ó³É䡱£¬Ó³ÉäµØÖ·Ìîд2
ÔÙÌí¼ÓÒ»¸öÊý¾Ýµã¡°shidu2¡±£¬¼Ä´æÆ÷µØÖ·ÊÇ1£¬¹´Ñ¡¡°ÏÔʾ¸ß¼¶ÉèÖá±--¡°µØÖ·Ó³É䡱£¬Ó³ÉäµØÖ·Ìîд3
ÈçÉÏÊý¾Ýµã¶¼Ìí¼ÓÍê±Ïºó£¬µã»÷¡°ÏÂÒ»²½¡±£»
ͨµÀÑ¡Ôñ¡°Socket1¡±£¬Êý¾Ý¶ÁдѡÔñ¡°¿ªÆô¡±£¬²éѯ/ÉèÖ÷½Ê½Ñ¡Ôñ¡°ModbusTCP¡±£¬Êý¾ÝÉϱ¨Ñ¡Ôñ¡°¿ªÆô¡±£¬¹´Ñ¡¡°ÖÜÆÚÉϱ¨¡±£¬Éϱ¨ÖÜÆÚÅäÖá°5¡±£¬jsonÄ£°åÅäÖÃÄÚÈÝ£º{"wendu1":"wendu1","shidu1":"shidu1","wendu2":"wendu2","shidu2":"shidu2"}
ÈçÏÂͼÅäÖã¬ÅäÖÃÍê±Ïºóµã»÷¡°±£´æ¡±--¡°¼ÌÐøÅäÖá±£»
µã»÷¡°¶Ë¿Ú¡±--¡°´®¿Ú1¡±--¡°´®¿Ú¡±£¬Ð޸IJ¨ÌØÂÊ9600£¬È·ÈÏ´®¿Ú²ÎÊýÆ¥Å䣬Ȼºóµã»÷¡°socket¡±£º
Socket²ÎÊý±¾Àý±£³ÖĬÈÏ£¬ÅäÖÃÍê±Ïºóµã»÷¡°±£´æ&Ó¦Óá±--¡°¼ÌÐøÅäÖá±£»
µã»÷¡°¶Ë¿Ú¡±--¡°´®¿Ú2¡±--¡°´®¿Ú¡±£¬Ð޸IJ¨ÌØÂÊ9600£¬È·ÈÏ´®¿Ú²ÎÊýÆ¥Å䣬ÅäÖÃÍê±Ïºóµã»÷¡°±£´æ&Ó¦Óá±--¡°ÖØÐÂÆô¶¯¡±£»
ËÄ¡¢ÆäËûÈí¼þ²ÎÊýÉèÖÃ
´ò¿ª¡°ÍøÂç_´®¿Úµ÷ÊÔÖúÊÖ¡±Èí¼þ£¬¡°ÍøÂçÉèÖá±²¿·Ö²ÎÊýÈçÏÂͼËùʾ£¬È»ºóµã»÷¡°Á¬½Ó¡±¡£
´ò¿ªmodbus PollÈí¼þ£¬ÅäÖÃÁ¬½ÓM100´®¿Ú1µÄsocket£¬²¢ÅäÖöÁÈ¡´Ó»úÐÅÏ¢£ºslave ID£º1£¬function£º03£¬address£º0£¬quantity£º4£»¼´¶ÁÈ¡´Ó»ú1µÄ0~3¼Ä´æÆ÷¡£
Îå¡¢¹¦Äܵ÷ÊÔ
µÈ´ýÉ豸ÖØÆôÍê±Ï£¬Á¬½Ó¶¼½¨Á¢ºó£¬¿ÉÒÔ¿´µ½ÍøÂçµ÷ÊÔÖúÊÖÄܹ»ÊÕµ½Á½¸ö´«¸ÐÆ÷µÄÊý¾Ý £º{"wendu1":37,"shidu1":80,"wendu2":25,"shidu2":77}£¬modbusPoll¶ÁÈ¡µÄ¼Ä´æÆ÷µØÖ·ÄÚÈÝÏà±È£¬wendu1ºÍshidu1¶ÔÓ¦¼Ä´æÆ÷µØÖ·0ºÍ1£¬wendu2ºÍshidu2¶ÔÓ¦¼Ä´æÆ÷µØÖ·2ºÍ3£¬¼´µØÖ·Ó³Éä³É¹¦ÇÒÕýÈ·¡£
±àдÈË£ºÂíÁáÓñ ±àдÈÕÆÚ£º2024-02-23
ÉóºËÈË£º½ðÖ¾·½ ÉóºËÈÕÆÚ£º2024-03-05
¶©Õý°æ±¾£ºV1.0 ¶©ÕýÄÚÈÝ£º³õ¸å