background image

IntesisBox

®

 BACnet/IP Server - Modbus RTU Master 

User’s Manual r14 eng

 

 

 

 

 

© Intesis Software S.L. - All rights reserved 

This information is subject to change without notice

 

 

IntesisBox

®

 

is a registered trademark of Intesis Software SL

 

 

URL 
Email 
tel 

  http://www.intesis.com                                          

[email protected] 
+34 938047134 

23 / 27 

 

 
1.

 

If the Modbus function code to use for read is 

03 

and the function code to use for write 

is 

06

 (which is very common), then select the function code 

3-Read analog registers 

in 

column Modbus 

Code

 and select a BACnet Type 

Output

 or 

Value

 for the point (i.e. AO, 

AV, BO, BV, MO, MV). With this, IntesisBox will use function code 03 for read the point 
in every polling cycle, and whenever a new value for the point is received from BACnet, 
the new value will be written in the Modbus slave device using function code 06. 

 
2.

 

If the Modbus function code to use for read is 

01 

and the function code to use for write 

is 

05

 (which is also very common), then select the function code 

1-Read digital outputs 

in column Modbus 

Code

 and select a BACnet Type 

Output

 or 

Value

 for the point (i.e. AO, 

AV, BO, BV, MO, MV). With this, IntesisBox will use function code 01 for read the point 
in every polling cycle, and whenever a new value for the point is received from BACnet, 
the new value will be written in the Modbus slave device using function code 05. 

 
3.

 

If the Modbus function code to use for read and the function code to use for write are 
different than 01-05 or 03-06 (sometimes found with specific devices), then you have to 
declare two points in IntesisBox to perform the read and the write separately. The way 
to configure this is better explained using an example. 

 

Imagine  you  have  a  device,  in  which  a  given  analog  point  (register  address  100  for 
example)  of  type  read/write  must  be  read  using  function  code  03,  and  must  be  write 
using function code 16. 
 
To  be  able  to  read  and  write  this  Modbus  point  from  BACnet,  you  must  define  two 
separate points into IntesisBox, one for read and one for write like the following: 
 

Nb 

Dev 

Modbus Code 

Format 

Add.  Bit  Frac 

Bac.Name 

Bac.Type 

Bac.ID 

Active 

3-Read analog registers  4 - 16 bits sig C2 

100 

 

AI - example of Read Modbus point 

0 -AI 

1-Yes 

16-Write multiple analog 

registers 

4 - 16 bits sig C2 

100 

 

AO - example of Write Modbus point 

1-AO 

1-Yes 

 

 

The important configuration parameters to obtain the desired functionality are highlighted in 
green colour, the rest of configuration parameters are irrelevant in this example. Note that 
both points must have the same Modbus

 

Address and the same Modbus

 

Format.

 

Summary of Contents for IBOX-BAC-MBRTU-100

Page 1: ...IntesisBox BACnet IP Server Modbus RTU Master User s manual Issue Date 17 12 2012 r14 eng...

Page 2: ...ument is furnished under a license agreement or nondisclosure agreement The software may be used only in accordance with the terms of those agreements No part of this publication may be reproduced sto...

Page 3: ...eway for the integration of Modbus RTU slave devices into BACnet IP control systems Models available for this gateway with their following Order codes IBOX BAC MBRTU 100 Tiny model supporting connecti...

Page 4: ...1 2 Functionality 6 1 3 Capacity of IntesisBox 7 2 Interfaces 8 2 1 BACnet 8 2 2 Modbus 8 3 Quick Setup 10 4 Connection 11 4 1 Power device 11 4 2 Connect to Modbus 12 4 3 Connect to BACnet 12 4 4 Co...

Page 5: ...r use of the word gateway not meaning IntesisBox BACnet IP Server Modbus RTU Master will be specifically indicated The aim of this integration is to make accessible Modbus system signals and resources...

Page 6: ...from BACnet are immediately written in the associated register of the corresponding Modbus slave device Every one of the Modbus registers in the slave devices is associated to a BACnet object with th...

Page 7: ...mum number of BACnet subscribers accepted by the gateway Number of BACnet subscriptions COV requests 220 1000 6000 Maximum number of BACnet subscriptions COV requests accepted by the gateway Type of M...

