IntesisBox IBOX-BAC-MBTCP-100 Скачать руководство пользователя страница 23

IntesisBox

®

 BACnet/IP Server - Modbus TCP Master 

User’s Manual r1 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 

 

5.1.3  How to configure read/write points 

 
First of all is important to take into account that different names for  Modbus TCP function 
codes,  are  used  in  technical  literature  depending  on  the  manufacturer  of  the  Modbus  TCP 
device. The following table shows the equivalence between nomenclature for function codes, 
used by Intesis Software in IntesisBox and the used in Modbus TCP protocol specification. 
 
Function code  

IntesisBox 

 

 

 

Modbus TCP protocol specification 

01 

 

 

Read digital outputs   

 

Read Coils 

02 

 

 

Read digital inputs   

 

Read Discrete Inputs 

03 

 

 

Read analog registers 

 

Read Holding Registers 

04 

 

 

Read analog inputs   

 

Read Input Registers 

05 

 

 

Write 1 digital output 

 

Write Single Coil 

06 

 

 

Write 1 analog register 

 

Write Single Register 

15 

 

 

Write multiple digital outputs 

Write Multiple Coils 

16 

 

 

Write multiple analog registers 

Write Multiple Registers 

 
Given  a  point  in  a  Modbus  TCP  slave  device,  if  this  point  allows  to  be  read  and  written, 
different  Modbus  TCP  function  codes  must  be  used  for  read  and  for  write  actions  (consult 
the slave documentation for details of what function codes must be used  for  read and  for 
write). Use the following criteria for configuration of this kind of points in IntesisBox: 
 
1.

 

If the Modbus TCP 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 TCP 

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  TCP  slave  device  using 
function code 06. 

 
2.

 

If the Modbus TCP 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 TCP 

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  TCP  slave  device  using 
function code 05. 

 
3.

 

If the Modbus TCP 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 TCP 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 TCP

 

Address and the same Modbus TCP

 

Format. 

Содержание IBOX-BAC-MBTCP-100

Страница 1: ...IntesisBox BACnet IP Server Modbus TCP Master User s manual Issue Date 17 12 2012 r1 eng...

Страница 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...

Страница 3: ...tel http www intesis com info intesis com 34 938047134 3 27 Gateway for the integration of Modbus TCP slave devices into BACnet IP control systems Models available for this gateway with their followi...

Страница 4: ...Functionality 6 1 3 Capacity of IntesisBox 7 2 Interfaces 8 2 1 BACnet 8 2 2 Modbus TCP 8 3 Quick Setup 10 4 Connection 11 4 1 Power device 11 4 2 Connect to Modbus TCP 12 4 3 Connect to BACnet 12 4...

Страница 5: ...Any other use of the word gateway not meaning IntesisBox BACnet IP Server Modbus TCP Master will be specifically indicated The aim of this integration is to make accessible Modbus TCP system signals a...

Страница 6: ...are immediately written in the associated register of the corresponding Modbus TCP slave device Every one of the Modbus TCP registers in the slave devices is associated to a BACnet object with this al...

Страница 7: ...of BACnet subscribers 8 8 8 Maximum number of BACnet subscribers accepted by the gateway Number of BACnet subscriptions COV requests 220 1000 6000 Maximum number of BACnet subscriptions COV requests...

Страница 8: ...acnet This tool covered in depth in section 5 is used to define the Modbus TCP and BACnet related parameters on each of the datapoints defined in IntesisBox 2 1 BACnet The IntesisBox integrates all th...

Страница 9: ...heir IP address and their predefined registers address map this address map specifies the address type and characteristics of each internal point commonly called register of the Modbus slave device th...

Страница 10: ...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 cabl...

Страница 11: ...are IntesisBox BACnet IP Server Modbus TCP 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...

Страница 12: ...ion 5 4 3 Connect to BACnet Connect the communication cable coming from the network hub or switch to the ETH port Figure 4 1 of IntesisBox The cable to be used depends on where the IntesisBox is being...

Страница 13: ...ed This information is subject to change without notice IntesisBox is a registered trademark of Intesis Software SL URL Email tel http www intesis com info intesis com 34 938047134 13 27 IntesisBox PC...

Страница 14: ...ion sheet supplied with the IntesisBox In this section only the specific project configuration for IntesisBox BACnet IP Server Modbus TCP Master is going to be explained The External Protocol in this...

Страница 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...

Страница 16: ...onnects to LinkBoxBacnet it appears in the IntesisBox Communication Console window once connected to the gateway IntesisBox_Bacnet_Modbus TCP 100 Tiny model IntesisBox_Bacnet_Modbus TCP A Basic model...

Страница 17: ...two possible choices and see if the read values make sense This affects to all data fields of all slaves defined Hysteresis to send to BACnet Amount that a Modbus TCP value needs to change to be sent...

Страница 18: ...Slave Description Modbus Slave number Values From 1 to 255 Edit mode Text edit or AutoEnumeration Modbus Code Description Modbus function code to be used by IntesisBox to read to write or to read wri...

Страница 19: ...6 bits digital Bit coded into 16 bits register 12 32 bits Mod10K uns Integer N as 2 16 bit integers A and B where N A 10 000 B 13 48 bits Mod10K uns Integer N as 3 16 bit integers A B and C where N A...

Страница 20: ...registers is used for some devices to encode digital values into this type of registers Values 0 to 15 Restrictions Only used with Format 11 16 bits digital and Code 3 or 4 read holding input register...

Страница 21: ...the Modbus TCP slave register associated Bac Type Description BACnet object type for the signal Values AI Analog Input AO Analog Output AV Analog Value DI Digital Input DO Digital Output DV Digital V...

Страница 22: ...the register address 100 is specified as 99 in the Modbus TCP communication frames Select 0 Based if your Modbus TCP devices use 0 based address map like PLCs or select 1 Based if your Modbus TCP dev...

Страница 23: ...h 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 TCP sla...

Страница 24: ...if defined ONLY 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...

Страница 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...

Страница 26: ...sted or with ferrule 1 core 0 5mm2 2 5mm2 2 cores 0 5mm2 1 5mm2 3 cores not permitted Mounting Wall DIN rail EN60715 TH35 Modbus TCP BACnet IP port 1 x Ethernet 10Base T RJ45 LED indicators 1 x Power...

Страница 27: ...notice IntesisBox 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...

Отзывы: