2.1 LIAN 98 used as Protocol Router


 

Following protocols can be converted with the 104Router :

  • IEC 60870-5-101  to  IEC 60870-5-104  ( IEC101 serial to IEC104 TCP/IP network )

  • Siemens SINAUT ST1  to  IEC 60870-5-104  ( SINAUT ST1 serial to IEC104 TCP/IP network )

  • Modbus RTU mode  to  Modbus NET mode  ( Modbus serial to Modbus TCP/IP network )

 


Route IEC 60870-5-101 to IEC 60870-5-104

 

Protocol 60870-5-104 ( TCP / IP ) over LAN is increasingly used for the connection to control centers. Companies already running IEC 60870-5-101 substations can convert the serial protocol IEC 101 into the network protocol IEC 60870-5-104 with LIAN 98. In this way it is possible to maintain the complete telecontrol equipment. The use of LIAN 98 as router is especially suitable for small control systems with only a few substations. When using all twelve channels of LIAN 98 e.g. 10 ( point to point ) substations can be routed to 2 network clients.

LIAN 98 offers a PC-based cost-effective and fast software solution for the transmission between control center and substations. The great advantage of this software solution is the ability of LIAN 98 to supervise, analyse and archive simultaneously to the router function the data traffic on errors. The integrated simulator ( see Protocol Simulator ) and the integrated analysis function ( see Protocol Analyzer ) makes it possible.

The integration of systems into LIAN 98 is very easy due to low efforts in parameterization. Therefore the router can be adjusted fast and without problems. The configuration is limited only to a few parameters such as e.g. the correlation from ASDU addresses to the channel number. Because the user data transmitted transparently, no data point descriptions are required.

 

 

When during commissioning not all system components ( e.g. the IEC104 client or a IEC101 substation ) are available it is of course possible to simulate temporarily the missing components for the integration test with LIAN 98.

In the following example with channel 3 an IEC 104 client is simulated and with channel 2 the IEC 101 substation while channel 1 and 4 assume the function of the router. ( see : LIAN 98 in router operation additional with client and RTU simulation )

 


Parameterization

 

 

IEC 60870-5-104 Server/ IEC101 Router

 

 

Enable router

yes / no

When this parameter is activated, the LIAN 98 starts the "IEC 104 Server" with router function for the associated channel and waits for the establishment of the connection with the client. The assignment to the channel is set in the configuration ( KNF ) over the parameter "simulation list".
( see : IEC 60870-5-104 : RTU ( Server/ Slave )-Simulation )

Message format

With this parameter the telegram format of the connected substation is selected.

. IEC 60870-5-101
. Siemens SINAUT ST 1

Route test command

yes / no

When this parameter is activated, the test command ( ID 107, COT 6 ) will be converted to IEC 101 structure ( ID 104, COT 6 ) and forwarded to the substation. This allows to examine the complete transmission path from the control system to the substation and back.

Insert routing addresses
Number of adresses
delete
insert

All connected substations which should be taken into account from the IEC104 router have to be entered into the station list.

In order to insert the addresses please proceed as follows :

activate "insert routing addresses" ( button "insert" is displayed ).
Insert in the fields "Address of ASDU" / "Channel number" the station to be entered. Take over the address by clicking "insert". When all stations are inserted please deactivate "Insert routing addresses" ( button "insert" disappears ).

In order to delete one or more stations out of this list select it and click "delete".

 

 

 

End of initialization

yes / no

When this parameter is activated the message "End of initialization" will be transmitted automatically from LIAN 98 ( server ) as soon as the connection to the client is established.

This parameter should be deactivated in the router mode because the substation message "End of initialization" has to be sent from the substation.

Enable clock synchronization

yes / no

The current system time of the PC will be given back in an activation confirmation ( ACTCON ) of a clock SYNC command ( TypId 103 ), if this parameter is activated. Otherwise the received time will only be mirrored.

This parameter should be deactivated in the router mode because the clock SYNC command is normally forwarded to the substation.

Use system time

yes / no

When this parameter is activated the system time of the PC is entered as time stamp before sending the telegrams. Otherwise the telegram remains unchanged as it previously has been edited by the user.

This parameter should be deactivated in the router mode because the current time is already entered by the substation

Send ACTCON respond

yes / no

When this parameter is activated LIAN 98 will send during server simulation automatically an "activation confirmation" ( COT 7 ) or "deactivation confirmation" ( COT 9 ) after the receipt of an "activation" ( COT 6 ) or "deactivation" ( COT 8 ) command.