Page 8: ...5 is used to define the Modbus and BACnet related parameters on each of the datapoints defined in IntesisBox 2 1 BACnet The IntesisBox integrates all the Modbus devices in a single BACnet device The c...

Page 9: ...ation parameters of IntesisBox s Modbus interface baud rate data bits stop bits parity are fully configurable to adapt to any slave device Of course IntesisBox and all the slave devices connected to t...

Page 10: ...in section 5 2 Install IntesisBox in the desired installation site DIN rail mounting inside a metallic industrial cabinet connected to ground is recommended 3 Power up and connect the communication ca...

Page 11: ...et IP Server Modbus RTU Master hardware Console cable Standard DB9F DB9M cable 1 8 meter long Installation sheet containing a link to the LinkBoxBacnet software and this manual 4 1 Power device The fi...

Page 12: ...2 TX GND 5 GND Table 4 1 Modbus RS232 cable pinout How to check if there is communication with the Modbus bus is explained in the LinkBoxBacnet Manual section 5 4 3 Connect to BACnet Connect the commu...

Page 13: ...intesis com 34 938047134 13 27 Ethernet Using the ETH port Figure 4 1 of IntesisBox How to check connectivity is explained in section 4 3 Serial cable To connect the device to the PC the serial cable...

Page 14: ...stallation sheet supplied with the IntesisBox In this section only the specific project configuration for IntesisBox BACnet IP Server Modbus RTU Master is going to be explained The External Protocol i...

Page 15: ...onfiguration parameters Figure 5 3 BACnet IP interface Configuration IP Enter the IP address for the gateway supplied by the network administrator NetMask Enter the IP NetMask for the gateway supplied...

Page 16: ...mmunication Console window once connected to the gateway IntesisBox_Bacnet_Modbus 100 Tiny model IntesisBox_Bacnet_Modbus A Basic model IntesisBox_Bacnet_Modbus B Extended model Frimware version selec...

Page 17: ...o communicate to Up to 254 devices For every Modbus device defined the following properties must be entered Name Enter the device name optional just for identification purposes Slave Enter the slave n...

Page 18: ...tom in the devices list Modbus Code Description Modbus function code to be used by IntesisBox to read to write or to read write the point in the slave device Values 0 Communication Error 1 Read digita...

Page 19: ...d10K uns Integer N as 4 16 bit integers A B C and D where N A 10 0003 B 10 0002 C 10 000 D 15 32 bits Mod10K sig as the unsigned but the MSb represents the sign 16 48 bits Mod10K sig as the unsigned b...

Page 20: ...e Text edit Frac Description Fractional part to consider for the point s value when read write Some devices encode for example temperature values integer fractional part in common 2 bytes Modbus regis...

Page 21: ...r can be automatically assigned by LinkBoxBacnet when saving the configuration section 5 1 4 Restrictions All the object instance numbers for objects of the same type must be different Edit mode Text...

Page 22: ...configure read write points First of all is important to take into account that different names for Modbusfunction codes are used in technical literature depending on the manufacturer of the Modbus de...

Page 23: ...lling cycle and whenever a new value for the point is received from BACnet the new value will be written in the Modbus slave device using function code 05 3 If the Modbus function code to use for read...

Page 24: ...USE this option for a brand new configuration not previously running in the gateway and therefore not yet integrated into the BACnet system b Select Yes for configurations previously running in the ga...

Page 25: ...IntesisBox is a registered trademark of Intesis Software SL URL Email tel http www intesis com info intesis com 34 938047134 25 27 5 Once in the configuration window again click on exit The configura...

Page 26: ...ot permitted Mounting Wall DIN rail EN60715 TH35 Modbus RTU ports 1 x Serial EIA232 DB9 male DTE SELV 1 x Serial EIA485 Plug in screw terminal block 2 poles SELV BACnet IP port 1 x Ethernet 10Base T R...

Page 27: ...ntesisBox is a registered trademark of Intesis Software SL URL Email tel http www intesis com info intesis com 34 938047134 27 27 7 Dimensions Free space recommended to install the device into a cabin...

Reviews: