Jump to content
Sign in to follow this  
Guest Hervé

Display BACnet on UniStream

Recommended Posts

Guest Hervé

hello, I would like to know how to display the BACnet on unilogic.
I manage to make the link with an automaton but after I am blocked to visualize it on the supervison.

Thank's

Share this post


Link to post
Share on other sites

Hello,

The GW-BAC1 is an external, high performance Building Automation multi-protocol gateway that has been preprogrammed for enabling Unitronics products to various building automation protocols. These protocols include BACnet MS/TP and BACnet/IP. Configuration for the various protocols is done via Unitronics configuration tool UniBACnet Configurator.

 

To configure it you have the UniBACnet configurator. this configurator is a tool provided Unitronics that allows the user to create the configuration file for the GW-BAC1 easily. Once created, the configuration file should be downloaded to the GW-BAC1 in order to enable it to communicate with the Unitronics PLC. The UniBACnet configurator can be launched from both the VisiLogic and UniLogic programing applications Tools menu. This tool will configure the BACnet getaway as BACnet master and modbus Slave. If you wish to have the getaway act as BACnet slave and modbus master the configuration file should be change manualy before downloading it to the device.

 

The RS485 connection is a strait forward RS485 connection between the PLC and the getaway.

You may also connect the PLC via Ethernet port.

 

The Getaway supports Modbus RTU and Modbus Ethernet and Bacnet MS/TP and Bacnet IP.

You may have any combination of them.

I have attached some examples to use with UniStream PLCs.

Bacnet examples for Unilogic.zip

Share this post


Link to post
Share on other sites

Which sections would I swap here?

 

//================================================================================
//
// Common Information
//
Bridge
Title
CN0864 Unitronics v1.00a

//================================================================================
//
// Data Arrays
//
Data_Arrays
Data_Array_Name,Data_Array_Format,Data_Array_Length
DA_AI_U16,UInt16,1

//================================================================================
//
// Client Side Connections
//
Connections
Adapter,Protocol,IP_Port
N1,Bacnet_IP,47808

//================================================================================
//
// Client Side Nodes
//
Nodes
Node_Name,Node_ID,Protocol,Adapter
myController,0,Bacnet_IP,N1

//================================================================================
//
// Client Side Map Descriptors
//
Map_Descriptors
Map_Descriptor_Name,Data_Array_Name,Data_Array_Offset,Function,Node_Name,Object_Type,Object_Instance,Property,Scan_Interval
Temperature,DA_AI_U16,0,Rdbc,myController,AI,0,Present_Value,2s

//================================================================================
//
// Server Side Connections
//
Connections
Adapter,Protocol
N1,Modbus/TCP

//================================================================================
//
// Server Side Nodes
//
Nodes
Node_Name,Node_ID,Protocol,Address_Type
Unitronics_Modbus_Node,255,Modbus/TCP,ADU

//================================================================================
//
// Map Descriptors
//
Map_Descriptors
Map_Descriptor_Name,Data_Array_Name,Data_Array_Offset,Function,Node_Name,Address,Length,Data_Type
SMD_DA_AI_U16_1,DA_AI_U16,0,Passive,Unitronics_Modbus_Node,1,4,Input_Register

Share this post


Link to post
Share on other sites

In the provided example "unistream_070_Bacnet_TCP", there's a global of type "Modbus Remote Slave". When I try to add another global, "Modbus Remote Slave" doesn't appear as a type option. Since my PLC is going to be the slave, should there be a type "Modbus Remote Master"?

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×