Porovnávané verzie

Kľúč

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

Terminal LFC (IEC 870-5) communication protocol

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

Kotva
typy_verzie
typy_verzie
Supported device types and versions

...

An implementation according to IEC870-5-101 standard:

  • Originator ASDU address - omitted.
  • ASDU address - it is 1 byte and represents a station address. A different ASDU address of each station on the same line is required.
  • Cause of transmission - it is 1 byte (it does not contain Originator ASDU address).
  • Information object address - 2 bytes, it represents I/O tag address.

...

  • Communication line category: Serial, TCP/IP-UDP, SerialOverUDP Device Redundant
  • UDP Parameters:
    • The parameters of primary server or secondary one are required.
    • Host: string max. 80 characters – a server name in the INET form (the name or numerical address a.b.c.d).
    • Port: UDP port number (1 to 65535).

...

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

Table 1

ParameterMeaningUnitDefault value
Kotva
la
la
Link Address
Communication line address (1 byte).-1
Communication Error TimeoutTimeout defined for the check of communication on the line (or on the lines of primary or backup communication in case of UDP communication). If communication does not work longer than it is this value, the values of all communication stations on the line will be transferred to StCOMERR state.ms10 sec

Kotva
komunikacna_stanica
komunikacna_stanica
Communication station configuration

...

  • Communication protocol: Terminal LFC (IEC870-5).
  • Station address is a decimal number ranging from 0 up to 255. It represents the ASDU address in the protocol.

Kotva
param_protokolu_stanice
param_protokolu_stanice
Communication station parameters

...

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

Table 2

ParameterMeaningUnitDefault value
Kotva
rc
rc
Retry Count
Number of the call retry when some communication error occurs.-2
Kotva
rt
rt
Retry Timeout
A delay between the call retries when some communication error occurs.ms100 ms
Kotva
wft
wft
Wait First Timeout
Time of the first waiting for response after the call has been sent.ms100 ms
Kotva
wt
wt
Wait Timeout
A delay between reading of the response till its completing.ms500 ms
Kotva
mwr
mwr
Max. Wait Retry
Number of retry of response reading till its completing.-6
Kotva
ndt
ndt
No Data Timeout
A delay after the response without data has come (Positive Quittung).ms300 ms
Kotva
aconst
aconst
Analog Constant
A constant to calculate an address of a measurement.-129
Kotva
aoffset
aoffset
Analog Offset
A constant to calculate an address of a measurement.-40000
Kotva
dconst
dconst
Digital Constant
A constant to calculate an address of the signals.-501
Kotva
cconst
cconst
Counter Constant
A constant to calculate an address of the signals.-1026
Kotva
coffset
coffset
Counter Offset
A constant to calculate an address of the counters.-60000
Kotva
dcrc
dcrc
DataClass Req. Compatibility
A compatibility of data class 1 and class 2 requests according to IEC870-5-101 specification. A value NO means that only data class 1 are called.YES/NONO
Kotva
spmd
spmd
Send PostMortemData
Permission to send a received data with a timestamp as so-called post-mortem data (only to an archive).YES/NOYES

Kotva
merany_bod
merany_bod
I/O tag configuration

...

A possible I/O tags: Ai, Ao, Ci, Di, Dout, Qi

The address consists of two parameters - Object and Value.

These parameter are used to calculate the address (in the range 0 to 65535) according to these formulas:

  • The calculation of complete address for Ai, Ao tags (the measurements):

    Address = ((Object - 1) * ACONST) + Value + AOFFSET
  • The calculation of complete address for Di, Dout tags (the signals):

    Address = ((Object - 1) * DCONST) + Value


  • The calculation of complete address for Ci tag (the counters):

    Address = ((Object - 1) * CCONST) + Value + COFFSET

As regards Dout tags, you can set Value address (i.e. Object and Value). A basic address data is required at writing. Value address is used to update I/O tag value at reading.

...