Barium-Rhenium Technology BL102 PLC Gateway Case: Remote Debugging of Siemens PLC Programs

 

  1. Network port PLC remote download

1. Open the gateway configuration software, click "Search" and search for the intranet gateway BL102

2. Search the gateway device, select the device to be configured, and double-click to log in.

3. Enter the login password to log in, the default is 123456

4. Configure the gateway network port to collect PLC. Remote download currently only supports PLC devices under the LAN port. The IP address of the example S7-200SMART is 192.168.5.16. So click LAN to change the IP address to: 192.168.5.1, and click OK.

5. Click LAN, right-click to add a device, customize the device name, fill in the IP address of the S7-200SMART PLC, the port is fixed at 102, and select the S7_200SMART_E type. Click OK

​6. Be sure to add data points. In the box, right-click the mouse to pop up the data point adding box and add the data to be collected. For example, add Q0.0 data point.

7. Click Advances Settings to pop up the configuration box and enable the BLRMS function. The token is the only Token found in the token key after logging into the BLRMS system and copied to the token configuration item.

8. Since many gateway devices can be allowed under one account, you can change the name of the gateway to identify which device it is.

9. After configuring, click Write Configuration for the gateway configuration to take effect.

10. Log in to the configuration software again and check whether the acquisition of S7-200SMART is successful. If the acquisition is successful, the gateway device prompts in green.

Edit switch to center

Add a comment on the image, no more than 140 words (optional)

Note: The above steps 1-10 are based on the configuration that the gateway device and the computer are in the same LAN, or the computer is directly connected to the gateway device.

11. Log in to the BLRMS system to see if a new gateway device is added and online.

Edit switch to center

Add a comment on the image, no more than 140 words (optional)

12. Open the given EthernetPassthrough folder and click

Add a comment on the image, no more than 140 words (optional)

Install the virtual network card, and the installation path should be the default.

Edit switch to center

Add a comment on the image, no more than 140 words (optional)

13. After installation, you can see a new network adapter in the network connection.

Edit switch to center

Add a comment on the image, no more than 140 words (optional)

14. Open the BaRe gateway configuration software. Note: the gateway configuration software must be in the same folder as the EthernetPassthrough folder.

Edit switch to center

Add a comment on the image, no more than 140 words (optional)

15. Click BLRMS system to use BLRMS system functions.

Edit switch to center

Add a comment on the image, no more than 140 words (optional)

16. Enter the username and password to log in to the BLRMS system, and click Login. Select the gateway to perform the operation. The gateway must be online. If it is not online, please check the gateway’s network or contact Barium Rhenium after-sales service. Select remote transparent transmission as the mode, select the network port as the channel, the IP and port are the IP and port of the PLC, which are the PLC parameter configuration items filled in the gateway configuration software. Click to start remote transparent transmission. Starting the remote transparent transmission gateway will stop data collection from the PLC.

Edit switch to center

Add a comment on the image, no more than 140 words (optional)

17. Whether the remote network port PLC download function is used successfully, you can check whether the previously installed network adapter is assigned an IP address in the same network segment as the PLC.

Edit switch to center

Add a comment on the image, no more than 140 words (optional)

18. Open the Siemens STEP7 software, click Communication, select the installed network card TAP-Windows Adapter V9.TCPIP.Auto.1, search for PLC, find the PLC to be downloaded remotely, and click OK.

Edit switch to center

Add a comment on the image, no more than 140 words (optional)

19. After the communication is successful, all operations of direct connection between the computer and PLC are supported, such as reading the PLC program and clicking to upload.

Edit switch to center

Add a comment on the image, no more than 140 words (optional)

20. The program to read into the PLC is as shown below

Edit switch to center

Add a comment on the image, no more than 140 words (optional)

21. Modify the PLC program, such as adding one more line, I0.2 closing controls Q0.2 closing.

Edit switch to center

Add a comment on the image, no more than 140 words (optional)

22. Click Download to download the program to the PLC.

Edit switch to center

Add a comment on the image, no more than 140 words (optional)

23. In order to better see whether the PLC program is downloaded successfully, create a new project, re-communicate, and click Upload to see whether the program was just downloaded.

Edit switch to center

Add a comment on the image, no more than 140 words (optional)

Edit switch to center

Add a comment on the image, no more than 140 words (optional)

24. To stop remote transparent transmission, click the button to start remote transparent transmission before, and click to close the connection. Only then will the gateway re-collect data from the PLC.

Edit switch to center

Add a comment on the image, no more than 140 words (optional)

Guess you like

Origin blog.csdn.net/qq_27395975/article/details/132470752