
Ò»¡¢×ÊÁÏÏÂÔØ
¶þ¡¢µçÄÔÉèÖÃ
°´Â·¾¶£º¿ØÖÆÃæ°å--->ÍøÂçºÍInternet--->ÍøÂçºÍ¹²ÏíÖÐÐÄÕÒµ½¡°windows·À»ðǽ¡±ºÍ¡°¸ü¸ÄÊÊÅäÆ÷ÉèÖá±Ñ¡Ï¹Ø±Õ·À»ðǽ²¢½ûÓÃÓë±¾´Î²âÊÔÎ޹صÄÍø¿¨¡£²¢¹Ø±ÕµçÄÔɱ¶¾Èí¼þ¡£


Èý¡¢Ó²¼þÁ¬½Ó
ÒÔÌ«ÍøÄ£¿éUSR-K7µÄÍø¿ÚÓÃÍøÏßÁ¬½ÓµçÄÔÍø¿Ú£¬µçÄÔIpºÍK7µÄIpÉèÖÃͬһÍø¶Î¡£(»òÕßK7Íø¿ÚÓÃÍøÏß½Ó·ÓÉÆ÷£¬µçÄÔÒ²Á¬½Óͬһ¸ö·ÓÉÆ÷¡£K7Óô®¿ÚÉèÖÃÈí¼þÉèÖÃDHCp£¬¶¯Ì¬»ñÈ¡Ip)
¾²Ì¬Ip£º

DHCP»ñÈ¡ip£º

±¾´Î²âÊÔÊÇDHCp¶¯Ì¬»ñÈ¡Ip¡£
Èý¡¢´®¿Ú²ÎÊýÉèÖÃ
1.ÓÃM4ÉèÖÃÈí¼þËÑË÷K7µÄIp¡£³ö³§Ä¬ÈÏÊÇ192.168.0.7£¬Ð޸ijÉDHCp/¶¯Ì¬ip£¬±£´æÉèÖá£

2.ÍøÒ³²ÎÊýÉèÖãº
ÔÚµçÄÔ´ò¿ªä¯ÀÀÆ÷£¬ÊäÈ붯̬»ñÈ¡µÄIp 172.16.14.156 µÇ¼K7µÄÄÚÖÃÍøÒ³¡£
µÇ¼Óû§ÃûÊÇadmin£¬ÃÜÂëÊÇadmin¡£
ÍøÒ³¼ì²é´®¿Ú²ÎÊý£¬¹¤×÷·½Ê½ÉèÖÃTCp server ModbusTCp£¬±¾µØ¶Ë¿ÚºÅĬÈÏÊÇ8899£¬ÎÒÕâ±ßÐ޸ijÉÁË8845£¬Modbus TCpÂÖѯĬÈÏÊǹرգ¬ÐèÒª¹´Ñ¡MODBUS TCpÂÖѯʱ¼ä¡£±£´æÉèÖã¬ÖØÆô²ÎÊýÉúЧ¡£
ÂÖѯ³¬Ê±Ê±¼äĬÈÏÊÇ200ms,ÐèÒª¸Ä´ó£¬¸Ä³É5000ms¡£


ÖØÆôÖ®ºó£¬Èç¹û³öÏÖ404´íÎóÌáʾ£¬ÖØÐÂË¢ÐÂÍøÒ³¾Í¿ÉÒÔ
3.MODBUS SLAVEºÍMODBUS pOLLÈí¼þÉèÖãº
Ä£Äâ²âÊÔÓÃMODBUS SLAVEÈí¼þ×ö´®¿ÚÉ豸£¬ÓÃMODBUS pOLLÈí¼þ×öÍøÂç¶Ë¡£
MODBUS SLAVEÈí¼þÉèÖô®¿Ú²ÎÊý£¬²¨ÌØÂÊ¡¢Êý¾Ýλ¡¢Í£Ö¹Î»¡¢Ð£Ñé룬ÐèÒªºÍK7µÄ´®¿Ú²ÎÊýÉèÖÃÒ»Ö¡£
MODBUS pOLLÈí¼þÉèÖÃMODBUS TCp/Ip¡£IpµØÖ·ÌîK7µÄIpµØÖ·£¬Server portÌîK7µÄ¶Ë¿ÚºÅ8845¡£×¢ÒâMODBUS pOLLÈí¼þµÄ3¸öʱ¼ä²ÎÊý£¬ÒÀ´ÎÊÇ
response Timeout 5000ms
Delay between polls 1000ms
Connect Timeout 3000ms¡£


4.MODBUS SLAVEÈí¼þºÍMODBUS pOLLÈí¼þµÄÉ豸ID SLAVE IDÐèÒªÉèÖÃÒ»Ö£¬¼Ä´æÆ÷ÆðʼµØÖ·ºÍ¼Ä´æÆ÷ÊýÁ¿ÉèÖÃÒ»Ö¡£¾ÙÀý£¬ÎÒÓõÄÊÇÆðʼµØÖ·0£¬¼Ä´æÆ÷ÊýÁ¿10¡£ÓõÄÊÇ03¹¦ÄÜÂë¡£
SLAVE ID ÊÇ1¡£±¸×¢£ºMODBUS pOLLÈí¼þÓÐЩ°æ±¾£¬ÓÐÒ»¸ö¶ÁдѡÏRead/Write Disabled,ÐèҪȡÏû¹´Ñ¡¡£
²âÊÔ½á¹ûÈçÏ£º

ÆäËü²âÊÔ°¸Àý£º