
http://www.usr.cn/Down/USR-TCP232-304-software-V1.0.4.pdf
µÚ11Ò³304¹¤×÷ģʽ
http://www.usr.cn/Product/72.html
ÐéÄâ´®¿ÚÈí¼þÏÂÔØÁ¬½Ó
http://www.usr.cn/Download/257.html
M0ÉèÖÃÈí¼þÏÂÔØÁ¬½Ó
±¸×¢£º½¨ÒéʹÓÃʱ£¬304ÉèÖÃTCP client£¬ÐéÄâ´®¿ÚÉèÖÃTCP server
304ʹÓõÄÊÇ485£¬°ëË«¹¤£¬Êý¾Ý²»ÄÜË«Ïòͬʱ´«Êä¡£
Ò»¡¢µ÷ÊÔ·½·¨×¼±¸¹¤×÷£º
USR-TCP232-304ʹÓÃÖ±Á÷µçÔ´ÊÊÅäÆ÷5V¹©µç¡£Ö»ÄÜ5V¹©µç¡£
USR-TCP232-304 ÓÃUSB-RS485´®¿ÚÏß½ÓµçÄÔºÍUSR-TCP232-304¡£
USR-TCP232-304Íø¿ÚÓÃÍøÏßÁ¬½ÓµçÄÔÍø¿Ú£¬µçÄÔIPºÍUSR-TCP232-304µÄIPÉèÖÃͬһÍø¶Î¡£
£¨»òÕßUSR-TCP232-304Íø¿ÚÓÃÍøÏß½Ó·ÓÉÆ÷£¬µçÄÔÒ²Á¬½Óͬһ¸ö·ÓÉÆ÷¡£USR-TCP232-304Óô®¿ÚÉèÖÃÈí¼þÉèÖÃDHCP£¬¶¯Ì¬»ñÈ¡IP£©
¶þ¡¢¾²Ì¬IPʱUSR-TCP232-304ÓëÐéÄâ´®¿ÚͨѶ£º
1¡¢Ó²¼þÁ¬½Ó£º
USR-TCP232-304ʹÓÃÖ±Á÷µçÔ´ÊÊÅäÆ÷5V¹©µç¡£Ö»ÄÜ5V¹©µç¡£
USR-TCP232-304 ÓÃUSB-RS485´®¿ÚÏß½ÓµçÄÔºÍUSR-TCP232-304¡£
USR-TCP232-304Íø¿ÚÓÃÍøÏßÁ¬½ÓµçÄÔÍø¿Ú£¬µçÄÔIPºÍUSR-TCP232-304µÄIPÉèÖÃͬһÍø¶Î¡£USR-TCP232-304ĬÈÏIPÊÇ192.168.0.7¡£Òò´ËµçÄÔÉèÖþ²Ì¬IP£¬192.168.0.201£¬×ÓÍøÑÚÂë 255.255.255.0£¬Íø¹Ø192.168.1.1¡£
2¡¢ÍøÂçËÑË÷IP£º
ÓÃM0ÉèÖÃÈí¼þËÑË÷USR-TCP232-304µÄIP¡£È·ÈÏÊÇ192.168.0.7
3¡¢304ÉèÖÃTCP server£¬ÐéÄâ´®¿ÚÉèÖÃTCP client£º
ÔÚµçÄÔ´ò¿ªä¯ÀÀÆ÷£¬ÊäÈ뾲̬IP192.168.0.7 µÇ¼USR-TCP232-304µÄÄÚÖÃÍøÒ³¡£
µÇ¼¿Í‘ôÃûÊÇadmin£¬ÃÜÂëÊÇadmin¡£
ÍøÒ³¼ì²é´®¿Ú²ÎÊý£¬¹¤×÷·½Ê½ÉèÖÃTCP server£¬±¾µØ¶Ë¿ÚºÅĬÈÏÊÇ23£¬ÍøÒ³ÉèÖòÎÊý±£´æÉèÖã¬ÐèÒªÖØÆô304.
ÐéÄâ´®¿ÚÈí¼þÊÖ¶¯Ìí¼ÓÒ»¸öCOM1£¬ÍøÂçÐÒéÉèÖÃTCP client£¬Ä¿µÄIPÌî192.168.0.7£¬Ä¿µÄ¶Ë¿ÚÌî23¡£
ÔÚµçÄÔÉÏ£¬´ò¿ª2¸ö´®¿ÚÖúÊÖ£¬USR-TCP232-TESTÈí¼þ¡£
·Ö±ð´ò¿ªUSR-TCP232-304ʵ¼Ê´®¿ÚCOM13£¬ÐéÄâ´®¿ÚCOM1¡£
´®¿Ú²ÎÊýÉèÖúÍUSR-TCP232-304´®¿Ú²ÎÊýÒ»Ö£¬²âÊÔʵ¼Ê´®¿ÚºÍÐéÄâ´®¿ÚÖ®¼äµÄÊý¾Ý´«Êä¡£
4¡¢304ÉèÖÃTCP client£¬ÐéÄâ´®¿ÚÉèÖÃTCP server£º
ÍøÒ³¼ì²é´®¿Ú²ÎÊý£¬¹¤×÷·½Ê½ÉèÖÃTCP client£¬±¾µØ¶Ë¿ÚºÅÉèÖÃ23£¬Ô¶³Ì¶Ë¿ÚÉèÖÃ8234£¬±¾µØ¶Ë¿Ú²»ÒªÉèÖúÍÆäËû¶Ë¿ÚÖظ´¡£±¾µØ¶Ë¿ÚÒ²¿ÉÒÔÉèÖÃΪ0£¬½¨Á¢TCPÁ¬½Óºó£¬±¾µØ¶Ë¿ÚÊÇËæ»ú·ÖÅäµÄ¡£Ô¶³Ì·þÎñÆ÷µØÖ·ÌîÐéÄâ´®¿ÚÈí¼þËùÔÚµçÄÔµÄIP¡£192.168.0.201
£¬ÍøÒ³ÉèÖòÎÊý±£´æÉèÖã¬ÐèÒªÖØÆô304.
ÐéÄâ´®¿ÚÈí¼þÊÖ¶¯Ìí¼ÓÒ»¸öCOM1£¬ÍøÂçÐÒéÉèÖÃTCP server£¬±¾µØ¶Ë¿ÚÌî8234¡£
ÔÚµçÄÔÉÏ£¬´ò¿ª2¸ö´®¿ÚÖúÊÖ£¬USR-TCP232-TESTÈí¼þ¡£
·Ö±ð´ò¿ªUSR-TCP232-304ʵ¼Ê´®¿ÚCOM13£¬ÐéÄâ´®¿ÚCOM1¡£
´®¿Ú²ÎÊýÉèÖúÍUSR-TCP232-304´®¿Ú²ÎÊýÒ»Ö£¬²âÊÔʵ¼Ê´®¿ÚºÍÐéÄâ´®¿ÚÖ®¼äµÄÊý¾Ý´«Êä¡£
Èý¡¢DHCP¶¯Ì¬»ñÈ¡IPʱ£¬USR-TCP232-304×öMODBUS RTU´Ó»ú£º
1¡¢Ó²¼þÁ¬½Ó£º
USR-TCP232-304ʹÓÃÖ±Á÷µçÔ´ÊÊÅäÆ÷5V¹©µç¡£Ö»ÄÜ5V¹©µç¡£
USR-TCP232-304 ÓÃUSB-RS485´®¿ÚÏß½ÓµçÄÔºÍUSR-TCP232-304¡£
USR-TCP232-304Íø¿ÚÓÃÍøÏß½Ó·ÓÉÆ÷£¬µçÄÔÒ²Á¬½Óͬһ¸ö·ÓÉÆ÷¡£USR-TCP232-304ÓÃM4ÉèÖÃÈí¼þÉèÖÃDHCP£¬¶¯Ì¬»ñÈ¡IP¡£
2¡¢ÍøÂçËÑË÷IP£º
ÓÃM0ÉèÖÃÈí¼þËÑË÷USR-TCP232-304µÄIP 192.168.1.143
3¡¢304ÉèÖÃTCP server£¬ÐéÄâ´®¿ÚÉèÖÃTCP client£º
ÔÚµçÄÔ´ò¿ªä¯ÀÀÆ÷£¬ÊäÈ뾲̬IP192.168.1.143 µÇ¼USR-TCP232-304µÄÄÚÖÃÍøÒ³¡£
µÇ¼¿Í‘ôÃûÊÇadmin£¬ÃÜÂëÊÇadmin¡£
ÍøÒ³¼ì²é´®¿Ú²ÎÊý£¬¹¤×÷·½Ê½ÉèÖÃTCP server£¬±¾µØ¶Ë¿ÚºÅĬÈÏÊÇ23£¬ÍøÒ³ÉèÖòÎÊý±£´æÉèÖã¬ÐèÒªÖØÆô304.
ÐéÄâ´®¿ÚÈí¼þÊÖ¶¯Ìí¼ÓÒ»¸öCOM1£¬ÍøÂçÐÒéÉèÖÃTCP client£¬Ä¿µÄIPÌî192.168.1.143£¬Ä¿µÄ¶Ë¿ÚÌî23¡£
ÔÚµçÄÔÉÏ£¬´ò¿ª2¸ö´®¿ÚÖúÊÖ£¬USR-TCP232-TESTÈí¼þ¡£
·Ö±ð´ò¿ªUSR-TCP232-304ʵ¼Ê´®¿ÚCOM13£¬ÐéÄâ´®¿ÚCOM1¡£
´®¿Ú²ÎÊýÉèÖúÍUSR-TCP232-304´®¿Ú²ÎÊýÒ»Ö£¬²âÊÔʵ¼Ê´®¿ÚºÍÐéÄâ´®¿ÚÖ®¼äµÄÊý¾Ý´«Êä¡£
4¡¢304ÉèÖÃTCP client£¬ÐéÄâ´®¿ÚÉèÖÃTCP server£º
ÍøÒ³¼ì²é´®¿Ú²ÎÊý£¬¹¤×÷·½Ê½ÉèÖÃTCP client£¬±¾µØ¶Ë¿ÚºÅÉèÖÃ23£¬Ô¶³Ì¶Ë¿ÚÉèÖÃ8234£¬±¾µØ¶Ë¿Ú²»ÒªÉèÖúÍÆäËû¶Ë¿ÚÖظ´¡£±¾µØ¶Ë¿ÚÒ²¿ÉÒÔÉèÖÃΪ0£¬½¨Á¢TCPÁ¬½Óºó£¬±¾µØ¶Ë¿ÚÊÇËæ»ú·ÖÅäµÄ¡£Ô¶³Ì·þÎñÆ÷µØÖ·ÌîÐéÄâ´®¿ÚÈí¼þËùÔÚµçÄÔµÄIP¡£192.168.1.113£¬
ÍøÒ³ÉèÖòÎÊý±£´æÉèÖã¬ÐèÒªÖØÆô304.
ÐéÄâ´®¿ÚÈí¼þÊÖ¶¯Ìí¼ÓÒ»¸öCOM1£¬ÍøÂçÐÒéÉèÖÃTCP server£¬±¾µØ¶Ë¿ÚÌî8234¡£
ÔÚµçÄÔÉÏ£¬´ò¿ª2¸ö´®¿ÚÖúÊÖ£¬USR-TCP232-TESTÈí¼þ¡£
·Ö±ð´ò¿ªUSR-TCP232-304ʵ¼Ê´®¿ÚCOM13£¬ÐéÄâ´®¿ÚCOM1¡£
´®¿Ú²ÎÊýÉèÖúÍUSR-TCP232-304´®¿Ú²ÎÊýÒ»Ö£¬²âÊÔʵ¼Ê´®¿ÚºÍÐéÄâ´®¿ÚÖ®¼äµÄÊý¾Ý´«Êä¡£