Location>code7788 >text

bacnet mstp device data to IEC61850 project case

Popularity:679 ℃/2024-09-04 11:31:19

catalogs
1 Description of cases 1
2 Working principle of VFBOX gateway 1
3 Reading BACNET MSTP device information using YABE software 2
4 Configuring the Gateway to Collect BACNET MSTP Data 4
5 Forwarding data with the IEC 61850 protocol 6
6 Methods for gateways to use multiple logical devices and logical nodes 8
7 Summary of cases 9

1 Case description

  1. Use the Yabe software to obtain bacnet mstp device information, if the bacnet device information is known, you can skip this step.
  2. Configure the VFBOX gateway to collect bacnet device data.
  3. Gateway forwards data via IEC 61850

2 Working Principle of VFBOX Gateway
VFBOX gateway is a protocol conversion gateway, which converts one protocol to another. The gateway can collect Siemens, Omron, Mitsubishi, AB PLC, DLT645, DLT698 meter, modbus rtu tcp, environmental protection HJ212 protocol, opc ua and opc da, power IEC103 IEC104, IEC61850, etc., as well as EthernetIP, Profinet IO. CCLink, EtherCAT fieldbus protocol, bacnet, MQTT, mysql, sqlserver database. Different models of gateways support different protocols, the specific supported protocols refer to the model number on the label on the side of the gateway. Relying on more than 500 models of gateway products, it is possible to realize the interconnection between many different protocols.
The gateway is connected between devices with different protocols, like a "translator", converting the protocol supported by one device into the protocol supported by another device, thus realizing the data exchange between two devices with different protocols. The working architecture is as follows:

在这里插入图片描述

3 Use the Yabe software to read the bacnet mstp device information.

  1. The BACnet device is connected to the computer via a serial cable. Open the yabe software on your computer.

  2. Select "Add Device" under the menu "Functions".
    在这里插入图片描述

  3. BACnet mstp device connected to the computer through the serial cable, in the "BACnet/IP over serial" field for the corresponding settings, the baud rate with 38400, Port select the mstp device connected to the computer's serial port number, source address can be set to 1,, click "Add" button. Click the "Add" button.
    在这里插入图片描述

  4. After clicking add, you can see the mstp devices scanned by yabe. Select a device, you can see the device ID, point register information. device: 1 means the device ID is 1, Analog_Input: 10983 is the attribute and address of the point. You can press and hold the mouse on a point and drag the point to the center window to display the value of the point.
    在这里插入图片描述

4 Configure the gateway to collect bacnet mstp data

  1. Open the VFBOX studio software. Create a new project, and select the actual model of the gateway for the device type. The available models are: VB301-1100, VB301-1200, VB301-1400, VB302-2400, VB303-2400.

  2. Click New Device and select BACnet MSTP
    在这里插入图片描述

  3. Serial port: the serial port number of the gateway to which the mstp device is connected. Baud rate: the baud rate of the mstp device (usually 38400). Master MAC address: the MAC address of the gateway, this address can't be the same as the mac address of the mstp device. bacnet device ID: the ID of the mstp device, the number after the Device read on yabe software.
    在这里插入图片描述

  4. Add a point in the following order. 10983 is the address of the point read by yabe.
    在这里插入图片描述

  5. Address Description:

  6. Analog Input - analog input object, AnalogOutput - analog output object, AnalogValue - analog value object

  7. Binary Input - binary input object, Binary Output binary output object, Binary Value - binary value object

  8. Multi state is a polymorphic object.

  9. input is read-only, outpu read/write, value read/write.

  10. After completing the configuration, click "Download", click "View Data" to see the collected data.
    在这里插入图片描述

5 Forwarding data with the IEC 61850 protocol

  1. Enable IEC 61850 services.
    在这里插入图片描述

Option Description
Enable Yes:Enable 61850 function
Enable Reporting Yes: Enable the automatic reporting function of the gateway to report regularly and report any changes in the data.
Port 102. the listening port of the gateway, which is not normally modified.
Reporting triggers GI to report data when there is a change in the data. You need to set "Enable Reporting" to YES.
Reporting Period Interval The interval at which the gateway automatically reports data. The unit is milliseconds.
Control mode Control mode:
Select before operate: select control. Select before operate
Sbow:select with value
Direct: Direct control. Direct control
Number of Reporting Instances Number of masters to report. If you need more than one, you can set it according to the master's requirements
Reported Instance Simple Name Yes: Name only.
No: Contains information such as device name, path, etc.
Data set contents Setting DA exports the DA data set.
Setting DO will export the DO dataset
SPS Additional Attributes
MV Additional Attributes
APC Selection Attribute Set to Yes to include the appropriate information in the exported ICD file.
Set to No, the corresponding information is not included in the exported ICD file.

IED Name The IED name of the gateway
Logical device name Logical device name
Note: If you are not sure about the above parameters, you can generally use the default, the master has special needs in the corresponding changes. In addition, you can let the master provide ICD file samples, can also be modified against.

  1. Add the data to be forwarded.
    在这里插入图片描述

Option Description
SPS single point status Telecommunication digital DI point, Boolean status report. Point name: Ind1, Ind2, Ind3 ... (I is capitalized i)
INS integer state Telecommunication multi-state DI points, multi-boolean state reporting.
SPC controllable single point Remote control output volume DO point, platform control Boolean volume. Point names: SPCSO1, SPCSO2, SPCSO3. (O is capital o, not the number 0)
MV Measurement Telemetry analog AI points. Analog reporting. Point name: AnIn1, AnIn2, AnIn3 ... (I is capitalized i)
APC Controllable Analog Setpoints Telemodulation. The platform sends down the setup analog. Point name: APC1,APC2...

  1. If you want the platform to be able to issue control, you need to put the variables in "SPC controllable single point" and "APC controllable analog set point".
    "SPS Single Point Status" and "SPC Controllable Single Point" are switching quantities.
    "MV measured value" and "APC controllable analog setpoint" are data analog quantities.
  2. After setting, click "Download" to download the project to the gateway.

6 Gateway using multiple logical devices and logical nodes

  1. In some occasions where the amount of data collected is large, such as more than 1,000 points, it is recommended to build multiple logical devices.

  2. As shown in the following figure, clear the "Logical device name". Keep the IED name.
    在这里插入图片描述

  3. Set the label name as follows.
    在这里插入图片描述

Label name Description
DEV1 DEV1 is the logical device name, and the number of points (not logical nodes) under a logical device name does not exceed 200. For a large number of points, set multiple logical devices.
GGIO1 GGIO1: Logical node name. Multiple logical nodes can be set up under the same logical device.

7 Case Summary
The use of protocol conversion gateway can easily realize the data conversion between devices with different protocols. It saves a lot of time and labor cost during the project implementation process.VFBOX gateway products are all industrial grade quality and meet the industrial application scenarios. Only need simple parameter configuration, can quickly complete the connection between the device and the system. Advantages of the program:

  1. There is no need to modify the program in the device.
  2. It does not affect the original working mode and function of the equipment.
  3. Simple configuration is all that is needed to fulfill the functional requirements.
  4. The equipment works stably for a long time.
  5. The gateway operates with the following architecture
    在这里插入图片描述