
Ò»¡¢×ÊÁÏÏÂÔØ£º
1. USR-N5X0 ˵Ã÷Ê飨±ßÔµ¼ÆËã°æ£©: /Download/1159.html
2. USR-N5X0±ßÔµ¼ÆËãÓ¦Óð¸Àý : /Download/1169.html
3. USR-N510-H7-edgeÉèÖÃÈí¼þ£º/Download/383.html
¶þ¡¢ËµÃ÷£º
£¨1£©Ó³ÉäµÄ¹¦Äܽö·þÎñÓÚ±ßÔµ²éѯ¹¦ÄÜ£¬¿ªÆôÓ³É书Äܺó£¬Ôƶ˲éѯ£¨modbusRTU/TCP ²éѯ£©µÄÖ¸ÁîÐèÒª½«¶ÁÖ¸ÁîÖеĴӻúºÅºÍ¼Ä ´æÆ÷µØÖ·Ì滻ΪӳÉäºóµÄÖµ¡£Êý¾Ý²É¼¯¡¢Êý¾ÝÉϱ¨²»ÊÜÈκÎÓ°Ï죬°´Ô±¾µÄ´Ó»úºÅºÍ¼Ä´æÆ÷µØÖ·½øÐвɼ¯¡¢½âÎö¡¢Éϱ¨¡£
£¨2£©Óë먦ÆôÓ³É书ÄÜÏà±È£¬¿ÉÒÔͨ¹ý½«¶à¸ö²»Í¬´Ó»úºÅµÄ´Ó»úϵĶà¸öÊý¾Ýµã£¬Í¨¹ýÒ»ÌõÖ¸Áî²éѯ¶à¸ö´Ó»úϵĶà¸öÊý¾Ýµã£¬ÊµÏÖÂß ¼Éϵľۺϡ£
£¨3£©Ê¾Àý£ºÉ豸´®¿Ú 1 ÏÂÓдӻúµØַΪ 01¡¢02 Á½¸ö´Ó»ú£¬01 ´Ó»úÏÂÓÐÒ»¸öÊý¾Ýµã£¬¼Ä´æÆ÷µØÖ· 01,02 ´Ó»úÏÂÒ²ÓÐÒ»¸öÊý¾Ýµã£¬¼Ä´æ Æ÷µØÖ· 01¡£Èô먦ÆôÓ³É书ÄÜ£¬Ê¹Óà modbus ²éѯ£¬ÐèÒª 01 03 0000 00001¡¢02 03 0000 0001 Á½ÌõÖ¸Áî·Ö±ð²éѯ¡£¿ªÆôÓ³É书ÄÜºó£¬ ½« 02 ´Ó»úµÄ´Ó»úµØÖ·Ó³ÉäΪ 01¡¢Êý¾Ýµã¼Ä´æÆ÷µØÖ·Ó³ÉäΪ 02£¬¼´¿ÉʹÓà 01 03 0000 0002 Ò»ÌõÖ¸Áî²éѯ²»Í¬´Ó»úϵÄÁ½¸öÊý¾Ýµã¡£
Èý¡¢ËùÐ蹤¾ß
(1) USR-N510 һ̨
(2) USB ת RS485 ´®¿ÚÏßÒ»¸ù
(3) ÍøÏßÒ»¸ù
(4) 12V1A µçÔ´ÊÊÅäÆ÷Ò»¸ö
(5) Modbus Slave Èí¼þ£º±¾ÎÄÊÇÒÔ modbus ´Ó»úÄ£ÄâÈí¼þÄ£Äâ modbusRTU ´Ó»úÉ豸£¬Êµ¼ÊÓ¦ÓÃÖÐÐèÒª¹Ë¿ÍÁ¬½Ó×Ô¼ºµÄ Modbus ´Ó»úÉ豸¡£
ËÄ¡¢²Ù×÷»·½Ú
(1)½øÈëN510µÄÄÚÖÃÍøÒ³£¬Ñ¡ÔñÍø¹ØÏÂÃæµÄ±ßÔµ¼ÆËãÍø¹Ø
ÔÚ¡°Íø¹ØʹÄÜ¡±ÅäÖÃÏîÖн«¡°Íø¹ØʹÄÜ¡±¿ªÆô
µã»÷¡°ÏÂÒ»²½¡±Ìøתµ½¡°Êý¾Ý²É¼¯¡±
É豸Ãû³Æ£ºµ±Ç°ÅäÖôӻúÃû³Æ£¬²»¿ÉΪÖÐÎÄ£¬²»¿ÉÖظ´
£¨2) ÔÚ¡°Êý¾Ý²É¼¯¡±ÅäÖÃҳѡÖÐĬÈÏ´Ó»ú£¬µã»÷¡°±à¼¡±
¸ù¾Ýʵ¼Ê´ý²É¼¯µÄ´Ó»úÉ豸ÅäÖòÎÊý
±¾ÀýÖÐÅäÖô®¿ÚºÅ 1£¬´Ó»úµØÖ· 1£¬ÂÖѯ¼ä¸ô 100
µã»÷¡°±£´æ¡±¸Ã´Ó»ú¡£
±à¼Êý¾Ýµã²ÎÊý
ÅäÖÃζÈÊý¾Ýµã²ÎÊýÈçÏ£º £¨Ö§³Ö×î¶àÌí¼Ó 128 ¸öÊý¾Ýµã£©
£¨1£©±à¼Êý¾Ýµã 1
£¨2£©ÉèÖÃÊý¾ÝµãÃû³Æ node0101
£¨3£©¹¦ÄÜÂëÑ¡Ôñ 03
£¨4£©¼Ä´æÆ÷µØÖ·ÉèÖà 0
£¨5£©Êý¾ÝÀàÐÍÑ¡Ôñ¡°16 λÎÞ·ûºÅ¡±
£¨6£©³¬Ê±Ê±¼äÉèÖà 200
£¨7£©µã»÷¡°±£´æ¡±£¬±£´æ¸ÃÊý¾ÝµãÅäÖÃ
ÅäÖÃʪ¶ÈÊý¾Ýµã²ÎÊýÈçÏ£º
£¨1£©±à¼Êý¾Ýµã 2
£¨2£©ÉèÖÃÊý¾ÝµãÃû³Æ node0102
£¨3£©¹¦ÄÜÂëÑ¡Ôñ 03
£¨4£©¼Ä´æÆ÷µØÖ·ÉèÖà 1
£¨5£©Êý¾ÝÀàÐÍÑ¡Ôñ¡°16 λÎÞ·ûºÅ¡±
£¨6£©³¬Ê±Ê±¼äÉèÖà 200
£¨7£©µã»÷¡°±£´æ¡±£¬±£´æ¸ÃÊý¾ÝµãÅäÖÃ
¿ªÆô´Ó»úµØÖ·Ó³É䣺
£¨1£©Ìí¼Ó´Ó»úÉ豸:device02
£¨2£©´®¿ÚºÅ£º1
£¨3£©´Ó»úµØÖ·£º2
£¨4£©¿ªÆôÏÔʾ¸ß¼¶ÉèÖᢿªÆôµØÖ·Ó³É书ÄÜ¡¢ÌîдӳÉä´Ó»úµØÖ·1
¿ªÆô¼Ä´æÆ÷µØÖ·Ó³É䣺
£¨1£©ÌîдÊý¾ÝµãÃû³Æ£ºnode0201
£¨2£©¹¦ÄÜÂëÑ¡Ôñ 03
£¨3£©¼Ä´æÆ÷µØÖ·ÉèÖà 0
£¨4£©Êý¾ÝÀàÐÍÑ¡Ôñ¡°16 λÎÞ·ûºÅ¡±
£¨5£©³¬Ê±Ê±¼äÉèÖà 200
£¨6£©µã»÷¡°±£´æ¡±£¬±£´æ¸ÃÊý¾ÝµãÅäÖÃ
µã»÷Ò³Ãæ×îÏ·½µÄ¡°±£´æ¡±»áµ¯³öÌáʾ¿ò£¬ÒòºóÐø»¹ÐèÒªÅäÖô®¿Ú²ÎÊý£¬ËùÒÔÔÚ´ËÒ³Ãæµã»÷¡°¼ÌÐøÅäÖá±°´Å¥£¬È»ºóµã»÷¡°¶Ë ¿Ú¡±--¡°¶Ë¿Ú 1¡±½øÐÐÏÂÒ»²½µÄ¡°´®¿ÚÅäÖá±¹ý³Ì¡£
ÅäÖô®¿Ú²ÎÊý
(1) ÔÚ¡°¶Ë¿Ú¡±--¡°¶Ë¿Ú 1¡±½çÃæÅäÖÃ¶Ë¿Ú 1 ´®¿Ú²ÎÊý
(2) ¸ù¾Ýʵ¼Ê´ý²É¼¯µÄ´Ó»úÉ豸ÅäÖòÎÊý£¬±¾ÀýÖÐÅäÖò¨ÌØÂÊΪ 115200£¬Êý¾ÝλΪ 8£¬Ð£ÑéλΪ None£¬Í£Ö¹Î»Îª 1 ¡£
(3) µã»÷¡°±£´æ&Ó¦Óá±£¬»áµ¯³öÌáʾ¿ò£¬Òò´ËÀýÖÐËùÓеÄÅäÖÃÏî¾ùÒÑÅäÖÃÍê³É£¬ËùÒÔµã»÷¡°ÖØÐÂÆô¶¯¡±£¬ÁîÅäÖÃÉúЧ¡£ É豸ÖеÄËùÓй¦ÄÜ£¬ÅäÖÃÍê³É¶¼ÐèÒªµã»÷Ï·½±£´æ°´¼ü£¬×îÖÕÐèÒªÖØÆôºóÉúЧ¡£ÒÔϲ»ÔÙÌáʾ¡£
ÅäÖôӻúÄ£ÄâÈí¼þ ¡°Setup¡±--¡°Slave Definition¡±½çÃ棬ÅäÖôӻúÐÅÏ¢ÈçÏ£º
£¨1£©´Ó»úµØÖ·¡°Slave ID¡±Ìî 1
£¨2£©¹¦ÄÜÂë¡°Function¡±Ñ¡Ôñ 03
£¨3£©¼Ä´æÆ÷ÆðʼµØÖ·¡°Address¡±Ìî 0
£¨4£©¼Ä´æÆ÷ÊýÁ¿¡°Quantity¡±Ìî 2 ¼´¿É
£¨5£©ÅäÖÃÍê³Éºóµã»÷¡°OK
ÅäÖôӻú2µÄÐÅÏ¢£º
£¨2£©´Ó»úµØÖ·¡°Slave ID¡±Ìî 2
£¨2£©¹¦ÄÜÂë¡°Function¡±Ñ¡Ôñ 03
£¨3£©¼Ä´æÆ÷ÆðʼµØÖ·¡°Address¡±Ìî 0
£¨4£©¼Ä´æÆ÷ÊýÁ¿¡°Quantity¡±Ìî 2 ¼´¿É
£¨5£©ÅäÖÃÍê³Éºóµã»÷¡°OK
ÔÚ¡°connection¡±--¡°connect¡±Ò³ÃæÅäÖÃÁ¬½Ó²ÎÊý£¬ÈçÏ£º
£¨1£©¡°connection¡±Ñ¡Ôñ¡±Serial Port¡±
£¨2£©¡°Serial Settings¡±Ñ¡Ôñ¶ÔÓ¦µÄ´®¿Ú£¨¿ÉÔÚµçÄÔÉ豸¾ÓªÆ÷½çÃæ²é¿´£©
£¨3£©²¨ÌØÂÊ¡¢Êý¾Ýλ¡¢Ð£Ñéλ¡¢Í£Ö¹Î»ÅäÖÃºÍ N540 µÄ´®¿Ú²ÎÊýÒ»ÖÂ
£¨4£©¡°Mode¡±Ñ¡Ôñ RTU
£¨5£©ÅäÖÃÍê³Éºóµã»÷¡°OK¡±
ʹÓà modbus Poll Ä£ÄâÔƶ˽øÐвéѯ£¬¡°Connection¡±--¡°connect¡±½çÃæÅäÖÃÁ¬½Ó²ÎÊý£º
£¨1£©¡°Connection¡±Ñ¡Ôñ¡°Modbus TCP/IP¡±
£¨2£©¡°IP Address or Node Name¡±Ìîд N510 µÄ IP£¬¸Ã IP ¿ÉÒÔͨ¹ýÉèÖÃÈí¼þËÑË÷É豸£¬È»ºóÔÚÉ豸ÁбíÖв鿴É豸 IP
£¨3£©¡°Server Port¡±Ìîд N510 µÄ±¾µØ¶Ë¿Ú
Setup¡±--¡°Read/Write Definition¡±Ò³ÃæÅäÖÃÄ¿µÄ´Ó»úÐÅÏ¢£º
£¨1£©´Ó»úµØÖ·¡°Slave ID¡±Ìî 1
£¨2£©¹¦ÄÜÂë¡°Function¡±Ñ¡Ôñ 03
£¨3£©¼Ä´æÆ÷ÆðʼµØÖ·¡°Address¡±Ìî 0
£¨4£©¼Ä´æÆ÷ÊýÁ¿¡°Quantity¡±Ìî 2
²âÊÔ½á¹ûÈçͼ£º
±àдÈË£ºÓÚ±ù