
Ò»¡¢µ÷ÊÔ·½·¨×¼±¸¹¤×÷£º
USR-M511ʹÓÃÖ±Á÷µçÔ´ÊÊÅäÆ÷12V¹©µç¡£
USR-M511 ÓÃUSB-RS232´®¿ÚÏß¡¢232ת½ÓÏß½ÓµçÄÔºÍUSR-M511¡£
USR-M511²¦Â뿪¹Ø¶¼³¯Ï£¬ÊÇ232´®¿Ú¹¦ÄÜ¡£
USR-M511Íø¿ÚÓÃÍøÏßÁ¬½ÓµçÄÔÍø¿Ú£¬µçÄÔIPºÍM511µÄIPÉèÖÃͬһÍø¶Î¡£
£¨»òÕßUSR-M511Íø¿ÚÓÃÍøÏß½Ó·ÓÉÆ÷£¬µçÄÔÒ²Á¬½Óͬһ¸ö·ÓÉÆ÷¡£USR-M511Óô®¿ÚÉèÖÃÈí¼þÉèÖÃDHCP£¬¶¯Ì¬»ñÈ¡IP£©
¶þ¡¢¾²Ì¬IPʱUSR-M511×öMODBUS RTU´Ó»ú£º
1¡¢Ó²¼þÁ¬½Ó£º
USR-M511ʹÓÃÖ±Á÷µçÔ´ÊÊÅäÆ÷12V¹©µç¡£
USR-M511 ÓÃUSB-RS232´®¿ÚÏß¡¢232ת½ÓÏß½ÓµçÄÔºÍUSR-M511¡£
USR-M511²¦Â뿪¹Ø¶¼³¯Ï£¬ÊÇ232´®¿Ú¹¦ÄÜ¡£
USR-M511Íø¿ÚÓÃÍøÏßÁ¬½ÓµçÄÔÍø¿Ú£¬µçÄÔIPºÍM511µÄIPÉèÖÃͬһÍø¶Î¡£USR-M511ĬÈÏIPÊÇ192.168.0.7¡£Òò´ËµçÄÔÉèÖþ²Ì¬IP£¬192.168.0.201£¬×ÓÍøÑÚÂë 255.255.255.0£¬Íø¹Ø192.168.1.1¡£
2¡¢´®¿Ú²ÎÊýÉèÖãº
Óô®¿ÚÉèÖÃÈí¼þËÑË÷USR-M511µÄIP¡£È·ÈÏÊÇ192.168.0.7
3¡¢ÍøÒ³²ÎÊýÉèÖãº
ÔÚµçÄÔ´ò¿ªä¯ÀÀÆ÷£¬ÊäÈ뾲̬IP192.168.0.7 µÇ¼USR-M511µÄÄÚÖÃÍøÒ³¡£
µÇ¼Óû§ÃûÊÇadmin£¬ÃÜÂëÊÇadmin¡£
ÍøÒ³¼ì²é´®¿Ú²ÎÊý£¬¹¤×÷·½Ê½ÉèÖÃMODBUS RTU´Ó»úģʽ£¬±¾µØ¶Ë¿ÚºÅĬÈÏÊÇ502£¬Modbus ³¬Ê±Ê±¼äĬÈÏÊÇ200ms,ÐèÒª¸Ä´ó£¬¸Ä³É5000ms¡£
ÖØÆôÖ®ºó£¬Èç¹û³öÏÖÕâ¸öÌáʾ£¬ÖØÐÂË¢ÐÂÍøÒ³¾Í¿ÉÒÔ¡£
4¡¢MODBUS SLAVEºÍMODBUS POLLÈí¼þÉèÖãº
Ä£Äâ²âÊÔÓÃMODBUS SLAVEÈí¼þ×ö´®¿ÚÉ豸£¬ÓÃMODBUS POLLÈí¼þ×öÍøÂç¶Ë¡£
MODBUS SLAVEÈí¼þÉèÖô®¿Ú²ÎÊý£¬²¨ÌØÂÊ¡¢Êý¾Ýλ¡¢Í£Ö¹Î»¡¢Ð£Ñé룬ÐèÒªºÍUSR-M511µÄ´®¿Ú²ÎÊýÉèÖÃÒ»Ö¡£
MODBUS POLLÈí¼þÉèÖÃMODBUS TCP/IP¡£IPµØÖ·ÌîUSR-M511µÄIPµØÖ·£¬Server PortÌîUSR-M511µÄ¶Ë¿ÚºÅ502¡£×¢ÒâMODBUS POLLÈí¼þµÄ3¸öʱ¼ä²ÎÊý£¬ÒÀ´ÎÊÇ
response Timeout 5000ms
Delay between Polls 1000ms
Connect Timeout 3000ms¡£
MODBUS SLAVEÈí¼þºÍMODBUS POLLÈí¼þµÄÉ豸ID SLAVE IDÐèÒªÉèÖÃÒ»Ö£¬¼Ä´æÆ÷ÆðʼµØÖ·ºÍ¼Ä´æÆ÷ÊýÁ¿ÉèÖÃÒ»Ö¡£¾ÙÀý£¬ÎÒÓõÄÊÇÆðʼµØÖ·0£¬¼Ä´æÆ÷ÊýÁ¿10¡£ÓõÄÊÇ03¹¦ÄÜÂë¡£
SLAVE ID ÊÇ1¡£±¸×¢£ºMODBUS POLLÈí¼þÓÐЩ°æ±¾£¬ÓÐÒ»¸ö¶ÁдѡÏRead/Write Disabled,ÐèҪȡÏû¹´Ñ¡¡£
5¡¢»ù±¾Í¨Ñ¶²âÊÔ£º
¸Ä±äMODBUS SLAVEÈí¼þµÄÊý¾Ý£¬MODBUS POLLÈí¼þ¾Í¿ÉÒԲɼ¯µ½ÕýÈ·µÄÊý¾Ý¡£
Ä£ÄâÁËÍøÂç¶ËÏ·¢²éѯÃüÁ´®¿Ú»Ø¸´Êý¾Ý¡£
±¸×¢£ºMODBUS SLAVEÈí¼þºÍMODBUS POLLÈí¼þµÄÑ¡ÏîDisplay£¬µã¿ªÖ®ºó£¬×îÏÂÃæµÄCommunication Traffic£¬ÊÇÁ½¸öÈí¼þÊý¾Ý¼à¿Ø£¬¿ÉÒԲ鿴MODBUS Êý¾Ý£¬ÊÇ·ñÕý³£¡£
Èý¡¢DHCP¶¯Ì¬»ñÈ¡IPʱ£¬USR-M511×öMODBUS RTU´Ó»ú£º
1¡¢Ó²¼þÁ¬½Ó£º
USR-M511ʹÓÃÖ±Á÷µçÔ´ÊÊÅäÆ÷12V¹©µç¡£
USR-M511 ÓÃUSB-RS232´®¿ÚÏß¡¢232ת½ÓÏß½ÓµçÄÔºÍUSR-M511¡£
USR-M511²¦Â뿪¹Ø¶¼³¯Ï£¬ÊÇ232´®¿Ú¹¦ÄÜ¡£
USR-M511Íø¿ÚÓÃÍøÏß½Ó·ÓÉÆ÷£¬µçÄÔÒ²Á¬½Óͬһ¸ö·ÓÉÆ÷¡£USR-M511Óô®¿ÚÉèÖÃÈí¼þÉèÖÃDHCP£¬¶¯Ì¬»ñÈ¡IP¡£
2¡¢´®¿Ú²ÎÊýÉèÖãº
Óô®¿ÚÉèÖÃÈí¼þËÑË÷USR-M511µÄIP¡£È·ÈÏÊÇ192.168.1.237
3¡¢ÍøÒ³²ÎÊýÉèÖãº
ÔÚµçÄÔ´ò¿ªä¯ÀÀÆ÷£¬ÊäÈ뾲̬IP192.168.1.237 µÇ¼USR-M511µÄÄÚÖÃÍøÒ³¡£
µÇ¼Óû§ÃûÊÇadmin£¬ÃÜÂëÊÇadmin¡£
ÍøÒ³¼ì²é´®¿Ú²ÎÊý£¬¹¤×÷·½Ê½ÉèÖÃMODBUS RTU´Ó»úģʽ£¬±¾µØ¶Ë¿ÚºÅĬÈÏÊÇ502£¬Modbus ³¬Ê±Ê±¼äĬÈÏÊÇ200ms,ÐèÒª¸Ä´ó£¬¸Ä³É5000ms¡£
4¡¢MODBUS SLAVEºÍMODBUS POLLÈí¼þÉèÖãº
Ä£Äâ²âÊÔÓÃMODBUS SLAVEÈí¼þ×ö´®¿ÚÉ豸£¬ÓÃMODBUS POLLÈí¼þ×öÍøÂç¶Ë¡£
MODBUS SLAVEÈí¼þÉèÖô®¿Ú²ÎÊý£¬²¨ÌØÂÊ¡¢Êý¾Ýλ¡¢Í£Ö¹Î»¡¢Ð£Ñé룬ÐèÒªºÍUSR-M511µÄ´®¿Ú²ÎÊýÉèÖÃÒ»Ö¡£
MODBUS POLLÈí¼þÉèÖÃMODBUS TCP/IP¡£IPµØÖ·ÌîUSR-M511µÄIPµØÖ·£¬Server PortÌîUSR-M511µÄ¶Ë¿ÚºÅ502¡£×¢ÒâMODBUS POLLÈí¼þµÄ3¸öʱ¼ä²ÎÊý£¬ÒÀ´ÎÊÇ
response Timeout 5000ms
Delay between Polls 1000ms
Connect Timeout 3000ms¡£
MODBUS SLAVEÈí¼þºÍMODBUS POLLÈí¼þµÄÉ豸ID SLAVE IDÐèÒªÉèÖÃÒ»Ö£¬¼Ä´æÆ÷ÆðʼµØÖ·ºÍ¼Ä´æÆ÷ÊýÁ¿ÉèÖÃÒ»Ö¡£¾ÙÀý£¬ÎÒÓõÄÊÇÆðʼµØÖ·0£¬¼Ä´æÆ÷ÊýÁ¿10¡£ÓõÄÊÇ03¹¦ÄÜÂë¡£
SLAVE ID ÊÇ1¡£±¸×¢£ºMODBUS POLLÈí¼þÓÐЩ°æ±¾£¬ÓÐÒ»¸ö¶ÁдѡÏRead/Write Disabled,ÐèҪȡÏû¹´Ñ¡¡£
5¡¢»ù±¾Í¨Ñ¶²âÊÔ£º
¸Ä±äMODBUS SLAVEÈí¼þµÄÊý¾Ý£¬MODBUS POLLÈí¼þ¾Í¿ÉÒԲɼ¯µ½ÕýÈ·µÄÊý¾Ý¡£
Ä£ÄâÁËÍøÂç¶ËÏ·¢²éѯÃüÁ´®¿Ú»Ø¸´Êý¾Ý¡£
±¸×¢£ºMODBUS SLAVEÈí¼þºÍMODBUS POLLÈí¼þµÄÑ¡ÏîDisplay£¬µã¿ªÖ®ºó£¬×îÏÂÃæµÄCommunication Traffic£¬ÊÇÁ½¸öÈí¼þÊý¾Ý¼à¿Ø£¬¿ÉÒԲ鿴MODBUS Êý¾Ý£¬ÊÇ·ñÕý³£¡£