Telegyr 809 Server communication protocol
Supported device types and versions
Communication line configuration
Communication station configuration
Station protocol parameters
I/O tag configuration
Literature
Changes and modifications
Document revisions
Supported device types and versions
This protocol implements the server-side of Telegyr TG809 standard. There is supported a configuration in both line and system redundant configurations.
Communication line configuration
Communication line category:
TCP/IP-TCP
Note: As TG809 Server is a server protocol, KOM process works in a TCP server mode, i.e. it listens on an IP address and port specified in configuration of TCP/IP-TCP communication line.
It is possible to use a symbolic address ALL - in this case the KOM process listens on chosen TCP port in all network interfaces which are available.
Communication station configuration
Communication protocol: Telegyr 809 Server
Address of station: integral number from the interval 0-1023. In protocol, the address of station is used as number of station (Stationsnummer).
Station protocol parameters
Configuration dialog window - tab "Protocol parameters".
They influence some optional parameters of protocol.
Table 1
Parameter | Meaning | Unit | Default value |
|---|---|---|---|
Communication Line | Number from range 0-255 which defines the parameter "Communication number" in the protocol telegrams. | - | 0 |
Line Alive Timeout | Timeout for detection of failure of master side of communication. | sec | 7 |
Read Wait Timeout | Delay between reading data from communication line. | ss.mss | 00.050 |
MOXA Timeout | Timeout for detection of failure of one communication line on the redundant lines. After elapsing the timeout since receiving the last character, the communication is redirected to other communication line, i.e. reading/writing will be done via secondary / backup device. | mi:ss | 00:10 |
Max Data Size | Maximum number of data bytes in a single packete. This parameter defines approximate value (can be exceeded by a data size of one output I/O tag). The standard defines maximum data size equal to 255 bytes but decreasing the packet size practically solved a particular packet fragmentation problem in WAN communication. | - | 210 |
System Redundancy: Manages A Status Address | HW address of output I/O tag with the status of system redundancy. Format of HW address is Rack.Chassis.Slot.Point or Rack-Chassis-Slot-Point, for example "0-2-15-1". | - |
|
Is Substation | On every line ther should be only one station (called the main station) that has this parameter set to False. All other stations (called substations) should have this parameter set to True. This emulates the situation when there may be several substations behind the main station. Requests from the master which do not contain the station number, are related to the main station. | - | False |
Scan-only Mode | In scan-only mode data is being read and analysed, but no data is sent. Combined with the parameter Full Debug this parameter enable KOM process to be used as an analyser of TG809 communication. | - | False |
No Point No Answer | If the I/O tag with an address that is in the request from the TG809 server is not found, the KOM process will not send any response. | - | False |
Full Debug | Enables detailed listings about sending and receiving values. | - | False |
I/O tag configuration
Possible I/O tags: Ai,Ao,Di,Dout,QI,Ci,Co
Address of I/O tags: either software or hardware address
software address - number from interval 0 - 32767
hardware address - consists of the following components:
Rack - number from interval 0 - 3
Chassis - number from interval 0 - 5
Slot - number from interval 0 - 15
Point - number from interval 0 - 31