...

3.11 TDB file : Channel 1 ... 12
Recording and Simulation ( Transmit, Receive, ... )


 

By clicking one of the symbols 1 ... 12 ( conforms channel 1 ...12 ), the window for the respective channel opens. The complete data communication like transmission and receipt is controlled out of this window. Furthermore the required send telegrams can be processed. It is also possible to open several channel windows together in order to work simultaneously.

  • Processing of send telegrams : edit, copy, delete or print
    In order to create send telegrams 500 TDB buffers are available. Each of this buffers can take up one send telegram. The edited TDB buffers, delivered with the software, should be seen as example and can be altered and so suited to the required test process.

  • Import of telegrams :
    Messages out of a recorded archive ( <ARC file> ) can be loaded selectively into the TDB buffers in order to make editing easier. If necessary the messages must be edited subsequently.

  • Transmission and receipt of telegrams

  • Simulation :
    Besides the recording function the MASTER- as well as the SLAVE simulation can be activated for each channel separately. In case of a network grid also called CLIENT- and SERVER simulation.

    . RTI  ( Remote Telecontrol Interface ) => Master simulation
    . RTU ( Remote Telecontrol Unit )       => Slave simulation

The window of a channel is divided into 3 sections :

  • EDIT :
    Selection list of all available TDB buffers for the processing of individual send telegrams.

  • TDBview : Display section for TDB buffers
    Screen output of selected TDB buffers. Edited telegrams can be displayed on screen in order to check before sending out. The display format can be defined in the <FMT file>.

  • RCVview : Output window for send and receive telegrams
    Display of all transmitted and received telegrams chronologically. The display format can be defined in the <FMT file>.


Toolbar channel window

 

 

save TDB buffer

Saves the telegram currently be edited into the TDB file. It is not absolutely necessary because the TDB buffer will be automatically saved after closing the editing window. Changes which are not saved will be shown by an * in the caption title.

save TDB File as

Saves the TDB file under a new name. Therefore it is possible to prepare several TDB files for different test procedures and load it when required.

clear TDB buffer content

Clears marked TDB buffers. The marked TDB buffer will be new initialized ( no valid telegram ).

read TDB buffer content

Copies one ore more marked telegrams into the internal LIAN 98 clip board.

write TDB buffer content

Writes one or several send buffers out of the internal clip board into the selected send buffer respectively in the following buffers starting from the selected one.

select all TDB buffers

Marks all 500 TDB buffers at the same time.

import telegrams

Imports messages out of a recorded archive and saves them into the TDB buffers, starting from the the selected one upwards.
With this function recorded messages can be transferred out of an ARC file into the TDB buffers.
Before this function can be used, a suitable archive file with recorded data must be available. As an archive contains up to 12 channels, the monitoring channel, that means the recording channel number has to be selected for the import. The data format of the channel must correspond to the data format of the TDB file.
The input data "from/ till" refers to the number ( 1... n ) of the data record in the archive. It must be taken into account that the TDB file can only store 500 ( O... 499 ) messages. The messages are stored from the marked TDB buffer sequentially in the following TDB buffers.

display telegrams
( output on screen )

Displays the marked telegram buffers in the TDBview section. Edited messages can e.g. before transmitting displayed in this window in order to check. The display format can be defined via settings in the format file ( see <FMT file> ).

send telegram(s) once

One or several marked telegram buffers are transmitted once. If several buffers are selected, these buffers will be transmitted in ascending order within the cycle, corresponding to the TDB number.

send telegram(s) cyclic

One or several marked telegram buffers are transmitted endless cyclic. The blocking time ( send cycle x 100 msec ) to be maintained between the single cycles is to be set in the following input field. If several buffers are selected, these buffers will be transmitted in ascending order within the cycle, corresponding to the TDB number. The cycle will be ended by deleting the particular send job manually ( see below : display send list ).

send telegram(s) multiple