This parameter should be deactivated in the router mode because the confirmation messages ( COT 7 ) or ( COT 9 ) has to be sent from the substation.

Send ACTTERM respond

yes / no

When this parameter is activated LIAN 98 will send during server simulation automatically an "activation termination" ( COT 10 ) delayed by the "ACTTERM delay time".

This parameter should be deactivated in the router mode because the "activation termination" ( COT 10 ) e.g. at the end of a general interrogation or after the command execution has to be sent from the substation.

Send ACTCON respond
on test command

yes / no

When this parameter is activated the router will send automatically an "activation confirmation" ( ID 107, COT 7 ) after the receipt of a "Test command activation" ( ID 107, COT 6 ).

 

IEC 60870-5-101 Master/ IEC104 Router

 

 

Enable router

yes / no

Additionally to the LIAN 98 internal "IEC 101 server simulation" the router function is enabled when this parameter is activated. Therefore the software is in the router mode after the master simulation is started.
see also IEC 60870-5-101 : RTI ( Master ) Simulation

Message format

With this parameter the message format of the connected client/ master is selected.

. IEC 60870-5-104

Route ACTCON respond

yes / no

A substation sends automatically an "activation confirmation" ( COT 7 ) or "deactivation confirmation" ( COT 9 ) after the receipt of an "activation" ( COT 6 ) or "deactivation" ( COT 8 ).

LIAN 98 will forward a confirmation message after the receipt to the client computer of the control center when this parameter is activated.

Route ACTTERM respond

yes / no

A substation sends e.g. at the end of a general interrogation or after the command execution automatically an "activation termination" ( COT 10 ).

LIAN 98 will forward a termination message after the receipt to the computer of the control center when this parameter is activated.

Route test command respond

yes / no

A substation sends after receipt of a "test command activation" ( ID 104, COT 6 ) automatically a "confirm activation" ( ID 104, COT 7 ).

When this parameter is activated, the test command confirmation ( ID 104, COT 7 ) will be converted to IEC 104 structure ( ID 107, COT 7 ) and forwarded to the control center computer.

Insert routing channel
Number of channels
delete
insert

All connected clients which should be taken into account from the LIAN 98 router have to be entered into the channel list.

In order to insert the channel numbers please proceed as follows :

activate "insert routing channel" ( button "insert" is displayed ).
Insert in the fields "Channel number" the channel to be entered. Take over the channel number by clicking "insert". When all channels are inserted please deactivate "Insert routing channels" ( button "insert" disappears ).

In order to delete one or more channels out of this list select it and click "delete".

 

 

Enable clock synchronization

yes / no

When this parameter is activated LIAN 98 will send at first a time synchronization command after the initialization of the communication and repeat it cyclic if necessary ( time SYNC cycle ).

For the router operation this parameter can be activated or deactivated. If it is deactivated a time synchronizations command from the computer of the control center ( client ) is expected and forwarded to the substation.

Use system date/ time

yes / no

When this parameter is activated the system time of the PC is entered as time stamp before sending the telegrams. Otherwise the telegram remains unchanged as it previously has been edited by the user.

This parameter should be deactivated in the router mode because the current time is already entered from the computer of the control center ( client ).

Enable general interrogation

yes / no

When this parameter is activated LIAN 98 will send a general interrogation command after the initialization of the communication and repeat it cyclic ( GA cycle time ).

For the router operation this parameter can be activated or deactivated. If it is deactivated the general interrogation command is expected from the computer of the control center ( client ) and forwarded to the substation.

Insert scan addresses
Number of addresses
delete
insert

Unbalanced : ( party line )
All stations to be processed at this line have to be inserted into the scan list. LIAN 98 establishes the connection to this stations and interrogates continuously the user data of this stations.

In order to insert the addresses please proceed as follows :

Activate "Insert scan addresses" ( button "insert" will be displayed ).
Insert in the fields "Link address" / "Address of ASDU" the station to be entered in the scan list.
Take over the addresses into the scan list by clicking "insert".
When all stations are inserted, please deactivate "insert scan addresses" ( button "insert" disappears ).

In order to delete a station out of this list select it and click "delete".

Send execute command

yes / no

When this parameter is activated LIAN 98 will send automatically an "activation, execute command" ( COT 6, execute command ) during the master simulation after the receipt of a "activation confirmation, select command" ( COT 7, select command )

This parameter should be deactivated in the router mode because the command execution is managed from the computer of the control center ( client ).

 


Route Siemens SINAUT ST1 to IEC 60870-5-104

 


Parameterization

 

 

IEC 60870-5-104 Server/ ST1 Router

 

 

Enable router

yes / no

When this parameter is activated, the LIAN 98 starts the "IEC 104 Server" with router function for the associated channel and waits for the establishment of the connection with the client. The assignment to the channel is set in the configuration ( KNF ) over the parameter "simulation list".
( see : IEC 60870-5-104 : RTU ( Server/ Slave )-Simulation )

Message format

With this parameter the telegram format of the connected substation is selected.

. IEC 60870-5-101
. Siemens SINAUT ST 1

Route test command

yes / no

This parameter is not used for Siemens SINAUT ST1 routing !

Insert routing addresses
Number of adresses
delete
insert

All connected substations which should be taken into account from the IEC104 router have to be entered into the station list.

In order to insert the addresses please proceed as follows :

activate "insert routing addresses" ( button "insert" is displayed ).
Insert in the fields "Station number" / "Address of ASDU" / "Channel number" the station to be processed. Take over the address by clicking "insert". When all stations are inserted please deactivate "Insert routing addresses" ( button "insert" disappears ).

In order to delete one or more stations out of this list select it and click "delete".

 

 

End of initialization

yes / no

When this parameter is activated the message "End of initialization" will be transmitted automatically from LIAN 98 ( server ) as soon as the connection to the client is established.

This parameter should be deactivated in the router mode because the substation message "End of initialization" has to be sent from the substation.

Enable clock synchronization

yes / no

The current system time of the PC will be given back in an activation confirmation ( ACTCON ) of a clock SYNC command ( TypId 103 ), if this parameter is activated. Otherwise the received time will only be mirrored.

This parameter should be deactivated in the router mode because the clock SYNC command is normally forwarded to the substation.

Use system time

yes / no

When this parameter is activated the system time of the PC is entered as time stamp before sending the telegrams. Otherwise the telegram remains unchanged as it previously has been edited by the user.

This parameter should be deactivated in the router mode because the current time is already entered by the substation

Send ACTCON respond

yes / no

When this parameter is activated LIAN 98 will send during server simulation automatically an "activation confirmation" ( COT 7 ) or "deactivation confirmation" ( COT 9 ) after the receipt of an "activation" ( COT 6 ) or "deactivation" ( COT 8 ) command.

This parameter should be deactivated in the router mode because the confirmation messages ( COT 7 ) or ( COT 9 ) has to be sent from the substation.

Send ACTTERM respond

yes / no

When this parameter is activated LIAN 98 will send during server simulation automatically an "activation termination" ( COT 10 ) delayed by the "ACTTERM delay time".

This parameter should be deactivated in the router mode because the "activation termination" ( COT 10 ) e.g. at the end of a general interrogation or after the command execution has to be sent from the substation.

Send ACTCON respond
on test command

yes / no

When this parameter is activated the router will send automatically an "activation confirmation" ( ID 107, COT 7 ) after the receipt of a "Test command activation" ( ID 107, COT 6 ).

 

SINAUT ST1 Master/ IEC104 Router

 

 

Enable router

yes / no

When this parameter is activated, the LIAN 98 starts the "ST1 Master" with router function for the for the associated channel and establishes a connection to the substation. The assignment to the channel is set in the configuration ( KNF ) over the parameter "simulation list".
( see : SINAUT ST1 : RTI ( Master )-Simulation )

Message format

With this parameter the message format of the connected client/ master is selected.

. IEC 60870-5-104

Insert routing channel
Number of channels
delete
insert

All connected clients which should be taken into account from the LIAN 98 router have to be entered into the channel list.

In order to insert all connected clients please proceed as follows :

activate "insert routing channel" ( button "insert" is displayed ).
Insert in the fields "Address of ASDU" / "Channel number" the client to be entered. Take over the clients into the channel list by clicking "insert". When all channels are inserted please deactivate "Insert routing channels" ( button "insert" disappears ).

In order to delete one or more channels out of this list select it and click "delete".

 

 

Enable clock synchronization

yes / no

After the initialization of the communication LIAN 98 will transmit first of all a time synchronization command and will repeat it cyclic ( Clock SYNC cycle time ), if this parameter is activated.

For the router operation this parameter can be activated or deactivated. If it is deactivated a time synchronizations command from the computer of the control center ( client ) is expected and forwarded to the substation.

Use system date/ time

yes / no

The system time of the PC will be taken over into the time synchronization command ( ORG 10 ) before the telegram will be transmitted, if this parameter is activated. Alternatively the telegram remains unchanged as before edited by the user.

This parameter should be deactivated in the router mode because the current time is already entered from the computer of the control center ( client ).

Enable general interrogation

yes / no

After the initialization of the communication LIAN 98 will transmit a general interrogation command and will repeat it cyclic ( GI cycle time ), when necessary if this parameter is activated.

For the router operation this parameter can be activated or deactivated. If it is deactivated the general interrogation command is expected from the computer of the control center ( client ) and forwarded to the substation.

Insert scan addresses
Number of addresses
delete
insert

Unbalanced : ( party line )
All stations to be processed at this line have to be inserted into the scan list. LIAN 98 establishes the connection to this stations and interrogates continuously the user data of this stations.

In order to insert the addresses please proceed as follows :

Activate "Insert scan addresses" ( button "insert" will be displayed ).
Insert in the fields "Link address" / "Address of ASDU" the station to be entered in the scan list.
Take over the addresses into the scan list by clicking "insert".
When all stations are inserted, please deactivate "insert scan addresses" ( button "insert" disappears ).

In order to delete a station out of this list select it and click "delete".

 


Route Modbus RTU mode to Modbus NET mode

 


Parameterization

 

 

Modbus NET Server/ Router

 

 

Enable router

yes / no

When this parameter is activated, the LIAN 98 starts the "Modbus NET Server" with router function for the associated channel and waits for the establishment of the connection with the client. The assignment to the channel is set in the configuration ( KNF ) over the parameter "simulation list".
( see : MODBUS Network : RTU ( Server/ Slave )-Simulation )

Message format

With this parameter the telegram format of the connected substation is selected.

. Modbus RTU mode serial

Insert routing addresses
Number of adresses
delete
insert

All connected substations which should be taken into account from the LIAN 98 router have to be entered into the station list.

In order to insert the addresses please proceed as follows :

activate "insert routing addresses" ( button "insert" is displayed ).
Insert in the fields "Station Address" / "Channel number" the station to be entered. Take over the address by clicking "insert". When all stations are inserted please deactivate "Insert routing addresses" ( button "insert" disappears ).

In order to delete one or more stations out of this list select it and click "delete".

 

 

Maximum number of
"Server transactions"

1 ( fixed )

 

t0  Connection establishment

[ sec ]  Only important for the client !

Initialize Process Image

yes / no

 

Modbus RTU-Mode Master/ Router

 

 

Enable router

yes / no

When this parameter is activated, the LIAN 98 starts the "Modbus RTU Master" with router function for the for the associated channel and establishes a connection to the substation. The assignment to the channel is set in the configuration ( KNF ) over the parameter "simulation list".
( see : MODBUS serial : RTI ( Master )-Simulation )

Message format

With this parameter the message format of the connected client/ master is selected. ( Modbus NET Client ).

Insert routing channel
Number of channels
delete
insert

All connected clients which should be taken into account from the LIAN 98 router have to be entered into the channel list.

In order to insert the channel numbers please proceed as follows :

activate "insert routing channel" ( button "insert" is displayed ).
Insert in the fields "Channel number" the channel to be entered. Take over the channel number by clicking "insert". When all channels are inserted please deactivate "Insert routing channels" ( button "insert" disappears ).

In order to delete one or more channels out of this list select it and click "delete".

 

 

Insert Slave- / Server Addresses
Number of addresses
delete
insert

Multi-Point Traffic Line : ( party line )
All stations to be processed at this line have to be inserted into the server list. LIAN 98 establishes the connection to this stations ( maximum 32 servers ) and reqests continuously the user data of this stations.

In order to insert the addresses please proceed as follows :

Activate "Insert Server Addresses" ( button "insert" will be displayed ).
Insert in the fields "Station Address" the station to be entered in the server list.
Take over the address into the server list by clicking "insert".
When all stations are inserted, please deactivate "Insert Server Addresses" ( button "insert" disappears ).

In order to delete a station out of this list select it and click "delete".

 

 


MAYR Software

Wuerzburger Ring 39,  D 91056 Erlangen

Manual LIAN 98


LIAN 98 Protocol Router, Simulator and Analyzer
© Copyright 2001, 2006, 2011 by Werner Mayr. All Rights reserved.