
USR-N520-H7-4£¨¶þÆÚ£©modbusÍø¹Ø¹¦ÄÜ
1¡¢×ÊÁÏÏÂÔØ
N520-H7-4£¨¶þÆÚ£©ËµÃ÷Ê飺/Download/1159.html
N520-H7-4£¨¶þÆÚ£©²úƷʹÓÃÊֲ᣺
N520-H7-4£¨¶þÆÚ£©¹æ¸ñÊ飺/Download/1159.html
N520-H7-4£¨¶þÆÚ£©ÉèÖÃÈí¼þ£º
´®¿ÚÍøÂç¶þºÏÒ»µ÷ÊÔÖúÊÖ£º/Download/27.html
ÐéÄâ´®¿ÚÈí¼þ£º/Download/924.html
2¡¢×¼±¸¹¤×÷
1£©USR-N520-H7É豸һ̨
2£©Â·ÓÉÆ÷ һ̨
3£©µçÔ´ÊÊÅäÆ÷ 12V Ò»¸ö
4£©ÍøÏß Á½¸ù
5£©USBת232»òUSBת485´®¿ÚÏß Ò»¸ù
6£©µçÄÔ Ò»Ì¨
3¡¢Á¬½Ó¿òͼ
4¡¢Ç°ÆÚµçÄÔ×¼±¸¹¤×÷
Ò»¶¨¹Ø±ÕµçÄԶ˷À»ðǽ¡¢É±¶¾Èí¼þÒÔ¼°½ûÓöàÓàµÄÍø¿¨£¬·ñÔò»áÔì³ÉÎÞ·¨½¨Á¢socketÁ¬½Ó»òÕßÎÞ·¨Õý³£µÄÊý¾ÝͨѶ
ÈçºÎ¹Ø±Õ·À»ðǽ£º
https://zhidao.baidu.com/question/1496426678993786539.html
ÈçºÎ½ûÓöàÓàÍø¿¨£º
https://zhidao.baidu.com/question/47475708.html
5¡¢N520-H7ÉèÖò½Öè
1£©Ó²¼þÁ¬½Ó£ºN520-H7µÄ´®¿Ú1ͨ¹ýUSBת232/485Á¬½Óµ½µçÄÔUSB¿Ú£¬Í¬Ê±N520-H7µÄÍø¿Úͨ¹ýÍøÏßÒ²Á¬½Óµ½µçÄÔÍø¿ÚÉÏ
2£©É豸ĬÈÏIPΪ192.168.0.7£¬ÐèÒª½«µçÄÔÍø¿¨¸ÄΪÓëÉ豸һÖ£¬¿ÉÔÚµçÄÔ¸ü¸ÄÍøÂçÊÊÅäÆ÷Öиü¸Ä
3£©´ò¿ªN520-H7ÉèÖÃÈí¼þ£¬ËÑË÷----Ë«»÷Ñ¡ÖÐÉ豸----Óû§Ãû£¬ÃÜÂë³ö³§Ä¬ÈϾùΪadmin
4£©½øÈëÉèÖÃÈí¼þºó£¬¿ÉÒÔÔÚÓÒÉϽÇÇл»ÖÁÖÐÎĽçÃæ
5£©ÔÚÉèÖÃÈí¼þ×óϽǻù´¡ÉèÖÃÖУ¬½«N520É豸IPµØÖ·ÀàÐ͸ÄΪDHCP/¶¯Ì¬IP£¨ÒòΪÎÒÕâÀï½ÓµÄÉϼ¶Â·ÓÉ¿ÉÒÔ¸øϼ¶¶¯Ì¬·ÖÅäIP£¬ËùÒÔÕâÀïÑ¡ÔñDHCP£©¡£Í¬Ê±Ò²¿ÉÒÔÐÞ¸ÄΪÓëÉϼ¶Íø¶ÎÒ»Öµľ²Ì¬IP£¬¾²Ì¬IPµØÖ·ÓëÉϼ¶Â·ÓÉÍø¶ÎÒ»Ö£¬×ÓÍøÑÚÂëºÍÍø¹Ø¾ùÓëÉϼ¶ÉèÖÃÒ»ÖÂ
6£©½«N520É豸½ÓÈëÉϼ¶Â·ÓɵÄLAN¿Ú£¬µçÄÔÒ²Á¬½Óͬһ¸öÉϼ¶Â·ÓÉ£¬Í¬ÑùÊÇDHCP»ñÈ¡µØÖ·¡£Ö®ºóÔÙ´Îͨ¹ýÈí¼þ½øÐÐËÑË÷
7£©´ò¿ªÉèÖÃÈí¼þ£¬Ôڶ˿ڴ¦ÉèÖÃÉ豸²ÎÊý£¬´Ë´¦Ê¹Óô®¿Ú1µÄ322´®¿Ú½øÐвâÊÔ£¬ËùÒÔÐèҪѡÔñ¶Ë¿Ú1£¨ÈôʹÓô®¿Ú2£¬ÔòÑ¡Ôñ¶Ë¿Ú2¼´¿É£©£¬´®¿ÚģʽѡÔñRS232£¨ÈôʹÓÃ485´®¿Ú£¬´®¿ÚģʽѡÔñRS485¼´¿É£©£¬ÉèÖÃÍê´Ë½çÃæµã»÷Ï·½±£´æ²¢Ó¦Ó㬵¯³öÌáʾºóÑ¡Ôñ¼ÌÐøÅäÖã¬ËùÓвÎÊý¶¼ÉèÖÃÍêÖ®ºóÔÙÖØÆô¾Í¿ÉÒÔ
8£©¼ÌÐøÔÚÈí¼þÖÐÅäÖÃsocket²ÎÊý£¬¹¤×÷·½Ê½Ñ¡Ôñtcp server£¬±¾µØ¶Ë¿Ú¿É×Ô¶¨Ò壬ÆôÓÃmodbus tcp¹¦ÄÜ£¬ÆäËû²ÎÊý±£³ÖĬÈÏ£¬ÉèÖÃÍê³Éºóµã»÷±£´æ²¢Ó¦Óá£È«²¿²ÎÊýÉèÖÃÍê³Éºó£¬µã»÷ÖØÆô¡£²ÎÊýÖØÆôºóÉúЧ
9£©É豸ÖØÆôÍê±Ïºó¿ÉÒÔÔÙ½øÐÐÒ»´ÎËÑË÷£¬²é¿´Ò»ÏÂÐ޸ĵIJÎÊýÊÇ·ñÉúЧ
10£©´®¿Ú·þÎñÆ÷É豸´®¿ÚʹÓÃUSBת232´®¿ÚÏß½ÓµçÄÔ£¬µçÄÔ´ò¿ªmodbus pollºÍmodbus slaveÈí¼þ£¬ÉèÖÃÈí¼þ²ÎÊý
Modbus pollÈí¼þ²ÎÊý£º
Modbus slaveÈí¼þ²ÎÊý£º
11£©Í¨ÐŲâÊÔ£º´®¿Ú·¢Ë͵ÄÊý¾Ý£¬¿ÉÒÔÔÚÍøÂçÈí¼þ½ÓÊÕ£¬ÍøÂçÈí¼þÏ·¢µÄÊý¾Ý£¬Ò²¿ÉÒÔÔÚ´®¿Ú½ÓÊÕ¡£Ö¤Ã÷Êý¾ÝË«Ïò͸´«Ã»ÓÐÎÊÌ⣬ÖÁ´Ë²âÊÔ½áÊø