BacNet IP Protocol Communication Driver

 

BacNet IP Protocol Communication Driver is the driver to communicate with BacNet IP protocol.

 

1. Read settings

 

<Figure 1> is read setting example of BacNet IP Protocol communication driver.

<Figure 1>  Read setting example of BacNet IP Protocol communication driver

Device part of  <Figure 1> input Device Type(UDP/IP), IP Address of Equipment(192.168.1.11), Service Port(47808) respectively.

Normally BacNet IP Protocol's Service Port use 47808(BAC0h).

 

BacNet IP Protocol communication driver¡¯s read schedule

Read schedule setting parameters are as follows:

1) STATION – 0 = Local address, 1 ~ 256 = Logical network address.(Logical network address can set protocol option)

2) Read command – Command = INI, AV(or ANALOG), AI, AO, BV(or BINARY), BI, BO, MV. (Refer to <Table 1>)

3) Read start address –INI address or read start address.

INI read command : address = 0 ~ 255,

other read command : address = depend on Object type.

4) Save start address for Communication Server – Saving start address of Communication Server.

5) Read Size – INI read command = fixed to 1,

other read command = read size.

 

Read schedule example)

READ,     0,   INI,     0,    0,   1,

FLOAT,    0,    AI,     3,   10,   5,

READ,     0,   INI,     5,   20,   1,

 

<Table 1> is a description of read commands type and contents of BacNet IP Protocol communication driver.

<Table 2> is input method of INI data file for read command.

Read
Command
Contents Remarks
INI Read at INT data file info(object type, read start address).
INI file name = Work folder\SCAN\READ_%03d.ini

%03d = 000 ~ 255 file number

Readed data are save at WORD/DWORD/FLOAT memory

ANALOG
AI
AO
Read of Analog, Analog Input, Analog Output Object Analog related Object
BINARY
BI
BO
Read of Binary, Binary Input, Binary Output Object Binary(Digital) related Object
MV Read of multi state value  
<Table 1> Read commands type and contents of BacNet IP Protocol communication driver
File name Input method of INI data file

INI file name =

work folder\SCAN\READ_%03d.ini,

%03d = 0 ~ 255 file number.

1) Input one Object type and read start address at 1 line, seperate by comma( , ).

2) Object Type = ANALOG, AI, AO, BINARY, BI, BO.

3) Read start address = Object Instance number(decimal).

4) Normally, input multi line's Object type and read start address.

 

Example of INI data file)

BI, 1,

BO, 1,

BO, 2,

AI, 3,

AO, 3,

<Table 2> Input method of INI data file for read command

 

BacNet IP Protocol communication driver's INI read command store the same data in WORD, DWORD, FLOAT memory, but the data format are different.

If you click the icon  in protocol option part, you can see the dialogue box such as <Figure 2>. you can also set read schedule by using this part. 

<Figure 2> Example of BacNet IP Protocol communication driver¡¯s Option dialogue box

  

You can also set read schedule by using , ,  button and listbox of <Figure 2>.

<Figure 3> Example of BacNet IP Protocol communication driver¡¯s read schedule Add/Edit dialogue box

When you click Add button or Edit button in dialogue box of <Figure 2>, dialogue box of <Figure 3> will be shown.

If yoy click 1.png button at the <Figure 2>, shows <Figure 4>.

You can also input INI info(Object type and read start address) at dialog of <Figure 4>.

<Figure 4> Example of INI info setting dialog

If yoy click   button at the <Figure 2>, shows <Figure 5>.

You can set logical network address at dialog of <Figure 5>.

<Figure 5> Example of  logical network address setting dialog

 

2. Write settings

You can write at specific Object.by using write settings.

 

Bit write

Bit write and Word write have the same setting parameters except output value(0 or 1).

 

 

Word write 

Word write setting parameters are as follows:

1) PORT : Port no. (0 ~ 255)

2) STATION : 0 = Local address, 1 ~ 256 = Logical network address.(Logical network address can set protocol option)

3) ADDRESS : address of Object Instance(Address).

4) EXTRA 1 :  Write Object = AV(or ANALOG), AI, AO, BV(or BINARY), BI, BO, MV. (Refer to <Table 1>, Normally use AO, BO)

5) EXTRA 2 : BacNet Property ID( 0, 2 or 5, ...).

                              0,  2 : PROP_ACTION, (default)

                              5 : PROP_ACTIVE_VT_SESSIONS,

                             other : BacNet Property ID value(case of special).

 

Write example 1)

PORT : 0   STATION : 0   ADDRESS : 0003  EXTRA1 : AO  EXTRA2 : 0

The setting parameter shown above is an example of word write for AO Object, 3 Instance number of BacNet IP Protocol connected with 0 port.

 

 

Block write

BacNet IP Protocol communication driver don¡¯t support ¡®Block write¡¯.