IEC-60870
Supported Operations
| This driver supports subscriptions only - reading, writing and browsing are not implemented and a request for any of them is rejected. |
Tag Addresses
A tag address names one information object of one station and is written as <asdu>/<ioa>:
-
<asdu>is the 2 octet common address of ASDU (the station address). Write it either as one decimal number0..65535or octet by octet as<low>/<high>, each0..255. -
<ioa>is the 3 octet information object address. Write it either as one decimal number0..16777215or octet by octet as<low>.<middle>.<high>, each0..255.
|
The octet-wise forms are written least significant octet first, the order the octets appear in on
the wire. So This is the opposite order of the identically shaped |
A * may take the place of any number and makes that position a wildcard, so that one subscription
can cover a whole station, a whole octet range, or everything the connection reports.
| Address | Meaning |
|---|---|
|
ASDU 1, information object 2 |
|
the widest address both fields can carry |
|
ASDU 513 (low octet 1, high octet 2), information object 3 |
|
ASDU 1, information object 262914 (low 2, middle 3, high 4) |
|
ASDU 513, information object 328707 |
|
every information object of every station |
|
every information object of ASDU 1 |
|
information object 328707 of every station |
|
low and high octet pinned, middle octet wildcarded |
Surrounding whitespace is trimmed and leading zeros are accepted, up to the number of digits the
maximum of that component has (3 for an octet, 5 for a whole ASDU address, 8 for a whole information
object address). So 007/002.03.004 is accepted while 000007/2 is not. Whitespace inside an
address is not accepted.
Every incoming information object is matched against the address of each subscription and only delivered to the subscriptions that cover it - the station itself reports everything it has, the filtering happens in the driver.
|
Malformed and out-of-range addresses are rejected when the request is built, with a
Earlier versions of this driver ignored the address entirely: any string was accepted and every
subscription received every incoming ASDU, leaving the filtering to the consumer. Existing code
therefore needs its addresses reviewed - in particular a bare |
Connection String Options
Name |
Type |
Default Value |
Required |
Description |
Name |
IEC 60870-5-104 |
|||
Code |
|
|||
Maven Dependency |
<dependency> <groupId>org.apache.plc4x</groupId> <artifactId>plc4j-driver-iec-60870</artifactId> <version>1.0.0</version> </dependency> |
|||
Default Transport |
|
|||
Supported Transports |
|
|||
Config options: |
||||
|
INT |
4000 |
Maximum time (in milliseconds) to wait for the test-frame and start-data-transfer handshake replies during connection setup. |
|
Transport config options: |
||||
tcp |
||||
|
INT |
5000 |
||
|
INT |
0 |
||
|
INT |
0 |
||
|
BOOLEAN |
true |
||
|
BOOLEAN |
false |
||
|
INT |
81920 |
||
|
INT |
81920 |
||
|
STRING |
|||
|
INT |
0 |
||