Porovnávané verzie

Kľúč

  • Tento riadok sa pridal
  • Riadok je odstránený.
  • Formátovanie sa zmenilo.

...

Communication line category: Honeywell C-Bus.
Line parameters (C-Bus tab).
Device ID – is C-Bus Id which is assigned to KMFB02 card. It must be unused number in the range of 1 to 30, kept reserved for KMFB02 in C-Bus network.
Baud rate – is a baud rate of C-Bus. Supported baud rates: 4800, 9600 and 19200 Bd.

  • Communication computer KPX02 with firmware by Ipesoft s.r.o.
  • D2000 KOM process on a computer equipped with an RS-485 interface (tested on a Techbase NPE X500 M3 industrial computer based on Raspberry PI)
  • D2000 KOM process communicating via Moxa N-Port with an RS-485 interface (this combination may not meet protocol timing requirements)
    Parameters:

Communication line category:: Serial (communication via serial port), SerialOverUDP Device Redundant (communication via serial server in UDP mode)


Kotva
linka_parametre
linka_parametre
Communication line protocol parameters

...


Configuration line dialog box - tab Protocol parameters.
They influences some of the optional protocol parameters. The following line parameters can be set:


Table 1

Key wordFull nameDescriptionUnitDefault value

Kotva
did
did
DID

Device ID

This parameter is not used for the Honeywell C-Bus line. For other line types it has a similar meaning as the "Device ID" parameter on the Honeywell C-Bus line: it is the C-Bus Id assigned to the D2000 KOM process. It must be an unused number between 1 and 30 reserved for the D2000 KOM process on the C-Bus network.

1-3030

Kotva
br
br
BR

Baud Rate

This parameter is not used for the Honeywell C-Bus line. For other line types it has a similar meaning as the "Baud Rate" parameter on the Honeywell C-Bus line: it is the C-Bus baud rate, supported baud rates are 4800, 9600 and 19200 Bd.
Note:
for Line ModeDirect and a Serial line, the parameter must match the communication speed configured on the line.

baud9600

Kotva
lm
lm
LM

Line Mode

Mode of communication with C-Bus:

  • ISA card - uses ISA card KMFB02 (obsolete)
  • KPX02 - use of KPX02 communication computer
  • Direct - direct communication via RS-485 serial interface
ISA card
KPX02
Direct
Direct

Kotva
kl
kl
KL

KOM Latency

The parameter allows "tuning" of time parameters. A positive value decreases the wait before sending a message, a negative value increases the wait. Reducing the wait can compensate for the slowness of the communication computer.

0.1 ms0

Kotva
di
di
DI

Debug Input

Debugging messages for input data. Parameter is a bit mask, meaning of individual bits is as follows:

  • 1.bit - debugging of received data - priority task handling RS-485 interface (for Line ModeDirect)
  • 2.bit - debugging of received packets with correct CRC - priority task handling RS-485 interface (for Line ModeDirect)
  • 3.bit - debugging of received packets with correct CRC - line service task
  • 4.bit - debugging of received values
-0

Kotva
do
do
DI

Debug Output

Debugging messages for output data. Parameter is a bit mask, meaning of individual bits is as follows:

  • 1.bit - debugging of sent data - priority task serving RS-485 interface (for Line ModeDirect)
  • 2.bit - debugging of special packets - priority task serving RS-485 interface (for Line ModeDirect)
  • 3.bit - debugging of sent data - line service task
  • 4.bit - debugging of composed requests - line service task
  • 5.bit - debugging of reading the list of points - line service task
-0

Kotva
komunikacna_stanica
komunikacna_stanica
Communication station configuration

...

They influence a behavior of access to communication medium. You can define the following parameters:

Table 1

Key wordFull nameMeaningUnitDefault value
WREXPWrite Request Expiration TimeoutParameter defines a lifetime of request for writing a new value to I/O tag. If this entry can not be done (e.g. because the communication with station does not work), the request is cancelled after elapsing this time. An error message is written into the line trace file.sec60
IPTInit Point Response TimeoutTimeout until which the device must respond after sending the request for initialization of communication with I/O tag into the device. After elapsing this time, error message is written into the line trace file.sec6
WPTWrite Point Response TimeoutTimeout until which the device must respond after sending the request for writing the new value of I/O tag into the device. After elapsing this time, error message is written into the line trace file.sec4
PRPParameter Read PeriodeRead period of parameters from EXCEL devices. The changes in parameters (e.g. through EXCEL keyboard) are not transmitted automatically but they are read according to this period.sec600

String with protocol parameters is written according to this rule:

...

The reading/writing into time channels is done by I/O tags with these addresses:

AddressI/O tagMeaning
$.TPRFSHDoutBy writing the value FALSE into this I/O tag, the reading of all information about time programs is started. The reading is finished when I/O tag acquires TRUE.
$.TPLxTxtII/O tag acquires the name of time program with index x (the index of first time program is 1). If this time program does not exist, I/O tag has an invalid value.
$.TPWSx-yTxtIName of weekly schedule for time program with index x and day y (y in the range of 1 to 7 for Monday to Sunday).
$.TPDSx-yTxtIName of daily schedule with index y for time program with index x. If daily schedule with this index does not exist, I/O tag has an invalid value.
$.TPPLx-yTxtIName of permitted object for control with index y in time program with index x. If object with this index does not exist, I/O tag has an invalid value.
$.TPADSPx-y-zTxtIName of object in an action with index z, daily schedule with index y, time program with index x. If this action does not exist, I/O tag has an invalid value.
$.TPADSTx-y-zTxtIExecution time of action with index z, daily schedule with index y, time program with index x. If this action does not exist, I/O tag has an invalid value.
$.TPADSVx-y-zTxtIValue assigned to object in the action with index z, daily schedule with index y, time program with index x. If this action does not exist, I/O tag has an invalid value.
$.TPWWSx-yCoRecord of new daily schedule in weekly schedule. Day with index y (y in the range of 1 to 7 for Monday to Sunday), time program with index x. Recorded value is the index of dail schedule which was obtained by reading with the help of address $.TPDS.
$.TPWDSx-yTxtOWriting/cancellation of daily schedule with index y in time program x. The values:

"DEL" - cancels daily program
"NEW;Name" - creates new daily program with name "Name", value of index y is ignored

$.TPADSWx-y-zTxtOWriting/change/cancellation of action with index z in daily schedule with index y, time program with index x. The values:

"DEL" - cancels the action.
"NEW;HH:MM;ObjIndex;Value" - creates the action with time HH:MM, ObjIndex is the controlled object - i.e. index from a list which is obtained by $.TPPL address, and value Value. Index of action z is ignored.
"SET;HH:MM;Value" - changes the existing action over to the new time HH:MM or Value.


Note to the reading and controlling the time programs:

...

  • I/O tags that have not any image in EXCEL device:
AddressI/O tagMeaning
$.ALARMTxtIText variable that contains the last received alarm from device (parent of I/O tag – station).
$.LISTTxtIText variable that contains the list of objects received from device (parent of I/O tag – station).
    • I/O tags with Manual/Auto status:

...