LIAN 98 COMMUNITY

Diskussionen, Fragen und Antworten rund um die Daten├╝bertragung in der Fernwirktechnik. / Discussions, questions and answers about data transmission in telecontrol systems.
It is currently Sat 24. Aug 2019, 23:38
check

All times are UTC + 1 hour [ DST ]




Post new topic Reply to topic  [ 1 post ] 
Author Message
 Post subject : IEC 60870-5-104 : Load and use process data for simulation
PostPosted : Tue 16. Mar 2010, 19:33 
Offline
Administrator
User avatar

Joined : Sat 28. Jun 2008, 21:20
Posts : 15
Location : Erlangen, Germany
All process dependent data are available in a data base system of the control center computer. LIAN 98 offers the possibility to import these process data and use it for the IEC 101 / IEC 104 simulation. Therefore it is necessary that the process computer can export station for station specific information out of its data base into a text file ( e.g. comma separated values ).

The following data must be available per data points :

. Information object address ( IOA )
. Typ identification ( TypeID )
. State of information ( ON/ OFF ) for single and double point information
. State of command ( ON/ OFF ) for single and double point commands
. for the commands additional the information "select or execute" ( S/ E ) and the pulse duration time
. the description of the data point as plain text

The file should also include the ASDU address ( station address ) and the station name.

When all above criteria fulfilled and the structure of the file to be imported into LIAN 98 is known, the data can be imported. If the structure of the import data is still unknown we are pleased to implement the necessary import moldule free of charge for you.

The process data description is organized line by line and can accommodate up to 5800 data points, whereby each data point is one line.

1. Import of data points

Attachment :
u_lian98przdat-01.jpg
u_lian98przdat-01.jpg [ 27.49 KiB | Viewed 3568 times ]

Open the parameter list by clicking the button "PAR" and select the file "k?IEC104.PAR". Then go to the register card "process data".
Attachment :
u_lian98przdat-02.jpg
u_lian98przdat-02.jpg [ 142.77 KiB | Viewed 3565 times ]

In the scope of supply of LIAN 98 already different process data ( test data ) for the import are available.
Attachment :
u_lian98przdat-03.jpg
u_lian98przdat-03.jpg [ 56.01 KiB | Viewed 3570 times ]

Before importing the new process data the old one must be deleted by setting the field "number of data points" to zero. Thereby the button "IMP" in the tool bar is activated that opens the window "import process data points".
Attachment :
u_lian98przdat-04.jpg
u_lian98przdat-04.jpg [ 105.1 KiB | Viewed 3567 times ]

Now path and name of the file that should be used for the import must be selected. In order to select an import file also the button "open import file" on the right can be used.

In the data folder ( ..\lian98\par\ ) of LIAN 98 are the files "LIAN_EN_UW_HAG__.IEC, LIAN_EN_UW_OAL_N.IEC and LIAN_EN_WALSKSTR.IEC" that contain data point descriptions for importing. The data can be used for IEC 101 and IEC 104.

In this topic we use the text file "LIAN_EN_UW_HAG__.IEC" that corresponds to format 1 and contains 1555 data points.
Attachment :
u_lian98przdat-05.jpg
u_lian98przdat-05.jpg [ 166.38 KiB | Viewed 3573 times ]

Before importing you can check the particular data points via the button "open file" and modify it if necessary. Then the data points are imported with the button "import".

When importing is finished you get the follwing message that will be closed with "OK" :
Attachment :
u_lian98przdat-06.jpg
u_lian98przdat-06.jpg [ 20.22 KiB | Viewed 3564 times ]

Attachment :
u_lian98przdat-07.jpg
u_lian98przdat-07.jpg [ 137.79 KiB | Viewed 3564 times ]

Of course the values in the particular lines and columns can also be changed after the import. Don't forget to save the new process data with the button "floppy disc".
Attachment :
u_lian98przdat-08.jpg
u_lian98przdat-08.jpg [ 149.86 KiB | Viewed 3556 times ]


2. Prepare simulation

Dependent on the simulation mode the corresponding parameters for the master simulation or the slave simulation must be entered. Normally these are ASDU- and IP address.

Settings for the client simulation :

Open the simulation list by clicking the button "SIM" and select the file "k?IEC104.SIM". Then go to the register card "RTI" ( Master ).
Attachment :
u_lian98przdat-09.jpg
u_lian98przdat-09.jpg [ 136.3 KiB | Viewed 3556 times ]

Proceed as follows to enter the addresses :

Activate "insert server addresses" ( button "insert" is displayed ). Insert in the fields "Address ASDU" / "IP address ) the station to be entered. Take over the addresses in the server list with "insert". When all stations are inserted deactivate "insert server addresses" ( button "insert" disappears ).

In order to delete the servers out of this list select it and click "delete".

All servers ( max. 32 stations ) to be processed by LIAN 98 are entered in the server list. LIAN 98 establishes a connection to all this stations during the master simulation.

Settings for the server simulation :

Go to the register card "RTU" ( Slave ) in order to execute the settings for the substation simulation.
Attachment :
u_lian98przdat-10.jpg
u_lian98przdat-10.jpg [ 130.3 KiB | Viewed 3544 times ]


Settings for the use of process data :

Go to the register card "data point simulation" ( Slave ) in order to execute the settings for use of process data. These parameters are valid for the master- and the slave simulation.
Attachment :
u_lian98przdat-11.jpg
u_lian98przdat-11.jpg [ 112.61 KiB | Viewed 3546 times ]

The use of the data points during the simulation can here be activated or deactivated despite available process data. As well a data point range can be selected here. Thereby the requested messages e.g. by the general interrogation will be reduced to this range. The maximum value for the parameter "till" corresponds to the "number of data points" in the process data list. LIAN 98 starts from parameter "from" or a subsequent line and ends at parameter "till" or a previous line with generating and transmission of process telegrams, provided that the data type corresponds to the simulation mode. RTI simulation uses only data types in control direction and RTU simulation only data types in monitoring direction.

3. Interface ( channel ) configuration

Open the configuration list by clicking the button "KNF" and select the file "LIAN98.KNF". Then go to the register card "channel 3" or "channel 4".

If no IP address is displayed when opening the register card, the network is not correctly installed in Windows or the connection to the network hub does not exist. When several network cards are available please select here the card to be used.
Attachment :
u_lian98przdat-12.jpg
u_lian98przdat-12.jpg [ 107.84 KiB | Viewed 3548 times ]

The delivery of the LIAN98 software includes the preparation of the IEC104 client simulation for channel 3 and the IEC104 server simulation for chanel 4. At this point should further be checked whether the correct network card and the correct network protocol are selected and the correct IP address and port number are set. If changes have been made do not forget to save them by clicking the button "floppy disc".

4. Start simulation

Open the channel window 3 by clicking Button "K 3" for the master simulation or channel window 4 by clicking button "K 4" for the slave simulation.
Attachment :
u_lian98przdat-13.jpg
u_lian98przdat-13.jpg [ 121.56 KiB | Viewed 3540 times ]

In this topic we will simulate the Client on channel 3 and the server on channel 4 simultaneously therefore both channels are displayed. Condition for the simultaneous simulation is that the PC is connected to a network switch. Press in channel window 4 the button "RTU" to start the slave simulation.
Attachment :
u_lian98przdat-14.jpg
u_lian98przdat-14.jpg [ 216.39 KiB | Viewed 3544 times ]

Press in channel window 3 the button "RTI" to start the master simulation. The connection to the slave will be established dependent on the settings in the simulation list ( STARTDT, time synchronization, general interrogation, ... ).

RTI-Simulation :

Open for the master simulation the window with the process data list via the button "PRZLST" in channel window 3.
Attachment :
u_lian98przdat-15.jpg
u_lian98przdat-15.jpg [ 217.63 KiB | Viewed 3539 times ]

Attachment :
u_lian98przdat-16.jpg
u_lian98przdat-16.jpg [ 216.75 KiB | Viewed 3544 times ]

One or more data lines will be marked via mouse click and sent afterwards with the buttons "SS", "SZ" or "SM" once, cyclic or multiple. The multiple selection will be done with the keys "shift" and "CTRL" or "CTRL + shift". If several data lines are marked they will be transmitted within this selection corresponding to their line number in ascending order.
Attachment :
u_lian98przdat-17.jpg
u_lian98przdat-17.jpg [ 215.88 KiB | Viewed 3539 times ]

Attachment :
u_lian98przdat-18.jpg
u_lian98przdat-18.jpg [ 214.42 KiB | Viewed 3537 times ]

Before the message is sent the value of the column "step" is added to the initial value in the column "state" in order to get a modified state for the transmission. It should be noted that the result depends on the data type. E.g. result for a double point information e.g. the states "ON"-> "3" -> "0" -> "OFF" -> "ON" result after each transmission for a step value of 1. For a single point information the state the state moves only between "0" and "1". The values in the particular columns and lines can be changed of course but not saved at this place in the file ( PAR file ). Permanent changes must be done directly in the parameter file ( see in LIAN 98 Manual "PAR file - Process Data" ).

For a better orientation the background color of the data point in the column "state" changes after each transmission. At the same time the state value is updated to the last sent value.

RTU-Simulation :

For the slave simulation open the window with the process data list via the button "PRZLST" in channel window 4.
Attachment :
u_lian98przdat-19.jpg
u_lian98przdat-19.jpg [ 219.88 KiB | Viewed 3514 times ]

One or more data lines are marked via mouse click and sent afterwards with the buttons "SS", "SZ" or "SM" once, cyclic or multiple. The multiple selection is done with the keys "shift" and "CTRL" or "CTRL + shift". If several data lines are marked they will be transmitted within this selection corresponding to their line number in ascending order.
Attachment :
u_lian98przdat-20.jpg
u_lian98przdat-20.jpg [ 220.62 KiB | Viewed 3521 times ]

Before the message is sent the value of the column "step" is added to the initial value in the column "state" in order to get a modified state for the transmission. Except for a general interrogation, the actual state in the list is transmitted. It should be noted that the result depends on the data type. E.g.result for a double point information e.g. the states "ON"-> "3" -> "0" -> "OFF" -> "ON" result after each transmission for a step value of 1. For a single point information the state the state moves only between "0" and "1". The values in the particular columns and lines can be changed of course but not saved at this place in the file ( PAR file ). Permanent changes must be done directly in the parameter file ( see in LIAN 98 Manual "PAR file - Process Data" ).

For a better orientation the background color of the data point in the column "state" changes after each transmission. At the same time the value is updated for the next transmission.

Stop simulation :

Attachment :
u_lian98przdat-21.jpg
u_lian98przdat-21.jpg [ 223.99 KiB | Viewed 3516 times ]

The simulation is stopped for each single channel by pressing the button "STOP" ( blue square ).

__________________
MAYR Software
Wuerzburger Ring 39
D - 91056 Erlangen / Germany


Phone : +49 (0)9131 7557 0
Email : werner@mayor.de
Web : http://www.lian98.biz/


Top
 Profile Send private message E-mail  
 
Display posts from previous :  Sort by  
Post new topic Reply to topic  [ 1 post ] 

All times are UTC + 1 hour [ DST ]


Who is online

Users browsing this forum : No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to :  
cron
P o w e r e d  b y  p h p B B  © 2000, 2002, 2005, 2007  p h p B B  G r o u p