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
- Use the Yabe software to obtain bacnet mstp device information, if the bacnet device information is known, you can skip this step.
- Configure the VFBOX gateway to collect bacnet device data.
- 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.
-
The BACnet device is connected to the computer via a serial cable. Open the yabe software on your computer.
-
Select "Add Device" under the menu "Functions".
-
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.
-
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
-
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.
-
Click New Device and select BACnet MSTP
-
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.
-
Add a point in the following order. 10983 is the address of the point read by yabe.
-
Address Description:
-
Analog Input - analog input object, AnalogOutput - analog output object, AnalogValue - analog value object
-
Binary Input - binary input object, Binary Output binary output object, Binary Value - binary value object
-
Multi state is a polymorphic object.
-
input is read-only, outpu read/write, value read/write.
-
After completing the configuration, click "Download", click "View Data" to see the collected data.
5 Forwarding data with the IEC 61850 protocol
- 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.
- 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...
- 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. - After setting, click "Download" to download the project to the gateway.
6 Gateway using multiple logical devices and logical nodes
-
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.
-
As shown in the following figure, clear the "Logical device name". Keep the IED name.
-
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:
- There is no need to modify the program in the device.
- It does not affect the original working mode and function of the equipment.
- Simple configuration is all that is needed to fulfill the functional requirements.
- The equipment works stably for a long time.
- The gateway operates with the following architecture