How To Configure Read/Write Points - IntesisBox IBOX-BAC-MBTCP-100 User Manual

Bacnet/ip server, modbus tcp master
Table of Contents

Advertisement

®
IntesisBox
BACnet/IP Server - Modbus TCP Master

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
01
02
03
04
05
06
15
16
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
1
1
3-Read analog registers
2
1
16-Write multiple analog registers 4 - 16 bits sig C2
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.
© Intesis Software S.L. - All rights reserved
This information is subject to change without notice
®
IntesisBox
is a registered trademark of Intesis Software SL
IntesisBox
Read digital outputs
Read digital inputs
Read analog registers
Read analog inputs
Write 1 digital output
Write 1 analog register
Write multiple digital outputs
Write multiple analog registers
Format
Add.
4 - 16 bits sig C2
100
100
Modbus TCP protocol specification
Read Coils
Read Discrete Inputs
Read Holding Registers
Read Input Registers
Write Single Coil
Write Single Register
Write Multiple Coils
Write Multiple Registers
Bit Frac
Bac.Name
0
AI - example of Read Modbus point
0
AO - example of Write Modbus point
URL
Email
tel
User's Manual r1 eng
Bac.Type
Bac.ID
0 -AI
0
1-AO
0
http://www.intesis.com
info@intesis.com
+34 938047134
Active
1-Yes
1-Yes
23 / 27

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the IBOX-BAC-MBTCP-100 and is the answer not in the manual?

Questions and answers

This manual is also suitable for:

Ibox-bac-mbtcp-aIbox-bac-mbtcp-b

Table of Contents