background image

Unitronics’s BACnet Gateway User Guide     

 

 

 

    

                             Page 16 of 28 

Unitronics 

 

Finish: This window will show the addressing map of the data to be read/write from/to the device -to be use 
in VisiLogic ladder logic- and will let you export the configuration file that you will download to the GW-BAC1 
via the GUI browser. 

 

Figure 17: Finish Screen 

 
 

                Once you have created the configuration file, it has to be downloaded to the GW-BAC1 unit according to 
                the following instructions. 

a.

 

Connect a standard CAT5 Ethernet cable (Straight through or Cross-Over) between the PC and GW-
BAC1

 

b.

 

The  Default  IP  Address  of  GW-BAC1  is 

192.168.1.24

,  Subnet  Mask  is 

255.255.255.0

.  If  the  PC  and 

GW-BAC1  are  on  different  IP  Networks,  assign  a  static  IP  Address  to  the  PC  on  the  192.168.1.xxx 
network

 

c.

 

Go to 

 > 

 >  

 

d.

 

Right-click on Local Area Connection > Properties 

e.

 

Highlight 

 > 

 

f.

 

Select: Use the following IP address 

 

 

g.

 

Click 

 twice 

Summary of Contents for GW-BAC1

Page 1: ... either expressed or implied including but not limited to any implied warranties of merchantability fitness for a particular purpose or non infringement Unitronics assumes no responsibility for errors or omissions in the information presented in this document In no event shall Unitronics be liable for any special incidental indirect or consequential damages of any kind or any damages whatsoever ar...

Page 2: ...t indicates that a product has passed a series of rigorous tests conducted by an independent laboratory which verifies that the product correctly implements the BACnet features claimed in the listing The mark is a symbol of a high quality BACnet product Go to http www bacnetinternational net btl for more information about the BACnet Testing Laboratory ...

Page 3: ...TP Field Devices Wiring Field Port to RS 485 Network 10 2 4 Connecting Power to GW BAC1 11 3 Creating configuration file and configurating the PLC 12 3 1 UniBACnet configurator 12 3 2 PLC configuration example 18 4 ChangING the GW BAC1 IP Address 21 4 1 Connect the PC to GW BAC1 via the Ethernet Port 21 4 2 BACnet IP Setting IP Address for Field Network 22 Appendix A Troubleshooting 23 Check Wirin...

Page 4: ... 15 Modbus connection RTU Screen 15 Figure 16 Modbus connection IP Screen 15 Figure 17 Finish Screen 16 Figure 18 File Transfer Screen 17 Figure 19 File menu 17 Figure 20 MODBUS RTU configuration 18 Figure 21 Example of COM initialize 18 Figure 22 Example of Modbus configuration 19 Figure 23 Example of MODBUS TCP IP configurator 19 Figure 24 Example of TCP IP card and socket initialize 19 Figure 2...

Page 5: ...net IP 2 Configuration for the various protocols is done via Unitronics configuration tool UniBACnet Configurator 1 2 Record Identification Data Each GW BAC1 has a unique serial number located on the underside of the unit This number should be recorded as it may be required for technical support 1 3 Technical Support For technical support and questions concerning setting up the GW BAC1 to work wit...

Page 6: ...Unitronics s BACnet Gateway User Guide Page 6 of 28 Unitronics 2 INTERFACING GW BAC1 TO DEVICES 2 1 GW BAC1 Showing Connection Ports Figure 1 BACnet board ...

Page 7: ...is the same for GW BAC1 Pins 1 through 3 are for Modbus RS 485 devices o The RS 485 GND Pin 3 is not typically connected Pins 4 through 6 are for power Do not connect power wait until Section 3 4 Figure 2 Power and RS 485 Connections Device Pins GW BAC1 Pin Pin assignment Pin RS 485 Pin 1 RS 485 Pin RS 485 Pin 2 RS 485 Pin GND Pin 3 RS 485 GND Power In Pin 4 V Power In Pin 5 V Frame Ground Pin 6 F...

Page 8: ...y for the Biasing jumpers are OFF The OFF position is when the 2 RED biasing jumpers straddle the 4 pins closest to the outside of the board of the GW BAC1 See Error Reference source not found Only turn biasing ON o IF the BMS cannot see more than one device connected to the GW BAC1 o AND you have checked all the settings Modbus COM settings wiring and DIP switches To turn biasing ON move the 2 RE...

Page 9: ...OFF with the jumper straddling the pins closest to the inside of the board of the GW BAC1 o On short cabling runs the EOL switch does not to need to be turned ON If the GW BAC1 is placed at one of the ends of the trunk set the blue EOL jumper to the ON position straddling the pins closest to the outside of the board of the GW BAC1 Always leave the single Red Jumper in the A position default factor...

Page 10: ... on connecting to BACnet IP network If the GW BAC1 is the last device on the BACnet MS TP trunk then the End Of Line Termination Switch needs to be enabled Error Reference source not found o The default setting from the factory is OFF switch position right side o To enable the EOL Termination turn the EOL switch ON switch position left side Figure 5 Connection from GW BAC1 to RS 485 Field Network ...

Page 11: ...n 6 is not typically connected Power Requirement for GW BAC1 at 9V through 30 VDC or 12 24 VAC Current Draw Type GW BAC1 Family 12VDC VAC 24VDC VAC 30VDC FPC N34 Typical 170mA 100mA 80mA FPC N34 Maximum 240mA 140mA 100mA Note These values are nominal and a safety margin should be added to the power supply of the host system A safety margin of 25 is recommended Figure 7 Required current draw for th...

Page 12: ...onics 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 Figure 9 Tools menu on VisiLogic Figure 10 Tools menu on UniLogic ...

Page 13: ...figuration file creation steps BACnet Connection Use this menu for setting up the BACnet Gateway communication parameters First you must choose the type of BACnet Protocol MS TP Serial or IP Figure 11 BACnet Connection MS TP Screen Figure 12 BACnet Connection IP Screen ...

Page 14: ...ce instance must correspond with the ID given to the device To assign an ID to the device please follow the configuration manual of the device BACnet Map Descriptions Here you will add the Inputs Outputs values to be read and or write in each node select the format Int16 Uint16 Int32 Uint32 Object ID scan interval and function type Figure 14 BACnet Map descriptors Screen ...

Page 15: ...ns that the data will be read and write continuously Write block on change means that only when there is change in the data it will be written Modbus Connection Here the user will configure the Modbus connection to the PLC First the user must select between Modbus protocol RTU or TCP IP then the corresponding configuration Figure 15 Modbus connection RTU Screen Figure 16 Modbus connection IP Scree...

Page 16: ...ave created the configuration file it has to be downloaded to the GW BAC1 unit according to the following instructions a Connect a standard CAT5 Ethernet cable Straight through or Cross Over between the PC and GW BAC1 b The Default IP Address of GW BAC1 is 192 168 1 24 Subnet Mask is 255 255 255 0 If the PC and GW BAC1 are on different IP Networks assign a static IP Address to the PC on the 192 16...

Page 17: ...w fieldserver com docs downloads FieldServer Toolbox zip j The FST Web GUI page will be presented From the FST Web GUI s landing page click on Setup to expand the navigation tree and then select File transfer to access the IP Settings menu Error Reference source not found Figure 18 File Transfer Screen k Select browse and look for the CSV file you just created l Click on submit button The download...

Page 18: ...figuration required for your specific application may require some changes VisiLogic includes further examples for BACNet Modbus RTU and BACnet Modbus TCP_IP In all setting the PLC must be configured as a MODBUS master Depending on the MODBUS protocol the user has chosen the PLC needs to be configured as MODBUS RTU or MODBUS TCP_IP master Figure 20 MODBUS RTU configuration Figure 21 Example of COM...

Page 19: ...tronics s BACnet Gateway User Guide Page 19 of 28 Unitronics Figure 22 Example of Modbus configuration Figure 23 Example of MODBUS TCP IP configurator Figure 24 Example of TCP IP card and socket initialize ...

Page 20: ...ics Figure 25 Example of TCP IP card and socket initialize After the initial configuration add the proper Modbus commands to read write data using the addresses table obtained in the finish screen of the UniBACnet Configurator Figure 26 Example of MODBUS Command ...

Page 21: ... cable Straight through or Cross Over between the PC and GW BAC1 The Default IP Address of GW BAC1 is 192 168 1 24 Subnet Mask is 255 255 255 0 If the PC and GW BAC1 are on different IP Networks assign a static IP Address to the PC on the 192 168 1 xxx network Go to Right click on Local Area Connection Properties Highlight Select Use the following IP address Click twice Figure 28 PC IP configurati...

Page 22: ...ddress via FST Web GUI Enter the new IP address for the GW BAC1 s Ethernet port in the N1 IP address field If necessary change the Subnet Mask setting in the N1 Netmask field If necessary change the IP Gateway setting in the Default Gateway field Note If the GW BAC1 is connected to a router the IP Gateway of the GW BAC1 should be set to the IP address of the router that it is connected to Click th...

Page 23: ...o Visual observations of LEDs on GW BAC1 Appendix A 3 o Check baud rate parity data bits stop bits o Check Modbus device address o Verify wiring Field COM problems o Visual observations of LEDs on GW BAC1 Appendix A 3 o Visual dipswitch settings using correct baud rate and device instance o Verify IP address setting o Verify wiring If the problem still exists a Diagnostic Capture needs to be taken...

Page 24: ...d FieldServer Toolbox zip at http www protocessor com tech support utilities and design documents php Extract the executable file and complete the installation Figure 30 Ethernet Port Location Disable any wireless Ethernet adapters on the PC Laptop Disable firewall and virus protection software if possible Connect a standard cat5 Ethernet cable between the PC and GW BAC1 Double click ion the FS to...

Page 25: ...ct full Diagnostic Figure 32 Diagnostic selection o If desired the default capture period can be changed o Click on Start Diagnostic Figure 33 Diagnostic tool start diagnostic Wait for Capture period to finish Diagnostic Test Complete window will appear Continue to step 2 ...

Page 26: ... Send Log o Once the Diagnostic test is complete a zip file will be saved on the PC Figure 34 Diagnostic tool diagnostic test complete o Choose open to launch explorer and have it point directly at the correct folder Send the Diagnostic zip file to support fieldserver com ...

Page 27: ...RR LED will go on solid 15 seconds after power up It will turn off after 5 seconds A steady red light will indicate there is a system error on GW BAC1 If this occurs immediately report the related system error shown in the error screen of the GUI interface to Unitronics technical support for evaluation RX The RX LED will flash when a message is received on the host port TX The TX LED will flash wh...

Page 28: ...environment with a temperature above 65 C it should be installed in a Restricted Access Area requiring a key or a special tool to gain access This device must not be connected to a LAN segment with outdoor wiring GW BAC1 Electrical Connections One 6 pin Phoenix connector one RS 485 ground port power frame ground port One 3 pin RS 485 Phoenix connector one RS 485 ground port One Ethernet 10 100 Eth...

Reviews: