BLIIoT Gateway Collects Siemens PLC Data to AWS Cloud - Case 2

BLIIoT Gateway Collects Siemens PLC Data to AWS Cloud - Case 2

BL110 Gateway Collects Siemens PLC S7-200 Data Through Ethernet Port.

1. Adding Siemens PLC via Ethernet Port

Siemens PLC data can be collected through WAN, LAN and cascaded switch.

LAN?Port Configuration

Below is example of connecting Siemens PLC S7-200SMART to BL110 LAN port. LAN port configuration is as below:

No alt text provided for this image

  • Double click LAN to enter configuration box.
  • DHCP: enable auto IP distribution. Default is disabled.
  • Routing: Enable network routing function. Default is disabled. For example, PLC S7-200SMART?does not need network. Thus it’s necessary to enable it.
  • IP Address: defaut is 192.168.3.1, the IP addresses assigned to LAN port devices must be within the range. WAN and LAN IP address can’t be the same. For example, S7-200SMART?IP is fixed, then change IP address of gateway.
  • MAC Addres: Input LAN port MAC address.
  • Click OK to confirm it.

Note: Click Save Data and Gateway will restart.?Turn off the power of Gateway and restart it. After that LAN port configuration is done successfully.

Note: LAN Port IP Address specifies the IP address arrange of LAN port device. If device IP address is not within the range, data can’t be collected. Thus it’s necessary to change LAN port IP address according to requirement. IP Address change will not be effective until gateway is power off and powered on again.

2. Add LAN?Port Siemens PLC S7-200SMART

No alt text provided for this image

  • Click LAN and right click mouse?and click Add?to enter device configuration box.
  • Device Name: set device name, for example, set S7-200SMART?as device name.
  • Device IP: input PLC?IP address. For example, PLC S7-200SMART?IP is 192.168.3.16, thus put 192.168.3.16 here. This is PLC IP address. PLC IP address and LAN Port IP address must be in the same range.
  • Device Port: input LAN port device port. Default port of S7-200SMART is 102. Thus put 102.
  • Device Brand: Select Siemens as Device Brand and select S7-200SMART?as device model.
  • Click OK to confirm adding PLC S7-200SMART.

Note: S7-200SMART?device icon will appear after confirming the configuration. If more devices?to be added, perform the same procedure as Step.

Note: Click Save Data and gateway will restart automatically. After restarting, PLC S7-200SMART?is added successfully.?

3. Add LAN Port PLC S7-200SMART?Datapoint

Below is part of S7-200SMART register Q & VW data configuration.

No alt text provided for this image

  • Click S7-200SMART, move mouse cursor to the right box, right click the mouse and click Add to enter datapoint configuration box.
  • Variable Name: Set the name of datapoint, for example, VW0.
  • Variable Unit: set any unit according to actual requirement.
  • Address Type: select address type according to PLC register. Here VW0 address type is VW.
  • Starting Address: Register address of datapoint. Here VW0 address is 0.?
  • Data Type: select data type according to PLC register type.
  • Adding Qty: If addresses are consecutive, the same register will collect multiple addresses.
  • Read-Write Type: select from Read only and Read & Write.
  • Ratio: set the ratio to be multiplied or minified for uploading to cloud.
  • Modbus Mapping Address:?Set address where datapoint will be saved in BL110.

Modbus mapping address can be any from 0 to 2000 and it can’t be repeated

For example, set 8 as VW0 mapping address

  • MQTT Flag: It can be any identification mark and can’t be repeated.?For example: VW0.
  • Click OK to confirm.

Note: After confirming the configuration, datapoints will appear in the box like above picture. To add more datapoints, right click the box and click Add to enter configuration box. Perform the same procedure as Step

Note: Click Save Data. Gateway will restart automatically?and S7-200SMART?datapoint is added successfully.

4.?Connect to AWS Cloud Platform

No alt text provided for this image

On the configuration software of Siemens PLC S7-200PLC Gateway BL110, select the upstream data protocol, MQTT, Modbus TCP, and OPC UA protocols, and 9 platforms can be selected at the same time. You can directly choose AWS Cloud, Huawei Cloud, Alibaba Cloud, Thingsboard, Sparkplug B protocol or private cloud protocol, or OPC UA protocol, and fill in the corresponding parameters.

More information :?https://www.iot-solution.com/industrial-iot-edge-gateway-p00272p1.html

The #BLIIOT #BL110 is a very good choice for PLC to OPC UA and PLC to MQTT

回复

要查看或添加评论,请登录

BLIIoT--Beilai Tech.Co.,Ltd.的更多文章

社区洞察

其他会员也浏览了