Ö§³ÖÖÐÐÄ
USR-M100 ±ßÔµ¼ÆËãÖ÷¶¯Éϱ¨jsonÊý¾Ýµ½UDP·þÎñÆ÷ʾÀý
2024-05-11


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

USR-M100˵Ã÷Ê飺/Download/1202.html

ÉèÖÃÈí¼þ£º/Download/1213.html

¶þ¡¢×¼±¸?×÷

1¡¢ËùÐèÎïÆ·

USR-M100²úÆ· ÊýÁ¿1¸ö

µçÔ´ÊÊÅäÆ÷ 12V ÊýÁ¿1¸ö

µçÄÔÊýÁ¿1̨

ÍøÏßÒ»¸ù

½ÓÍâÍøµÄ·ÓÉÆ÷һ̨

UDP·þÎñÆ÷IPΪ8.140.245.136,¶Ë¿ÚΪ101

2¡¢Ó²¼þÁ¬½Ó

DO¡ª¡ªM100¡ª¡ªÍøÏß¡ª¡ªÂ·ÓÉ¡ª¡ªÔ¶³ÌUDP·þÎñÆ÷


Èý¡¢²âÊÔ»·½Ú

M100Íø¿Ú½ÓµçÄÔÍø¿Ú£¬³ö³§Ä¬ÈÏ״̬ÏÂM100 ipΪ192.168.0.7£¬ÏÂÃæµÚ1~3»·½ÚÊÇΪÁËM100Äܹ»ÔÚĬÈÏ״̬ÏÂÓëµçÄÔÐγɾÖÓòÍø¿ÉÒÔ½øÐвÎÊýÅäÖõIJÙ×÷»·½Ú£¬Èô¿Í‘ôM100֮ǰÒѾ­Ê¹Óùý£¬µçÄÔÒѾ­ÓëM100ͬ¾ÖÓòÍøÁË£¬¿É²»ÓòÙ×÷ÏÂÃæµÄ1~3»·½Ú¡£

1¡¢Íø¿Úͨ¹ýÍøÏßÖ±Á¬µçÄÔÍø¿Ú¡£¼ì²éËùÓÐÁ¬½ÓÎÞÎóºó£¬¸øM100ÓÃ12VµçÔ´ÊÊÅäÆ÷¹©µç¡£

2¡¢µçÄԹرշÀ»ðǽ¡£

3¡¢µçÄÔ£º¿ØÖÆÃæ°å\ÍøÂçºÍ Internet\ÍøÂçÁ¬½Ó£¬IPÉèÖúÍM100 IPͬÍø¶Î£¬M100ĬÈÏIPÊÇ192.168.0.7£¬Íø¹Ø192.168.0.1£¬½«µçÄÔ±¾µØÁ¬½ÓIPv4ÉèÖþ²Ì¬IP£¬192.168.0.10£¬×ÓÍøÑÚÂë255.255.255.0£¬Íø¹Ø192.168.0.1¡£

4¡¢ÏÂÔز¢´ò¿ªÉèÖÃÈí¼þ£¬ÓÃÅäÖÃÈí¼þËÑË÷M100É豸£¬µ¥»÷ËÑË÷£¬ËÑËѵ½É豸ºóË«»÷É豸¡£ÊäÈë¿Í‘ôÃûadminºÍÃÜÂëadmin£¬µã»÷È·¶¨£¬ÓÒ²àÏÔʾM100²ÎÊýÉèÖÃÒ³Ãæ¡£

5¡¢ÅäÖÃÉÏÍø·½Ê½ÎªÍøÏßÓÅÏÈ£¬IP¸ÄΪ¶¯Ì¬IP¡£µÈËùÓвÎÊýÉèÖÃÍê³É¡£±£´æÖØÆôÒÔºóÍøÏßÔÙÖ±½Ó½Óµ½Éϼ¶Â·ÓɵÄlan¿ÚÉÏ¡££¨ÈôʹÓõÄÊÇsim¿¨£¬´Ë»·½Ú¿ÉºöÂÔ£©

6¡¢ÅäÖÃÁ¬½ÓTCP·þÎñÆ÷

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

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

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

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

8¡¢Ìí¼ÓIO´Ó»ú

¿ÉÒÔÊÖ¶¯Ìí¼Ó´Ó»ú£¬ÈôÊÇM100×Ô´øµÄÊý¾ÝµãÔÚ¿Í‘ôµÄʵ¼ÊÓ¦ÓÃÖÐÓò»µ½£¬Ò²¿ÉÒÔÔÚĬÈÏ´Ó»úÖÐ×ö±à¼­¡£

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

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

Êý¾ÝÉϱ¨Ñ¡Ôñ¡°¿ªÆô¡±£¬

Éϱ¨ÖÜÆÚ:5s(×Ô¶¨Òå)£»

Éϱ¨Ð­ÒéÅäÖãº

JsonÄ£°å˵Ã÷{"×Ô¶¨Òå˵Ã÷1":"ÒªÏÔʾµÄ¼Ä´æÆ÷Ãû³Æ1",...."×Ô¶¨Òå˵Ã÷N":"ÒªÏÔʾµÄ¼Ä´æÆ÷Ãû³ÆN"}£º

±¾´ÎÎÒÃÇÖ»Éϱ¨DOµÄÖµ£¬È«Ó¢Îĸñʽ£º{"do1":"DO1","do2":"DO2"}£¬µã»÷±£´æ

10¡¢ÖØÆôÉ豸£¬×¢ÒâÖØÆôÍêÈôÊÇÍøÏßÉÏÍøµÄ²»ÒªÍü¼Ç°ÑÍøÏß½Óµ½Éϼ¶Â·ÓÉÆ÷µÄlan¿ÚÖУ»


ËÄ¡¢Êý¾Ý²âÊÔ

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





±àдÈË£ºÀîöÎ ±àдÈÕÆÚ£º2024-03-19

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

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



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

sitemap¡¢µØͼ