Porovnávané verzie

Kľúč

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

Johnson Controls N2-Bus protocol

Supported device types and versions
Communication line configuration
Communication station configuration
Station parameters
I/O tag configuration
Time Schedules configuration
Literature
Changes and modifications
Document revisions

Kotva
typy_verzie
typy_verzie
Supported device types and versions

...

Note: on TCP-IP/TCP line, multiple host names separated by comma/semicolon can be defined, to connect to multiple devices in round-robin fashion.

Kotva
komunikacna_stanica
komunikacna_stanica
Communication station configuration

...

  • Communication protocol: Johnson Controls N2-Bus.
  • Address of station on N2 Bus is the number in the range of 1 to 255, the address 0 is reserved.
  • Reading values of objects on station is executed periodically according to time parameters "Polling parameters".
  • The synchronization of real time can be activated - check the Enable parameter in "Synchronization period" section and set the period, which defines a period of recording a real time.

...

The configuration dialog box - Parameters tab.
The parameters influence some optional parameters of protocol. There can be defined the following parameters of station protocol:

Table 1

ParameterMeaningUnitDefault value
Kotva
wt
wt
Wait Timeout
Delay between reading the responses until it is completed.millisec100 millisec
Kotva
wft
wft
Wait First Timeout
The first waiting for a response after sending a call.millisec200 millisec
Kotva
rt
rt
Retry Timeout
Delay between retry calls if a communication error occurs.millisec500 millisec
Kotva
mwr
mwr
Max. Wait Retry
Number of retry response reading until it is completed.-10
Kotva
rc
rc
Retry Count
Number of retry calls when error in communication occurs.1 .. 322
Kotva
fd
fd
Full Debug
Enables the detailed debug information about values of I/O tags that were obtained by polling.YES/NONO

Kotva
merany_bod
merany_bod
I/O tag configuration

...

Used I/O tags: Ai, Ao, Ci, Co, Di, Dout.

The address of I/O tag can define in two formats:

  1. predefined items DX9100,
  2. user format.

Kotva
preddef_itemy
preddef_itemy
1. Predefined items DX9100 has format:

Modul.Tag

Where Modul is a name of module and Tag is name of tag within a module. List of items is based on the documentation DX-9100 Configuration Guide, Appendix B. Since this is a large list of the static items, there is prepared "Object Browser" dialog window, where you may find the particular object. In the "Item Address" section click the button next to the "Item" field.

Button to open object browserImage Modified

The following window opens:

Object Browser dialog windowImage Modified

The left part of window contains the list of modules. After clicking the particular module, the list of tags that belong to this module are displayed in the right part of window.

Parameters of items:

Tag: Name of tag.
Description
: Short description of item.
Access
: Access level (R - read-only, R/W - read and write, CNF - read and write, the configuration parameter is recorded into EEPROM).
Type: Value type of item (see also here).
Address
: Physical address of item that is used for reading/writing. It is calculated from the starting address of module and offset tag (in hexadecimal format). The bit number (1 up to 32) of the addresses of binary items is placed after dot.

...

Kotva
uziv_format
uziv_format
2. User format:

#Typ.Addr[.Bit]

Where:

Kotva
typ_hodnoty
typ_hodnoty
Type is a value type of item. There are supported these types:

Value typeRange, value interpretation
U88 bits unsigned (JC tagging 1 Byte)
U1616 bits unsigned (JC tagging 2 Byte)
U3232 bits unsigned (JC tagging 4 Bytes)
I88 bits signed (JC tagging 1 Byte Int)
I1616 bits signed (JC tagging 2 Byte Int)
FP16 alebo N16 bits floating point in Johnson Controls format (JC tagging Number)
CONNConnection - interpreted as 16 bits unsigned
DSTDestination - interpreted as 16 bits unsigned

Address is the address of item in decimal format.

Bit is a bit number. Optional parameter, it is important only for binary items, when the particular bit is extracted form the value of whole item (for U8, U16 or U32 items).

...