
USR-TCP232-410S H7 modbusÍø¹Ø¹¦ÄܲâÊÔ
Ò»¡¢×ÊÁÏÏÂÔØ
1.USR-TCP232-410s-H7 ˵Ã÷Êé/Down/USR-TCP232-410s-H7-V1.0.1.pdf
2.£¨Ð°汾£©H7ϵÁеÄÉèÖÃÈí¼þ/Download/383.html
3.ÓÐÈËÍøÂçµ÷ÊÔÖúÊÖ ´®¿Úµ÷ÊÔÖúÊÖ¶þºÏÒ» USR-TCP232-Test /Download/27.html
¶þ¡¢×¼±¸¹¤×÷
1¡¢USR-TCP232-410S-H7²úÆ· ÊýÁ¿1¸ö
2¡¢µçÔ´ÊÊÅäÆ÷ 12V ÊýÁ¿1¸ö
3¡¢ÍøÏß ÊýÁ¿1¸ù
4¡¢USB-RS485´®¿ÚÏß»òÕßUSR-232´®¿ÚÏß ÊýÁ¿1Ìõ(²âÊÔÓõÄ485)
5¡¢µçÄÔ ÊýÁ¿1̨
Èý¡¢Á¬½Ó¿òͼ
ËÄ¡¢µçÄÔÉèÖÃ
1£©µçÄÔ±¾µØÁ¬½Ó£¬IPÉèÖúÍN410s IPͬÍø¶Î£¬N410ĬÈÏIPÊÇ192.168.0.7£¬Íø¹Ø192.168.0.1£¬µçÄÔ±¾µØÁ¬½ÓIPv4ÉèÖþ²Ì¬IP£¬192.168.0.201£¬×ÓÍøÑÚÂë255.255.255.0£¬Íø¹Ø192.168.0.1¡£½ûÓÃÆäËûÍø¿¨¡£
2£©µçÄԹرշÀ»ðǽ
3£©¼ì²éUSR-RS485´®¿ÚÏßµÄCOM¿ÚºÅ
µã»÷µçÄÔ¼ÆËã»ú£¬ÓÒ»÷Êó±ê£¬µã»÷É豸¾ÓªÆ÷£¬²é¿´¶Ë¿Ú£¬È·ÈÏUSB-RS485´®¿ÚÏßµÄCOM¿ÚºÅ£¬ÓÐÈ˲âÊÔµçÄÔÊÇcom27
Îå¡¢²úÆ·²ÎÊýÉèÖÃ
1¡¢ÏÂÔز¢´ò¿ªH7ϵÁÐÅäÖÃÈí¼þ£º
ÓÃH7ϵÁÐÅäÖÃÈí¼þËÑË÷410sÉ豸£¬µ¥»÷ËÑË÷
2¡¢µÇ¼
ÊäÈë¿Í‘ôÃûadminºÍÃÜÂëadmin£¬µã»÷È·¶¨
3¡¢µ¥»÷²úÆ·Ãû³ÆÏÔʾÐÅÏ¢
ÏÔʾIP 192.168.0.7Ö®ºó£¬µ¥»÷IP£¬ÓÒ²àÏÔʾ410s²ÎÊýÉèÖÃÒ³Ãæ¡£
Áù¡¢Êý¾Ýµ÷ÊÔ
1¡¢MODBUSÍø¹Ø²ÎÊýÉèÖãº
¹¤×÷·½Ê½ÉèÖÃTCP server ModbusTCP£¬±¾µØ¶Ë¿ÚºÅĬÈÏÊÇ26£¬Modbus TCPÂÖѯĬÈÏÊǹرգ¬ÐèÒª¹´Ñ¡¿ªÆôMODBUS TCPÂÖѯ¡£
ÂÖѯ³¬Ê±Ê±¼äĬÈÏÊÇ200ms,ÐèÒª¸Ä´ó£¬¸Ä³É5000ms¡£
±£´æ²ÎÊý£¬ÖØÆôÉ豸¡£
2¡¢MODBUS SLAVEºÍMODBUS POLLÈí¼þÉèÖãº
MODBUS SLAVEÈí¼þºÍMODBUS POLLÈí¼þµÄÉ豸ID SLAVE IDÐèÒªÉèÖÃÒ»Ö£¬¼Ä´æÆ÷ÆðʼµØÖ·ºÍ¼Ä´æÆ÷ÊýÁ¿ÉèÖÃÒ»Ö¡£¾ÙÀý£¬ÎÒÓõÄÊÇÆðʼµØÖ·0£¬¼Ä´æÆ÷ÊýÁ¿10¡£ÓõÄÊÇ03¹¦ÄÜÂë¡£
SLAVE ID ÊÇ1¡£±¸×¢£ºMODBUS POLLÈí¼þÓÐЩ°æ±¾£¬ÓÐÒ»¸ö¶ÁдѡÏRead/Write Disabled,ÐèҪȡÏû¹´Ñ¡¡£
3¡¢Ä£Äâ²âÊÔÓÃMODBUS SLAVEÈí¼þ×ö´®¿ÚÉ豸£¬ÓÃMODBUS POLLÈí¼þ×öÍøÂç¶Ë¡£
MODBUS SLAVEÈí¼þÉèÖô®¿Ú²ÎÊý£¬²¨ÌØÂÊ¡¢Êý¾Ýλ¡¢Í£Ö¹Î»¡¢Ð£Ñé룬ÐèÒªºÍUSR-TCP232-410SµÄ´®¿Ú²ÎÊýÉèÖÃÒ»Ö¡£
MODBUS POLLÈí¼þÉèÖÃMODBUS TCP/IP¡£IPµØÖ·ÌîUSR-TCP232-410SµÄIPµØÖ·£¬Server PortÌîUSR-TCP232-410SµÄ¶Ë¿ÚºÅ23¡£×¢ÒâMODBUS POLLÈí¼þµÄ3¸öʱ¼ä²ÎÊý£¬ÒÀ´ÎÊÇ
response Timeout 5000ms
Delay between Polls 1000ms
Connect Timeout 3000ms¡£
»ù±¾Í¨Ñ¶²âÊÔ£º
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 Êý¾Ý£¬ÊÇ·ñÕý³£¡£
Óô®¿Úµ÷ÊÔÖúÊÖ£º
Modbus rtuºÍmodbus tcpÐÒéÇø±ð£ºModbus TCP ÐÒéÔòÊÇÔÚ Modbus RTU ÐÒéÉϼÓÒ»¸ö MBAP ±¨ÎÄÍ·£¬Õâ¸ö MBAP ±¨ÎÄÍ·¹²Æ߸ö×Ö½Ú³¤¶È£¬³ýÁ˵ÚÎå¡¢Áù¸ö×Ö½ÚÍ⣬ÆäÓàµÄ»ù±¾É϶¼ÊDz»±ä£¨±ÈÈ磬modbus rtuÊý¾ÝÊÇ£º01 03 10 01 00 07 51 08£¬modbus tcpÊý¾Ý¾ÍÊÇ£º00 00 00 00 00 06 01 03 10 01 00 07£¬µÚÎå¡¢Áù¸ö×Ö½ÚΪ00 06£¬±íʾ00 06 ºóÃæÓÐ6¸ö×Ö½Ú£©