
USR-N580-H7 MODBUS£¨¶þÆÚ£© Íø¹Ø¹¦ÄܲâÊÔ°¸Àý
Ò»¡¢×ÊÁÏÏÂÔØ
USR-N580 H7˵Ã÷Ê飺/Download/1159.html
ÉèÖÃÈí¼þ£º/Download/383.htm
´®¿ÚÍøÂçµ÷ÊÔÖúÊÖ£º/Download/27.html
¶þ¡¢×¼±¸¹¤×÷
1¡¢USR-N580-H7²úÆ· ÊýÁ¿1¸ö
2¡¢µçÔ´ÊÊÅäÆ÷ 12V ÊýÁ¿1¸ö
3¡¢ÍøÏß ÊýÁ¿1¸ù
4¡¢USB-RS485´®¿ÚÏß ÊýÁ¿1Ìõ
5¡¢µçÄÔ ÊýÁ¿1̨
Èý¡¢Á¬½Ó¿òͼ
ËÄ¡¢Ó²¼þÁ¬½ÓºÍµçÄÔÉèÖÃ
1¡¢Ó²¼þÁ¬½Ó£º
USB-RS485´®¿ÚÏß½ÓN580´®¿Ú£¬×¢Òâ485½ÓÏßÏßÐò£¬USB-RS485 AÏß½ÓN580 ´®¿ÚµÄA¶Ë×Ó£¬USB-RS485 BÏß½ÓN580 ´®¿ÚµÄB¶Ë×Ó£¬USBÍ·²åÈëµçÄÔUSB¿Ú¡£
N580Íø¿Úͨ¹ýÍøÏßÖ±Á¬µçÄÔÍø¿Ú¡£¼ì²éËùÓÐÁ¬½ÓÎÞÎóºó£¬¸øN580ÓÃ12VµçÔ´ÊÊÅäÆ÷¹©µç¡£
2¡¢ ¼ì²éUSR-RS485´®¿ÚÏßµÄCOM¿ÚºÅ£¬µã»÷µçÄÔ¼ÆËã»ú£¬ÓÒ»÷Êó±ê£¬µã»÷É豸¹ÜÀíÆ÷£¬²é¿´¶Ë¿Ú£¬È·ÈÏUSB-RS485´®¿ÚÏßµÄCOM¿ÚºÅ£¬¿·¢¡¤k8¹ú¼Ê²âÊÔµçÄÔÊÇCOM15¡£
3¡¢µçÄԹرշÀ»ðǽ¡£
4¡¢µçÄÔ£º¿ØÖÆÃæ°å\ÍøÂçºÍ Internet\ÍøÂçÁ¬½Ó£¬IPÉèÖúÍN580 IPͬÍø¶Î£¬N580ĬÈÏIPÊÇ192.168.0.7£¬Íø¹Ø192.168.0.1£¬½«µçÄÔ±¾µØÁ¬½ÓIPv4ÉèÖþ²Ì¬IP£¬192.168.0.201£¬×ÓÍøÑÚÂë255.255.255.0£¬Íø¹Ø192.168.0.1¡£
5¡¢ÏÂÔز¢´ò¿ªH7ϵÁÐÉèÖÃÈí¼þ£º
ÓÃH7ϵÁÐÅäÖÃÈí¼þËÑË÷N580É豸£¬µ¥»÷ËÑË÷£¬ËÑËѵ½É豸ºóË«»÷É豸¡£
6¡¢µÇ¼
ÊäÈëÓû§ÃûadminºÍÃÜÂëadmin£¬µã»÷È·¶¨£¬ÓÒ²àÏÔʾN580²ÎÊýÉèÖÃÒ³Ãæ¡£
7¡¢MODBUSÍø¹Ø²ÎÊýÉèÖÃ
µã»÷¶Ë¿Ú1---´®¿Ú£¬ÐèÒª°Ñ²¨ÌØÂÊ¡¢Êý¾Ýλ¡¢Ð£Ñéλ¡¢Í£Ö¹Î»¸ú´®¿ÚÖÕ¶ËÉ豸±£³ÖÒ»Ö£» SOCKET²ÎÊýÀѡÔñ¡°Tcp server¡±£¬Ñ¡Ôñ¡°modbus tcp¡±£¨Õâ¸öÊÇÐÒéת»»¹¦ÄÜ¿ªÆô£©£¬±¾µØ¶Ë¿Ú23¡£
ÂÖѯ³¬Ê±Ê±¼äĬÈÏÊÇ200ms,ÐèÒª¸Ä´ó£¬¸Ä³É5000ms¡£
±£´æ²ÎÊý£¬ÖØÆôÉ豸¡£
Îå¡¢Êý¾Ýµ÷ÊÔ
1¡¢MODBUS SLAVEºÍMODBUS POLLÈí¼þÉèÖãº
MODBUS SLAVEÈí¼þºÍMODBUS POLLÈí¼þµÄÉ豸ID SLAVE IDÐèÒªÉèÖÃÒ»Ö£¬¼Ä´æÆ÷ÆðʼµØÖ·ºÍ¼Ä´æÆ÷ÊýÁ¿ÉèÖÃÒ»Ö¡£¾ÙÀý£¬ÎÒÓõÄÊÇÆðʼµØÖ·0£¬¼Ä´æÆ÷ÊýÁ¿10¡£ÓõÄÊÇ03¹¦ÄÜÂë¡£
SLAVE ID ÊÇ1¡£±¸×¢£ºMODBUS POLLÈí¼þÓÐЩ°æ±¾£¬ÓÐÒ»¸ö¶ÁдѡÏRead/Write Disabled,ÐèҪȡÏû¹´Ñ¡¡£
Ä£Äâ²âÊÔÓÃMODBUS SLAVEÈí¼þ×ö´®¿ÚÉ豸£¬ÓÃMODBUS POLLÈí¼þ×öÍøÂç¶Ë¡£
MODBUS SLAVEÈí¼þÉèÖô®¿Ú²ÎÊý£¬²¨ÌØÂÊ¡¢Êý¾Ýλ¡¢Í£Ö¹Î»¡¢Ð£Ñé룬ÐèÒªºÍUSR-N580µÄ´®¿Ú²ÎÊýÉèÖÃÒ»Ö¡£
2.MODBUS POLLÈí¼þÉèÖÃMODBUS TCP/IP¡£IPµØÖ·ÌîUSR-N580µÄIPµØÖ·£¬Server PortÌîUSR-N580µÄ¶Ë¿ÚºÅ23¡£×¢ÒâMODBUS POLLÈí¼þµÄ3¸öʱ¼ä²ÎÊý£¬ÒÀ´ÎÊÇ
response Timeout 5000ms
Delay between Polls 1000ms
Connect Timeout 3000ms¡£
3¡¢»ù±¾Í¨Ñ¶²âÊÔ£º
MODBUS SLAVEÈí¼þÌí¼Ó1¸öSLAVE ID£¬ÊÇID 1
MODBUS POLLÈí¼þ¶ÔÓ¦Ìí¼Ó1¸öSLAVE ID£¬ÊÇID
¸Ä±äÿ¸öMODBUS SLAVEÈí¼þµÄÊý¾Ý£¬¶ÔÓ¦µÄMODBUS POLLÈí¼þ¾Í¿ÉÒԲɼ¯µ½ÕýÈ·µÄÊý¾Ý¡£
Ä£ÄâÁËÍøÂç¶ËÏ·¢²éѯÃüÁ´®¿Ú»Ø¸´Êý¾Ý¡£
±¸×¢£ºMODBUS SLAVEÈí¼þºÍMODBUS POLLÈí¼þµÄÑ¡ÏîDisplay£¬µã¿ªÖ®ºó£¬×îÏÂÃæµÄCommunication Traffic£¬ÊÇÁ½¸öÈí¼þÊý¾Ý¼à¿Ø£¬¿ÉÒԲ鿴MODBUS Êý¾Ý£¬ÊÇ·ñÕý³£¡£