Porovnávané verzie

Kľúč

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

...

Supported device types and versions
Communication line configuration
Communication station configuration
I/O tag configuration
Installation of KMFB02CB driver KMFB02CB (obsolete) 
Literature
Changes and modifications
Document revisions

Kotva
typy_verzie
typy_verzie
Supported device types and versions

...

This protocol supports the communication with Honeywell devices based on the communication bus C-Bus communication bus.

It supports Honeywell devices, series EXCEL (XL20, XL50, 500,....). Communication has also been tested against LION Controller CLLIONLC01.

...

  • ISA card KMFB02 (Incos a.s. Zilina) with firmware by Ipesoft s.r.o. (stored in EPROM). The communication is performed using baud rates 4800 Bd, 9600 Bd, or 19200 Bd. The card requires the driver KMFB02CB.SYS installed in Windows NT/2000.
    Parameters:

Communication line category: Honeywell C-Bus.
Line parameters (C-Bus tab).
Device ID – is C-Bus Id which is assigned to the KMFB02 card. It must be an unused number in the range of 1 to 30, reserved for KMFB02 in the 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 a serial server in UDP mode)

...

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


Table 1

Key wordKeywordFull 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 The parameter is a bit maskbitmask, 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 - line service task
  • 5.bit - debugging of analysed analyzed packets - line service task
-0

Kotva
do
do
DI

Debug Output

Debugging messages for output data. Parameter The parameter is a bit maskbitmask, 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

...

  • Communication protocol: Honeywell Excel C-Bus
  • Station The station address is the C-Bus Id of the device in the range of 1 to 30.
  • You can execute an automatic synchronization of the real-time clock of EXCEL stations according to the time of the workstation. You must enable the synchronization and set the "Synchronization period" of real-time on tab the "Time parameters" tab in the configuration dialog box for the station. The recommended period is 3 to 12 hours. First The first synchronization is done when starting the D2000 KOM process.


Station protocol parameters

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

Table 1

Key wordKeywordFull nameMeaningUnitDefault value
WREXPWrite Request Expiration TimeoutParameter The parameter defines a lifetime of request for writing a new value to the I/O tag. If this entry writing can not be done performed (e.g. because the communication with the station does not work), the request is cancelled canceled after elapsing this time elapses. 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 elapses, an 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 elapses, an error message is written into the line trace file.sec4
PRPParameter Read PeriodePeriodRead The reading 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

...

Example:

IPT=10;WREXP=90;

If a key word keyword with a valid value has not been found in the initial string, the default value is used according to Table 1.

...

I/O tags: Ai, Ao, Di, Do, Co, TxtI, TxtO

    • I/O tag address is the name of the I/O object that is defined in the EXCEL device. It is a string of max. length of 18 characters. The address can contain also the attributes.
    • Reading and writing of values of EXCEL devices is are done by I/O tags with the following addresses:

$.Px-y

where x is a file number (0 to 127) and y is a parameter number (1 to 255) within a file. Example: $.P0-1 or $.P2-3

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 the I/O tag acquires TRUE value.
$.TPLxTxtII/O tag acquires the name of the time program with index x (the index of the first time program is 1). If this time program does not exist, the I/O tag has will have an invalid value.
$.TPWSx-yTxtIName of the 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 a daily schedule with this index does not exist, the I/O tag has tag will have an invalid value.
$.TPPLx-yTxtIName of the permitted object for control with index y in time program with index x. If an object with this index does not exist, the I/O tag has will have an invalid value.
$.TPADSPx-y-zTxtIName of an object in an action with index z, daily schedule with index y, time program with index x. If this action does not exist, the I/O tag has tag will have an invalid value.
$.TPADSTx-y-zTxtIExecution The execution time of action with index z, daily schedule with index y, time program with index x. If this action does not exist, the I/O tag has will have an invalid value.
$.TPADSVx-y-zTxtIValue The value 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, the I/O tag has will have an invalid value.
$.TPWWSx-yCoRecord of the new daily schedule in the weekly schedule. Day The day with index y (y in the range of 1 to 7 for Monday to Sunday), time program with index x. Recorded Written value is the index of dail daily schedule which was obtained by reading with the help of address $.TPDS addresses.
$.TPWDSx-yTxtOWriting/cancellation deletion of daily schedule with index y in time program x. The values:

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

$.TPADSWx-y-zTxtOWriting/change/cancellation deletion 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 The 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 of the time programs:

To obtain the complex information about time programs by the static measurements I/O tags is virtually impossible because of their large quantity. Therefore there is enabled a dynamic change of address to read and write for all I/O tags for reading/writing of the time programs is enabled by Tell command SETPTADDR in all I/O tags SETPTADDR tell command. In combination of the with active pictures, you can implement a full displaying and controlling of the time programs. We created a sample solution as a template of for the D2000 configuration database.

...

AddressI/O tagMeaning
$.ALARMTxtIText variable that contains the last received alarm from the device (parent of I/O tag – station).
$.LISTTxtIText variable that contains the list of objects received from the device (parent of I/O tag – station).
$.CNAMETxtIText variable that contains the device name (Controller name).

...

You can obtain or modify the status M/A when you configure I/O tags Di, Dout with the address which contains the attribute - string ".MAN" string . True means that the object is in Manual status, False - the object is in Auto status. The both Both I/O tags must be defined so that this object could work properly. E.g. I/O tag with address "TeplTemp_vin_MiestnostiRoom_01" and another one with address "TeplTemp_vin_MiestnostiRoom_01.MAN". The change of I/O tag with the ".MAN" attribute means the change of the Manual/Auto status of object in the device.

...

Manual/Auto status can be gotten read or modified also by the setting of the A flag in object value. The object with ".MAN" attribute is not necessary then. If A flag is set, the object is in Auto status. If it is not set, the object is in Manual status.

Kotva
instalacia
instalacia
Installing of KMFB02CB driver

...

(obsolete)

...

Windows NT 4.0 operating system

When installing the driver of the KMFB02 card, follow these steps:

...

Windows 2000 operation system

For installation of the driver, you need these files:
kmfb02cb.inf - installation file
kmfb02cb.sys - own the driver itself

Installation procedure:

  1. Log on to MS Windows 2000 as Administrator with the administrator rights.
  2. Click on START button -> Settings and Control panel.
  3. Start Add/Remove Hardware wizard.
  4. Click on Next button until Win2000 finishes searching the hardware.
  5. Choose Add a new device and click on Next.
  6. Choose No, I want to select the hardware from a list and click on Next.
  7. Choose Other devices and click on Next.
  8. Click on button Have a disk.
  9. Find kmfb02cb.inf file after clicking on Browse...
  10. Confirm the restart of the computer.

Note: KMFB-02 card uses the INT 5 interruption, therefore it must be released if it is reserved (it is used only for the parallel port LPT2 or network LAN card) this interruption is not usually used).

...

  • Ver. 1.0 – July 24, 2000 – Creation of document
  • Ver. 1.1 - April 24, 2001 - Reading/writing of parameters and writing of to the real-time clock
  • Ver. 1.2 - July 13, 2001 - Time programs
  • Ver. 1.3 - January 31, 2020 - Support for different lines than Honeywell C-Bus and support for different modes of communication than ISA card.

...