SIEMENS Building Level Network Communication Driver

 

SIEMENS Building Level Network is driver to communicate with building automation device of SIEMENS Corp., in Germany.

 

Notice) To use SIEMENS Building Level Network driver, you have to complete device settings, control point settings and etc by using Insight program of SIEMENS.

 

1. Read settings

 

<Figure 1> is read setting example of SIEMENS Building Level Network communication driver.

<Figure 1> Read setting example of SIEMENS Building Level Network driver

Device part of <Figure 1> input Com Port(COM1), Com Baud(19200), Parity Bit(0), Data Bit(8), Stop Bit(1) respectively, according to device.

SIEMENS Building Level Network's Device Addr(0 ~ 99) and Com Baud(4800 ~ 115200) are set by Insight program.

Also, you can set PC Station No(0 ~ 99, Default = 99), Command Queue Count(50 ~ 5000, Default = 256), whether to Use Periodical Data Read(0 – Not use, 1 – Use, Default = 0), Read Periods Time(1 ~ 7200 sec, Default = 300), Read Schedule Count(50 ~ 2048, Default = 300), Error Station Wait Count(5 ~ 2000, Default = 300) and Comm Status Start Pos(0 ~ 9999, Default = 2000) at Option part by classifying as comma( , ).

 

Reference) Save communication status of each station, at save address + 0 ~ 99 of each station communication status, as Normal = 0 and Abnormal = 1. 

 

SIEMENS Building Level Network driver's read schedule

Read schedule setting parameters are as follows:

1) STATION – Set the address of device to read between 0 and 99.

2) Read Control Name – Enter control point name which was set by insight program.

Input Example) HMP1SS, HMP2SS, HMP1ST, HotWaterRun.ACT CLG STPT

3) Read Start Address – Don't care.

4) Save Start Address for Communication Server - Saving start address of Communication Server.

5) Read Size – Always fixed to 1.

 

Read schedule example)

READ,     1, HMP1SS,     0,    0,   1,

READ,     1, HMP1ST,     0,    1,   1,

READ,     1, HMP2SS,     0,    2,   1,

READ,     1, HMP2ST,     0,    3,   1,

READ,     1, HMSTM1,     0,    4,   1,

READ,     1, HMSTM2,     0,    5,   1,

READ,     1,  HMV1,     0,    6,   1,

READ,     1,  HMV2,     0,    7,   1,

READ,     1,  REL1,     0,    8,   1,

READ,     1,  REL2,     0,    9,   1,

READ,     1,  SET1,     0,   10,   1,

READ,     1,  SET2,     0,   11,   1,

READ,     1, HotWaterRun.ACT CLG STPT,     0,   12,   1,

READ,     2, TEST.PXC.AI1,     0,   13,   1,

READ,     2, TEST.PXC.AI2,     0,   14,   1,

READ,     2, TEST.PXC.AO1,     0,   15,   1,

READ,     2, TEST.PXC.AO2,     0,   16,   1,

READ,     2, TEST.PXC.DI1,     0,   17,   1,

READ,     2, TEST.PXC.DI2,     0,   18,   1,

READ,     2, TEST.PXC.DO1,     0,   19,   1,

READ,     2, TEST.PXC.DO2,     0,   20,   1,

 

<Table 1> is SIEMENS Building Level Network driver's communication memory save contents.

WORD/DWORD/FLOAT Memory

STRING Memory

Save current value as WORD/DWORD/FLOAT type

Point kind of the set control point(DI/DO/AI/AO etc),

Logical/Memory memory classification,

Point address(Type such as 0.2.1),

COV = 1.0 (COV value, in case of analog),

(control point name) saved in order.

 

Ex) DO LOGICAL 0.2.1 (HMP1SS)

<Table 1> SIEMENS Building Level Network driver's communication memory save contents

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

<Figure 2> Example of SIEMENS Building Level Network communication driver's Option dialog box

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

Also, you can set node number of computer, the number of command Queue for writing command, whether to use periodical reading, time period of periodical reading, the maximum number of periodical reading, the number of communication delay of communication error station and save address of each station communication status at 'PC Station No', 'Command Queue Count', 'Use Periodical Data Read', 'Read Periods Time', 'Read Schedule Count', 'Error Station Wait Count' area and 'Comm Status Start Pos' area of <Figure 2>.

When you click Add button or Edit button in dialog box of <Figure 2>, dialog box of <Figure 3> is shown.

<Figure 3> SIEMENS Building Level Network communication driver's read schedule Add/Edit dialog box

<Figure 4> is example of reading all control point addition dialog box of specific station, which is shown when you select the button of <Figure 2> dialog box.

<Figure 4> SIEMENS Building Level Network communication driver's Add All Item Name dialog box
Notice) SIEMENS Building Level Network communication driver's Read Item Name(Item Name : Control point name of <Figure 3> and <Figure 4>) is structured as displaying control point name after reading control point.

Therefore, control point name is displayed normally after communicating with designated station more than once.

 

2. Writing settings

 

You can change setting value of device by using SIEMENS Building Level Network communication driver's writing settings.

 

Digital Write

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

 

Analog Write

Analog write setting parameters are as follows :

1) Port             Connected port number. (Not COM number)

2) Station         Input device address between 0 and 99.

3) Address      Don't care. Fixed to 0.

4) Extra1          Input control point name which is set by insight program.

Input Example) HMP1SS, HMP2SS, HMP1ST, HotWaterRun.ACT CLG STPT

But, set as blank when Extra2 is 2.

5) Extra2          Set the command type.

                       0 : Write control point,

                       1 : Read control point,

                       2 : Re-reading all control point name of designated STATION,

                       3 : Re-registering the ASYNC of set control point name,

 

Write example 1)

PORT : 0   STATION : 1   ADDRESS : 0000  EXTRA1 : HMP1SS  EXTRA2 : 0

If you set as above and write analog value, you can change HMP1SS control point value of no.1 SIEMENS Building Level Network device connected with no.0 port.

 

Write example 2)

PORT : 0   STATION : 1   ADDRESS : 0000  EXTRA1 : HMV1  EXTRA2 : 0

If you set as above and write analog value, you can change HMV1 control point value of no.1 SIEMENS Building Level Network device connected with no.0 port.

 

Write example 3)

PORT : 0   STATION : 1   ADDRESS : 0000  EXTRA1 : HMP1ST  EXTRA2 : 1

If you set as above and write analog value, it executes command to re-read HMP1ST control point current value of no.1 SIEMENS Building Level Network device connected with no.0 port.

Generally, if specific control point value is changed at device, control point read command is unnecessary, because changed contents are entered from communication program.

 

Write example 4)

PORT : 0   STATION : 2   ADDRESS : 0000  EXTRA1 :   EXTRA2 : 2

 If you set as above and write analog value, it re-reads all control point name of no.1 SIEMENS Building Level Network device connected with no.0 port.

Generally, control point names of all connected STATION are read when communication program starts, so, control point name read command is unnecessary.

 

3. Communication cable connection

Connect communication cable, etc to SIEMENS Building Level Network device.

 

RS-485 communication cable connection

Connect T+, T- terminal of computer's RS-485(SIEMENS Trunk Interface etc) to +, - terminal of SIEMENS Building Level Network device's RS-485 terminal such as <Figure 5>.

<Figure 5> and <Figure 6> are appearance of SIEMENS Building Level Network device.

<Figure 5> Appearance of SIEMENS Building Level Network device 1

<Figure 6> Appearance of SIEMENS Building Level Network device 2