One or several marked telegram buffers will be transmitted multiple cyclic. The transmission cycle is to be set in the input field to the left and the number of repetitions ( number of transmissions ) is to be set in the following input field. If several buffers are selected, these buffers will be transmitted in ascending order within the cycle, corresponding to the TDB number. The cycle will be ended automatically after the given number of transmissions.

activate / deactivate send sequence

A previously created send sequence will be activated or deactivated ( see <TSB file> ).

open process data list

A window with the imported data points is opened if valid process data are available in the parameter list. Particular commands, messages and measurands can be marked and sent in this window. The button is only started after the activation of the RTI- or RTU simulation. ( see <PAR File> )

start process data transmission /
stop process data transmission

The transmission of the particular process data points is activated or terminated with this button if the process data have been imported previously into the parameter list. RTI or RTU simulation must already be started. Dependent on the simulation mode control telegrams, messages or measurands are transmitted according to the data point description in the list
( see <PAR file> ).
In the SIM list, item "simulate data points", is defined from which area in the list the data poins are transmitted
( see e.g. IEC 104 <SIM file - Simulate data points> ).

start master simulation

Master ( RTI ) simulation will be activated on this channel. The simulation will be ended by pressing again whereat the
recording function remains active.

By pressing the "stop recording" button the simulation and recording will be stopped.

In case of a network protocol ( e.g. IEC 104 ) the client operation will be activated or by pressing the "stop recording" button deactivated.
( see <SIM file> )

start slave simulation

Slave ( RTU ) simulation will be activated on this channel. The simulation will be ended by pressing again whereat the
recording function remains active.

By pressing the "stop recording" button the simulation and recording will be stopped.

In case of a network protocol ( e.g. IEC 104 ) the server operation will be activated or by pressing the "stop recording" button deactivated.
( see <SIM file> )

Modem connection

After pressing the phone button the modem status window opens. LIAN 98 is now ready for incoming calls. In this window also you enter the phone number and the password. If you would like to make a phone connection yourself, please press only "connect". ( see <AWD : automatic dial up service> )

Test without modem

The modem status window will not be closed until pressing this button. Thereby also an existing connection is closed and LIAN 98 can no longer be called. ( see <AWD : automatic dial up service> )

Display send list / possibly remove send jobs

All activated send jobs ( multiple or cyclic ) are displayed. Particular jobs can be marked and deleted when required.

start recording
( start )

All telegrams received on this channel, will be recorded. With this button monitoring operation is started. Simulation does not take place. Messages can be sent manually when requested.

Pause - stops screen output
temporarily

The screen output in the RCVview window is suppressed temporarily for this channel during simulation and recording. The entry into the archive takes place undisturbed. By pressing the button again the screen output will be continued.

If the input focus is set on the RCVview window also the "space bar" can be used for this function.

stop recording
( stop )

Stops recording for this channel. If the simulation or a send sequence is started, they will be ended, too. All send jobs standing in line at the moment will be deleted.

deletes recording data for all channels

All telegrams in the recording window and in the archive are deleted. All channels activated at this time are involved. ( Not available in the Demo version )

find selected text ( Not available at the moment ! )
select font

Selects the font for the screen. Font and size for the TDBview window as well as for the RCVview window can be set separately. Click first at the corresponding window and afterwards "select font". The settings will be lost when closing the channel window.

page view of active window

<TDBview window> as well as <RCVview window> can be displayed in a page view. This view offers the possibility to scroll through the pages or to print particular pages or everything on request.
Before this function can be used, a printer must be installed under the operation system.
Font and size for the page view can be adapted to your monitor resolution via the menu item "view - printer fonts". The print margins are set via the menu item "file - page setup".

print

Print telegrams in the TDBview or RCVview window on the printer.

 


Processing of send telegrams

 

 

num

TDB buffer number ( 0... 499 )

commentary

You can give each buffer a typical name so that you do not loose the track of 500 buffers. The input takes place during editing via a commentary field. It will be displayed afterwards in the selection list.

 

Edit send telegrams

For each protocol 500 buffers are available. In each of this buffers one telegram can be stored. Via double click a protocol specific window opens, in which the telegram type can be selected. Afterwards the telegram contents, divided into telegram header and process information, are entered via telegram dependent masks for each telegram with input or pick up windows. Therefore editing becomes user-friendly and clearly and the laborious counting of bits for a pure hexadecimal input can be dropped. Additionally the possibility exists to enter the values of the individual addresses decimal or hexadecimal just as you want. By entering one value the conversion takes place automatically. Of course telegrams can be edited during recording or simulation.

 

 

Check send telegrams

display telegram in the window

page view, print if is required

In order to check the telegrams e.g. before transmitting, the edited send telegrams can be displayed in the TDBview window. The display format can be defined via settings in the <FMT file>. You select one or several buffers in the window on the left and click the symbol <display telegrams> in the tool bar. The content of the selected buffers is displayed in the TDBview section. For multiple choice use the keys <STRG or SHIFT> in together with the mouse click. In order to print these telegrams click on the TDBview window and afterwards the symbol <page view>.

 

 

Copy send telegrams

read telegram write telegram delete telegram

One telegram can be copied out of a TDB buffer into another or several telegrams simultaneously in a sequence of buffers. For copying they must be read out of the TDB buffer into the internal LIAN 98 clip board. Therefore one or several buffers are marked and by clicking the symbol <read telegram> read in an internal clip board. Afterwards one buffer has to be marked and from this buffer the buffers will be stored sequentially by clicking the symbol <write telegram>.

 

 > > > > 

 

Import telegrams

import records out of an ARC file select ARC file

 

Imports telegrams out of a recorded archive and stores them sequentially in the TDB buffers starting at the marked buffer.

With this function recorded telegrams of an ARC file can be transferred into the TDB buffers e.g. a sequence of interrogated telegrams of an general interrogation.

Before this function can be used, a suitable archive file with recorded data must be available. As an archive contains up to 12 channels, the monitoring channel, that means the channel number for the recorded data, has to be selected for the import. The message format of the channel must correspond to the message format of the TDB file.
The input data "from/ till" refers to the number ( 1... n ) of the data record in the archive. It must be taken into account that the TDB file can only store 500 ( O... 499 ) messages. The messages are stored from the marked TDB buffer ( copy to ) sequentially in the following TDB buffers.

 

 

Archive file name

Enter path and name of the archive file out of which the telegrams should be imported. You can also search for a suitable archive via the button "select file". The recording archive currently used is set as default. Please note that you can import out of this archive not until recording is finished. When you have selected an archive you can view it via the button "open archive" in order to get the required parameters. ( channel, direction, from, to etc. )

Select channel

As an archive can contain up to 12 channels you have to select one channel. Within this channel the records are numbered from 1 to n.

Select direction

As an archive can contain send- as well as receive records please select here the direction.

from ARC record Starting from this telegram out of the archive telegrams will be imported.
till ARC record Up to this telegram in the archive telegrams will be imported.
File name TDB buffer

The name and path of the TDB file, currently used, is displayed. This setting can not be changed here.

Copy to TDB buffer

The telegrams are stored from this TDB buffer sequentially in the following TDB buffers. There is no check whether there are already edited telegrams. If there are telegrams, they will be overwritten with the imported records.

up to TDB buffer

Display up to which TDB buffer the imported telegrams are stored. 500 buffers ( 0... 499 ) are available.

import Starts importation
finished Close import window

 

Transmit and receive

The complete data communication like transmission and receipt is controlled out of the channel window. In the receive window RCVview all transmitted and received telegrams of one channel are displayed chronologically. For a better overview the header of send telegrams ( to the substation ) are green and receive telegrams ( from the substation ) are yellow displayed. The display format can be defined in the <FMT file>.

Because in the receive window only the last messages can be seen, you have the possibility to see all up to that time received data in the page view during recording. ( <RCVview window> )

Additional to the output on screen all transmitted and received data of all channels are stored chronologically in an <archive> for a later analysis.

 

 

Receive : Monitoring operation

start

Recording will be started by pressing this button.

pause

By pressing this button or pressing the "Spacebar" the output in the RCVview window is stopped. The entry in the archive is still continued. By pressing again the output on screen is continued. This function offers the possibility to view untroubled the last received and sent telegrams. For scrolling also the scroll wheel of the mouse can be used.

stop

By pressing this button, recording is stopped.

reset

The complete recorded data in the archive, the PRO file and the receive window are deleted.
Note : All channels currently used are involved.

 

If one is interested only in some specific records ( e.g. measurands, ... ), it is possible to activate message format specific filters for the recording. ( see <VFL file> ).

 

Transmission of telegrams

One or more telegrams are selected via mouse click and sent subsequently. When sending the telegram the receive function for this channel will be activated automatically.

The following send modes are available for manual transmission :

send once [send single]
If several buffers are selected, these buffers will be transmitted in ascending order, corresponding to the TDB number within the selection. By pressing the SS button again the running transmission will be stopped.

send endless cyclic [Send cyclic]
The blocking time ( send cycle x 100 msec ) to be maintained between the single cycles is to be set in the following input field. If several buffers are selected, these buffers will be transmitted in ascending order, corresponding to the TDB number within the selection. The cycle will be ended manually by pressing the SZ button again.

send multiple cyclic [send multiple]
The blocking time ( send cycle x 100 msec ) to be maintained between the single cycles is to be set in the input field to the left and the number of repetitions ( number of transmissions ) is to be set in the following input field. If several buffers are selected, these buffers will be transmitted in ascending order, corresponding to the TDB number within the selection. The cycle will be ended automatically after the given number of transmissions or manually by pressing the SM button again.

 

Activate a send sequence

Additional to the transmission of selected telegrams out of the TDB buffer send sequences can be created and sent afterwards.
( see <TSB file> )
A sequence describes a simple procedure and can take up to 200 instructions. Several telegrams from different TDB buffers can be linked to a sequence.

The send sequence is started or ended with the button "SEQ".

 

Kill send jobs

All active send jobs, cyclic or multiple, are displayed. A job can be deleted via marking and removing.

Display send list

 

 

Send using process data list

 

One ore more data lines will be marked by a mouse click and sent afterwards..

 

mark all lines
Marks all available data points simultaneously.

display telegram in the TDBview window
Not realized at the moment.

send once [Send Single]
The gap time to be maintained between the single telegrams is set in the simulation list ( see: <SIM file - simulate data points> ) Transmission is ended automatically after the pass or immediately by pressing the button once again.

send endless cyclic [Send cyclic]
In the following input field ( send cycle x 100 msec ) a gap time ( 1 ... 10000 ) will be set which is maintained between the single telegrams. The cycle is ended by pressing the button once again.

send multiple cyclic [Send Multiple]
In the left input field the gap time ( send cycle x 100 msec ) to be maintained between the single telegrams will be set and in the following field the number of passes ( 1 ... 10000 ). The cycle is ended automatically after the specified number of transmissions or immediately by pressing the button once again.

 

One or more data lines will be marked by mouse click and sent afterwards. The multiple choice is made by using the keys "shift" and "CTRL"  or  "CTRL + shift". If several data lines are marked they will be sent within the selection in ascending order according to their line number.

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 is dependent on the data type. For a double point information e.g. the states "ON" -> "3" -> "0" -> "OFF" -> "ON" results before each transmission for a step value of 1. For a single point information the state moves only between "0" and "1". Of course, the values in the particular columns and lines can be changed but not saved in the PAR file at this point. Therefore permanent changes must be done directly in the parameter file ( see: <PAR file - process data> ).

For a better orientation the back ground 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.

 

 


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.