Ihyerdb modbus collector configuration.

Source: Internet
Author: User

Recently checked the relevant configuration of the Ihyerdb-modbus collector, because there is no relevant modbus equipment, so this morning according to the online clues to download the Modbus Slave (modbus slave simulator). The laptop does not have a serial port, so it downloads virtual Serial Port Driver 7.2 Virtual serial port. Everything is ready to start the simulation experiment.

1. Download Modbus Slave:http://down1.cr173.com/soft1/modbusslave.rar

2. Download virtual Serial Port Driver 7.2:http://down.liangchan.net/vspd7.2.308.zip

(The installation is simple, all without the brain next).

3. Open the Modbus slave F8 outbound slave settings, configure the Slave station address, function code, function code and register corresponding to the relationship, specific reference: http://blog.csdn.net/xukai871105/article/details/15654689

4.F3 Outbound Mdobus Protocol working mode, divided into serial port \ Ethernet, and configure the corresponding serial port parameters. The configuration is complete, not connected, the Modbus slave is connected to the computer's virtual serial port COM2. The parameter is: 9600-e-8-1.

5. After installing the virtual serial port, create a new pair of virtual serial ports. The Break Line/restore connection option on the right is to indicate whether COM1 and COM2 communication is enabled, the Slave emulator is configured on COM2, and the serial debugging spirit is configured on the COM1. Can simulate the host computer to send summon code in the native debugging.

6. After the preparation is finished, the Ihyerdb modbus configuration is started. Download Ihyerdb database-Open service-Configure server-bring your own manuals it is clear that this is not explained here.

7. Open the Modbus Configuration tool. Configure the Collector list---device list---Right-hand connection Information list. Select the type of Modbus for the collection configuration, name it at will. then fill in the device name.

8. After the equipment configuration is complete, the main configuration of the right port number related information, due to the use of virtual serial port, the slave simulator uses COM2, which is configured as COM1. The parameters are also 9600-e-8-1. Note the configuration of the scan group:

9. In the Local Collector Configuration tab, select the Modbus collector that you just configured to start the operation.:

10. Open the IHYERDB System Management tool, select the Acquisition Status View menu, display the configured collector is active, the device is configured for the connected status.

11. Click on the Data Source menu of the management tool to configure the tag.

12. After all configuration, you can click on the menu of real-time record query, the status of the node is good connection is normal, and can get the value of register 400002 in real time, because a register represents two bytes, a 16-bit integer, exactly with a complete register address description, such as the example of 400002 , it reads a 16-bit integer number, which is obtained in 400002. Comparison of slave results:

After all the configuration experiments have been completed, IHYERDB can support the two development of C # and remove the register data directly from the tag node.

Ihyerdb modbus collector configuration.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.