ProTester DNP Master User's Guide
ProTester DNP Master User's Guide
Version 1.01
ProTester User’s Guide Revision Number: 1.01
Throughout this whole document INFO TECH Dr Wojciech E. Kozlowski sp. j. will be referred to as INFO TECH.
Disclaimer
THIS DOCUMENTATION IS PROVIDED FOR REFERENCE PURPOSES ONLY. WHILE EFFORTS WERE MADE TO VERIFY THE
COMPLETENESS AND ACCURACY OF THE INFORMATION CONTAINED IN THIS DOCUMENTATION, THIS DOCUMENTATION IS
PROVIDED "AS IS" WITHOUT ANY WARRANTY WHATSOEVER AND TO THE MAXIMUM EXTENT PERMITTED, INFO TECH
DISCLAIMS ALL IMPLIED WARRANTIES, INCLUDING WITHOUT LIMITATION THE IMPLIED WARRANTIES OF MERCHANTABILITY,
NONINFRINGEMENT AND FITNESS FOR A PARTICULAR PURPOSE, WITH RESPECT TO THE SAME. INFO TECH SHALL NOT BE
RESPONSIBLE FOR ANY DAMAGES, INCLUDING WITHOUT LIMITATION,
DIRECT, INDIRECT, CONSEQUENTIAL OR INCIDENTAL DAMAGES, ARISING OUT OF THE USE OF, OR OTHERWISE RELATED TO,
THIS DOCUMENTATION OR ANY OTHER DOCUMENTATION. NOTWITHSTANDING ANYTHING TO THE CONTRARY, NOTHING
CONTAINED IN THIS DOCUMENTATION OR ANY OTHER DOCUMENTATION IS INTENDED TO, NOR SHALL HAVE THE EFFECT
OF, CREATING ANY WARRANTIES OR REPRESENTATIONS FROM INFO TECH (OR ITS SUPPLIERS OR LICENSORS), OR
ALTERING THE TERMS AND CONDITIONS OF THE APPLICABLE LICENSE AGREEMENT GOVERNING THE USE OF THIS
SOFTWARE.
Copyright
Under the copyright laws, neither the documentation nor the software may be copied, photocopied, reproduced, translated, or
reduced to any electronic medium or machine-readable form, in whole or in part, without the prior written consent of
INFO TECH, except in the manner described in the documentation or the applicable licensing agreement governing the use
of the software.
Copyright 2005 INFO TECH - Dr Wojciech E. Kozlowski sp.j.. All rights reserved. Printed in Poland.
Technical support:
Arkońska 11, 80-387 Gdańsk, Poland
Telephone: +48 58 511 22 30
Telefax: +48 58 511 22 31
web: www.infotech.pl Version 1.01
e-mail: [email protected] Original material produced for ProTester.
List of Trademarks
Microsoft®, Windows are trademarks or registered trademarks of Microsoft Corporation.
All other trademarks are the property of their respective owners.
ii
ProTester User’s Guide Revision Number: 1.01
IMPORTANT-READ CAREFULLY: BY INSTALLING, COPYING OR OTHERWISE USING THE ENCLOSED INFO TECH
SOFTWARE, WHICH INCLUDES COMPUTER SOFTWARE ("SOFTWARE") AND MAY INCLUDE ASSOCIATED MEDIA, PRINTED
MATERIALS, AND "ONLINE" OR ELECTRONIC DOCUMENTATION ("DOCUMENTATION"), YOU (ON BEHALF OF YOURSELF OR
AS AN AUTHORIZED REPRESENTATIVE ON BEHALF OF AN ENTITY) AGREE TO ALL THE TERMS OF THIS END USER
LICENSE AGREEMENT ("LICENSE") REGARDING YOUR USE OF THE SOFTWARE. IF YOU DO NOT AGREE WITH ALL OF THE
TERMS OF THIS LICENSE, DO NOT INSTALL, COPY OR OTHERWISE USE THE SOFTWARE AND IMMEDIATELY CONTACT
INFO TECH FOR RETURN OF THE SOFTWARE AND A REFUND OF THE PURCHASE PRICE FOR THE SOFTWARE.
We are sorry about the formality of the language below, which our lawyers tell us we need to include to protect our legal
rights. If You have any questions, please contact INFO TECH.
1. License. INFO TECH grants to You a nonexclusive, nontransferable license to use and reproduce the Software,
solely for internal purposes and only for the number of users for which You have purchased licenses for and not for
redistribution or resale.
2. Restrictions. Except as otherwise stated, You may not, nor permit anyone else to, decompile, reverse engineer,
disassemble or otherwise attempt to reconstruct or discover the source code of the Software, alter, merge, modify,
translate, adapt in any way, prepare any derivative work based upon the Software, rent, lease network, loan,
distribute or otherwise transfer the Software or any copy thereof. You shall not make copies of the copyrighted
Software and/or documentation without the prior written permission of INFO TECH; provided that, You may make one
(1) hard copy of such documentation for each User and a reasonable number of back-up copies for Your own
archival purposes. You may not use copies of the Software as part of a benchmark or comparison test against other
similar products in order to produce results strictly for purposes of comparison. The Software contains copyrighted
material, trade secrets and other proprietary material of INFO TECH and/or its licensors and You must reproduce, on
each copy of the Software, all copyright notices and any other proprietary legends that appear on or in the original
copy of the Software. Except for the limited license granted above, INFO TECH retains all right, title and interest in
and to all intellectual property rights embodied in the Software, including but not limited to, patents, copyrights and
trade secrets.
3. Disclaimer of Warranty. You expressly acknowledge and agree that the use of the Software and its documentation is
at Your sole risk. THE SOFTWARE, DOCUMENTATION, AND TECHNICAL SUPPORT ARE PROVIDED ON AN
"AS IS" BASIS AND WITHOUT WARRANTY OF ANY KIND. Information regarding any third party services included
in this package is provided as a convenience only, without any warranty by INFO TECH, and will be governed solely
by the terms agreed upon between You and the third party providing such services. INFO TECH AND ITS
LICENSORS EXPRESSLY DISCLAIM ALL WARRANTIES, EXPRESS, IMPLIED, STATUTORY OR OTHERWISE,
INCLUDING BUT NOT LIMITED TO THE IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS FOR A
PARTICULAR PURPOSE AND NON-INFRINGEMENT OF THIRD PARTY RIGHTS. INFO TECH DOES NOT
WARRANT THAT THE FUNCTIONS CONTAINED IN THE SOFTWARE WILL MEET YOUR REQUIREMENTS, OR
THAT THE OPERATION OF THE SOFTWARE WILL BE UNINTERRUPTED OR ERROR-FREE, OR THAT
DEFECTS IN THE SOFTWARE WILL BE CORRECTED. FURTHERMORE, INFO TECH DOES NOT WARRANT OR
MAKE ANY REPRESENTATIONS REGARDING THE USE OR THE RESULTS OF THE SOFTWARE IN TERMS OF
ITS CORRECTNESS, ACCURACY, RELIABILITY OR OTHERWISE. NO ORAL OR WRITTEN INFORMATION OR
ADVICE GIVEN BY INFO TECH OR ITS AUTHORIZED REPRESENTATIVES SHALL CREATE A WARRANTY OR
IN ANY WAY INCREASE THE SCOPE OF THIS WARRANTY. SOME JURISDICTIONS DO NOT ALLOW THE
EXCLUSION OF IMPLIED WARRANTIES, SO THE ABOVE EXCLUSION MAY NOT APPLY TO YOU.
WARNING REGARDING MEDICAL AND CLINICAL USE OF INFO TECH SOFTWARE: INFO TECH products are
not designed and intended to ensure a level of reliability suitable for use for testing systems for treatment and
diagnosis of humans. Applications of INFO TECH products involving medical or clinical treatment can create a
potential for accidental injury caused by product failure, or by errors on the part of the user or application designer.
INFO TECH products are NOT intended to be a substitute for any form of established process, procedure, or
equipment used to monitor or safeguard human health and safety in medical or clinical treatment.
4. Limitation of Liability. YOU AGREE THAT UNDER NO CIRCUMSTANCES, INCLUDING NEGLIGENCE, SHALL
INFO TECH BE LIABLE FOR ANY INCIDENTAL, SPECIAL OR CONSEQUENTIAL DAMAGES (INCLUDING
DAMAGES FOR LOSS OF BUSINESS PROFITS, BUSINESS INTERRUPTION, LOSS OF BUSINESS
INFORMATION AND THE LIKE) ARISING OUT OF THE USE AND/OR INABILITY TO USE THE SOFTWARE,
iii
ProTester User’s Guide Revision Number: 1.01
EVEN IF INFO TECH OR ITS AUTHORIZED REPRESENTATIVE HAS BEEN ADVISED OF THE POSSIBILITY OF
SUCH DAMAGES. SOME JURISDICTIONS DO NOT ALLOW THE LIMITATION OR EXCLUSION OF LIABILITY
FOR INCIDENTAL OR CONSEQUENTIAL DAMAGES SO THE ABOVE LIMITATION OR EXCLUSION MAY NOT
APPLY TO YOU. IN NO EVENT SHALL INFO TECH’S TOTAL LIABILITY TO YOU FOR ALL DAMAGES, LOSSES,
AND CAUSES OF ACTION (WHETHER IN CONTRACT, TORT, INCLUDING NEGLIGENCE, OR OTHERWISE)
EXCEED THE AMOUNT PAID BY YOU FOR THE SOFTWARE.
5. Termination. This License is effective for the duration of the copyright in the Software unless terminated. You may
terminate this License at any time by destroying all copies of the Software and its documentation. This License will
terminate immediately without notice from INFO TECH if You fail to comply with any provision of this License. Upon
termination, You must destroy all copies of the Software and its documentation. Except for Section 1 ("License"), all
Sections of this Agreement shall survive any expiration or termination of this License.
6. General Provisions. No delay or failure to take action under this License will constitute a waiver unless expressly
waived in writing, signed by a duly authorized representative of INFO TECH, and no single waiver will constitute a
continuing or subsequent waiver. This License may not be assigned, sublicensed or otherwise transferred by You,
by operation of law or otherwise, without INFO TECH's prior written consent. This License shall be governed by and
construed in accordance with the laws of Poland, exclusive of the conflicts of laws principles. The United Nations
Convention on Contracts for the International Sale of Goods shall not apply to this License. If for any reason a court
of competent jurisdiction finds any provision of this License, or portion thereof, to be unenforceable, that provision of
the License shall be enforced to the maximum extent permissible so as to affect the intent of the parties, and the
remainder of this License shall continue in full force and effect. This License constitutes the entire agreement
between the parties with respect to the use of the Software and its documentation, and supersedes all prior or
contemporaneous understandings or agreements, written or oral, regarding such subject matter. There shall be no
contract for purchase or sale of the Software except upon the terms and conditions specified herein. Any additional
or different terms or conditions proposed by You or contained in any purchase order are hereby rejected and shall be
of no force and effect unless expressly agreed to in writing by INFO TECH. No amendment to or modification of this
License will be binding unless in writing and signed by a duly authorized representative of INFO TECH.
7. Software upgrades. You obtain the right to receive free of charge upgrades of the software within one year from the
date of purchasing the license as evidenced by receipts or other documentation. After this time the delivery of a new
version will be a subject of upgrade charges defined by INFO TECH.
8. Customer support. INFO TECH will provide free of charge technical support for the period of 90 days from date of
purchasing the license for the software.
Copyright 2005 INFO TECH Dr Wojciech E. Kozlowski sp. j. All rights reserved. Printed in Poland.
iv
ProTester User’s Guide Revision Number: 1.01
INFO TECH would like to thank You, our customer, for your purchase of ProTester DNP 3.0 Master Station
Simulator. We greatly appreciate your faith in our efforts to bring you this simple to use, yet very powerful
software package. For over 9 years, INFO TECH has been providing innovative software solutions to our
customers in the field of industrial and power automation systems.
Please visit our web site at: www.infotech.pl to find out more about INFO TECH.
v
ProTester User’s Guide Revision Number: 1.01
Table of contents
1. Welcome to ProTester ..........................................................................................................................................1
2. Introduction ..........................................................................................................................................................2
2.1. Overview ......................................................................................................................................................2
2.2. Features.........................................................................................................................................................3
2.3. Quick Start....................................................................................................................................................3
3. Installation ............................................................................................................................................................5
3.1. Requirements................................................................................................................................................5
3.2. Delivered Components .................................................................................................................................5
3.3. Install ProTester............................................................................................................................................5
3.4. Uninstall ProTester.......................................................................................................................................6
4. User Interface .......................................................................................................................................................7
4.1. Main Window...............................................................................................................................................7
4.1.1. Main view.............................................................................................................................................8
4.1.2. Properties view .....................................................................................................................................8
4.1.3. Parser view .........................................................................................................................................14
4.2. Main menu..................................................................................................................................................15
4.2.1. Menu File............................................................................................................................................15
4.2.2. Menu Simulation ................................................................................................................................16
4.2.3. Menu Edit ...........................................................................................................................................16
4.2.4. Menu Templates .................................................................................................................................17
4.2.5. Menu Data ..........................................................................................................................................18
4.2.6. Menu Parser........................................................................................................................................19
4.2.7. Menu View .........................................................................................................................................21
4.2.8. Menu Help ..........................................................................................................................................21
4.3. Main Application Toolbar ..........................................................................................................................22
4.4. Parser Window Toolbar..............................................................................................................................23
4.5. Status Bar....................................................................................................................................................24
5. Simulation...........................................................................................................................................................25
5.1. General rules...............................................................................................................................................25
5.2. Automatic link handling procedures ..........................................................................................................25
5.2.1. Automatic link layer responses ..........................................................................................................26
5.2.2. Automatic link reset ...........................................................................................................................26
5.2.3. Automatic DFC polling ......................................................................................................................26
5.2.4. Automatic application layer responses...............................................................................................26
5.3. Sample test scenario ...................................................................................................................................26
vi
ProTester User’s Guide Revision Number: 1.01
1. Welcome to ProTester
Welcome to the world of ProTester DNP Master, an advanced master station simulator for DNP 3.0
protocol. This program was originally developed to meet our own needs. Initially, the INFO TECH team
found this tool helpful while testing protocol implementations in slave stations.
This User’s Guide contains all necessary information you will need to install, configure and use ProTester
to meet your needs. We hope that you will find our solution helpful in your product development
environment, saving your time needed for development and test of communication protocol
implementations and communication setup tuning. We are also convinced the ProTester will provide
significant support in system integration and commissioning, and in the diagnostic of the running systems.
With all our experience INFO TECH will be very pleased to assist you in this process.
Your (faithful) INFO TECH team
1
ProTester User’s Guide Revision Number: 1.01
2. Introduction
ProTester DNP Master has been developed to simulate master station of the DNP 3.0 protocol and to
support analysis of communication with slave stations under test. Extensive functionality of our tool
package allows to use it in various situations, such as:
• testing new (and old) protocol implementations
• verification of protocol conformance
• system engineering and commissioning
• troubleshooting - in 'Step By Step' mode it operates just like a debugger!
• stress tests - it provides extensive logging and statistics
and many more.
It is an ideal solution for design engineer, tester, system integrator and commissioning engineer.
2.1. Overview
ProTester is installed on a PC and acts as a master station for a network of slave stations. The PC should
have at least one serial port available.
There are two main approaches of connecting ProTester with the slave station. In the first one RS-232
terminal cable is used to connect the slave station to the available serial port. Second approach requires
RS-232 / RS-485 converter and setting the flow control properties in order to communicate with the
stations in the RS-485 network.
2
ProTester User’s Guide Revision Number: 1.01
2.2. Features
The following are the main features of ProTester:
Editing of test scenarios:
• easy and intuitive visual creation of test scenarios - no script language to learn
• fully configurable behavior of master station including requests, responses, time dependencies,
user actions etc.
• possibility of introducing several types of message errors and deviations from protocol procedures
Execution of test scenarios – simulation of the master station:
• Step By Step and Continuous mode
• run-time control of test execution flow
• support for RS232 lines, also with RS485 and optical converters
• baud rates up to 115200 bps
• support for modems
Analysis of test results:
• extensive logging and statistics
• repeatable tests
For more detailed description of the ProTester setup and operation refer to user interface description.
3
ProTester User’s Guide Revision Number: 1.01
4
ProTester User’s Guide Revision Number: 1.01
3. Installation
This section provides details on how to install ProTester application. There are some mandatory steps that
need to be followed, so for your own safety and convenience, please read this section carefully before
proceeding with the installation.
ProTester applications will be further upgraded based on the feedback from our customers. Please check
our web site at www.infotech.pl for upgrade information. All registered customers are entitled to free
upgrade within one year from purchase/registration of the ProTester software. INFO TECH will deliver an
upgraded software version when available.
3.1. Requirements
ProTester has the following minimum system requirements:
• Intel Pentium class processor, 100 MHz or higher
• 64 Mb RAM
• 20 Mb free hard disk space
• Microsoft Windows 2000 (SP4 recommended) or Windows XP Professional
• At least one free serial port available
• At least one free USB port available
5
ProTester User’s Guide Revision Number: 1.01
6
ProTester User’s Guide Revision Number: 1.01
4. User Interface
This chapter will provide the user with details of the ProTester user interface. First, the main GUI
“look and feel” is presented. Then the functionality of each menu item is outlined. Following this
is some detailed information about communication system definition, simulation and using the
protocol parsers.
• Status Bar
7
ProTester User’s Guide Revision Number: 1.01
Main view allows to define the tested system and set the conditions of master station simulation. Line
elements represent the physical connections and its properties include the communication settings of the
master station. The tested system can be composed of multiple lines.
Below each line the user defines a structure of the network by adding slave stations to Stations
folder . Communication settings of slave station and communication conditions (general behavior of the
master station) are defined in the properties of those stations.
Communication procedure can be defined as a set of sequences . Sequences are grouped into Sequences
folder and they may contain the following elements, building any complex test scenario: primary
frames (transactions initiated by master station) , secondary frames (transactions in which master
responds to slave station) , delays , user prompts , direct messages (text strings used e.g. for
control of modems or other data communication equipment) .
Main tree view allows to select multiple elements of the same type to modify their properties or to perform
some editing operations, supports drag & drop feature and displays hint for each element under the cursor.
Line properties
Line element represents a physical connection and communication settings of the master station.
8
ProTester User’s Guide Revision Number: 1.01
Name property is used to define a description of the element. This optional text will be visible in the tree.
Activated property determines whether communication on this line will be started during master
simulation.
Transmission rule property determines whether all active sequences will be processed only once (Single
setting) or according to their individual settings (Cyclic setting) during simulation.
Inter message timeout [ms] defines minimum delay between two consecutive operations performed by
the master station on the communication interface.
Master address property defines a source address for all sent frames and the destination address for all
received and accepted frames.
Broadcast address property defines destination address for all broadcast frames.
Connection property allows to select a connection type. Serial line and Ethernet connections are
available.
The following properties configure the serial line:
• Port property allows to select serial port used for the defined line.
9
ProTester User’s Guide Revision Number: 1.01
• CTS output flow property defines setting for CTS pin of RS-232-C.
• DSR output flow property defines setting for DSR pin of RS-232-C.
The following properties configure the Ethernet connection:
• Protocol property allows to select between TCP and UDP network protocols.
• Destination Port property allows to select a port on a destination host to connect to. The default
value for DNP protocol is 20000.
• Keep-alive process sends Request Link Status frames when nothing has been sent for a defined
number of seconds. It is used to keep a TCP connection alive and can be turned on or off.
• Keep-alive time [s] defines an idle time after which Request Link Status frame will be sent to the
first active station defined in the line.
• Reconnect on loss property determines whether the TCP connection will be reestablished after it
is lost.
• Reconnect time [s] defines an idle time before reconnecting after previous reconnect try has
failed.
Station properties
Station element allows to configure communication of the master station with a given slave station.
Name property is used to define a description of the element. This optional text will be visible in the tree.
Activated property determines whether frames to this station will be sent and frames received from this
station will be accepted during master simulation.
10
ProTester User’s Guide Revision Number: 1.01
Station address property defines destination address for frames associated with this station.
Link layer timeout [ms] property defines timeout after which link layer frame from the master to this
station will be retransmitted (if necessary) if no response has been received.
Link layer retransmissions property defines maximum number of link layer retransmissions.
Application layer timeout [ms] property defines timeout after which application layer frame from the
master to this station will be retransmitted (if necessary) if no response has been received.
Application layer retransmissions property defines maximum number of application layer
retransmissions.
Link layer responses property defines behavior of master station upon reception of a primary link layer
frame from the active station. This setting can be overwritten with a secondary frame element in the
sequence.
Auto link reset property determines whether reset link frame will be sent automatically if needed.
Auto DFC polling property determines whether request status frame will be sent automatically upon
reception of DFC=1 in the frame sent by the slave station.
Application layer responses property defines behavior of master station upon reception of a primary
application layer frame from the active station. This setting can be overwritten with a secondary frame
element in the sequence.
Sequence properties
Sequence element is a container grouping other elements composing a communication procedure. There
can be multiple sequences defined, with individual properties.
Name property is used to define a description of the element. This optional text will be visible in the tree.
Activated property determines whether all active frames in this sequence will be sent during master
simulation.
Transmission rule property determines whether all active frames in this sequence will be sent only once
(Single setting) or according to their settings (Cyclic setting) during master simulation.
Frame properties
Frame element represents a frame that will be sent to the associated slave station.
11
ProTester User’s Guide Revision Number: 1.01
Name property is used to define a description of the element. This optional text will be visible in the tree.
Activated property determines whether this frame will be sent during master simulation.
Transmission rule property determines whether this frame will be sent only once (Single setting) or
cyclically until the termination of the master simulation (Cyclic setting).
Destination property associates frame with the defined slave station or a broadcast destination. None
setting is of a temporary character and should be changed in order to activate the frame.
Data link function is the first property defining content of the frame. List of available fields changes
dynamically and depends on the current selection.
Overwrite fields allow to overwrite every octet of the defined frame preserving correct CRC, unless the
CRC filed is overwritten.
Name property is used to define a description of the element. This optional text will be visible in the tree.
12
ProTester User’s Guide Revision Number: 1.01
Activated property determines whether this frame will be sent during master simulation.
Transmission rule property determines whether this frame will be sent only once (Single setting) or
cyclically until the termination of the master simulation (Cyclic setting).
Destination property associates secondary frame with the defined slave station. None setting is of a
temporary character and should be changed in order to activate the frame.
Response type property defines a behavior of master station upon reception of a primary frame from the
associated station.
Overwrite fields allow to overwrite every octet of the defined secondary frame preserving correct CRC,
unless the CRC filed is overwritten.
Delay properties
Delay element introduces a delay between two active elements of a Sequence.
Name property is used to define a description of the element. This optional text will be visible in the main
tree view.
Activated property determines whether this delay will be applied during master simulation.
Transmission rule property determines whether this delay will be applied only once (Single setting) or
cyclically until the termination of the master simulation (Cyclic setting).
Delay [ms] property defines length of the delay.
Name property is used to define a description of the element. This optional text will be visible in the tree.
Activated property determines whether this user prompt will be shown during master simulation.
Transmission rule property determines whether this user prompt will be shown only once (Single setting)
or cyclically until the termination of the master simulation (Cyclic setting).
User prompt text property defines a text to be displayed in the message box.
13
ProTester User’s Guide Revision Number: 1.01
Name property is used to define a description of the element. This optional text will be visible in the tree.
Activated property determines whether this direct message will be sent during master simulation.
Transmission rule property determines whether this direct message will be sent only once (Single setting)
or cyclically until the termination of the master simulation (Cyclic setting).
Message text property defines a string to be sent directly to the communication interface. This string may
contain also special characters like <CR> or <LF>.
Parsing frames
Parsing of frames begins immediately after starting the master simulation.
Layers information
This view displays parsed frames, with timestamps of the first frame character and the
protocol layers information.
The following abbreviations are used:
• PL - physical layer
14
ProTester User’s Guide Revision Number: 1.01
• LL - link layer
• TL - transport layer
• AL - application layer
• UL - user layer
The parser may display layer information selectively, according to the appropriate parser
settings in the Parser Properties Dialog.
Selecting frames
It is possible to select an area of the parser window with the left button of the pointing
device. The selection can be copied to system clipboard (using Ctrl+C).
The New command deletes current communication system definition. If current communication system
definition was not saved, the user will be notified about it and will have a chance to save
current definition.
The Open... command loads a saved communication system definition from a file. The operation replaces
the current definition with the definition from a file. The file is selected in an Open File dialog.
The Save command saves the current communication system definition to a file. The file name and the
directory are specified in a Save File dialog. The default extension for a file is .QYL.
The Save as... command saves the current communication system definition to a file under user specified
name. The file name and the directory are specified in a Save File dialog. The default extension for a file
is .QYL.
The Exit command closes the application.
15
ProTester User’s Guide Revision Number: 1.01
The Start command starts master station simulation for all active lines.
The Next Step command is available only in Step By Step mode. This command performs next
transaction from communication system definition (marked as bold). Note, that it is possible to start a new
link layer transaction while the last application layer transaction is still in progress.
The Stop command stops simulation for all lines.
In Step By Step mode the application moves to the next element in the communication system definition
after selecting Next Step command. Application can work in Step By Step mode with only one active
line.
Repeat option determines whether all active lines will be processed once (Repeat option not selected) or
according to their settings (Repeat option selected) during simulation. If Repeat option is not selected,
the simulation ends when there is noting more to send.
16
ProTester User’s Guide Revision Number: 1.01
17
ProTester User’s Guide Revision Number: 1.01
The Display station's statistics command shows statistics for the selected station or the station
associated with selected item or for the first station in the current line.
The Reset station's statistics command resets the statistics for the selected station.
The Reset all stations' statistics command resets the statistics for all stations defined for the selected line.
Statistics dialog
Station's statistics dialog displays statistics gathered for a slave station selected from the dropdown list.
The list includes all the stations from the current line. It is possible to clear statistics for the selected
station by pressing the Clear button.
• Received primary frames - number of all primary frames received from the station.
• Received secondary frames - number of all secondary frames received from the station.
• Retransmissions - number of all link layer retransmissions to the station.
• Timeouts - number of link layer timeouts occurred for the station.
• Minimum response time - minimum time between link layer request and link layer response for the
station.
• Average response time - average time between link layer request and link layer response for the
station.
• Maximum response time - maximum time between link layer request and link layer response for the
station.
• FCB errors - number of all received frames with repeated value of FCB bit from the station.
• Checksum errors - number of all received frames with invalid checksum.
• Frame format errors - number of all received frames with format not matching to line configuration.
19
ProTester User’s Guide Revision Number: 1.01
The Save Output... command saves already processed data into a file.
The Clear Output command deletes already processed data.
The Find command searches for a specified text in the parser output.
The Colors command displays Parser colors dialog.
The Properties command displays Parser properties dialog.
Parser view displays the most recently captured data if Auto scroll option is selected. Otherwise, it is
possible to browse through the parsed text using the scroll-bar. If the text line does not fit into the text
area (is too long), the use of Word wrap option will break text lines automatically.
Properties dialog
It is possible to set a filter for the protocol layers. Only data from selected layers will be displayed in the
parser window and saved to the parser output file.
Colors dialog
The Colors dialog allows to select a color scheme for data presentation in parser view.
20
ProTester User’s Guide Revision Number: 1.01
It is possible to select the color scheme for the direction of the parsed frames and for error messages.
The Toolbar option shows and hides the Main application toolbar.
The Parser Toolbar option shows and hides the Parser toolbar.
The Status Bar option shows and hides the Status bar.
The Parser view option shows and hides the Parser view .
The Properties view option shows the Properties view .
The ProTester application has an online context help that can be invoked by simply pressing the F1 key.
The help function can be invoked independently of the current context using the Contents command from
Help menu.
The Contents command displays the help opening screen.
21
ProTester User’s Guide Revision Number: 1.01
About dialog
The About... dialog displays product information about ProTester, including the software version number.
Clicking the INFO TECH logo will take you to the INFO TECH website at www.infotech.pl. Here you
can find latest information on the available ProTeste applications for various protocols and on other INFO
TECH products and offered services.
22
ProTester User’s Guide Revision Number: 1.01
If parsed data are irrelevant the parser output can be Cleared at any time.
Find option (Ctrl + F) allows to search for a specified text in the parser output.
23
ProTester User’s Guide Revision Number: 1.01
Protocol window displays the most recently captured data if Auto scroll option is
selected. Otherwise, it is possible to browse through the parsed text using the scroll-bar. If the
text line does not fit into the text area (is too long), the use of Word wrap option will
break text lines automatically.
Clipboard
Any part of the displayed text can be marked using the pointing device and the copied to the
clipboard by pressing CTRL + C. To mark whole parser output just press CTRL + A.
24
ProTester User’s Guide Revision Number: 1.01
5. Simulation
This chapter describes the basics of a master station simulation. There are several rules which determine
when the simulation starts and ends, when and upon what conditions the Sequence elements are included
in the communication and when the automatic link handling procedures are used. The last section is an
example test scenario, which demonstrates the usage of all sequence elements.
Repeat mode
Repeat mode is set by default. In this mode all active elements in all lines are performed according to their
Transmission rule settings. In this mode, when all elements are performed, the simulation is still running
and the master station responds to the received frames. If this mode is disabled all active elements from all
active lines are performed only once, despite the setting of their Transmission rule property, and when all
elements are performed the simulation is stopped.
25
ProTester User’s Guide Revision Number: 1.01
procedures are enabled by default and can be disabled in the Station element properties. Automatic link
handling procedures allow the user to focus on defining the application layer frames, while the link layer
is handled automatically.
26
ProTester User’s Guide Revision Number: 1.01
Now, let us switch to Step by step mode and start the simulation. First element in the sequence will be
marked bold. After pressing Next step button an action represented by this element will be performed. In
our example the first element is a direct message, we use it to send a modem control command ATDT1.
Notice the message that appeared on the Parser view.
Wait with pressing next step until the modem establishes a connection. Now is the time to send our first
frame. In the parser view we can observe a sent frame, received response and ACKnowledgement sent by
the master station.
Sending next frame looks pretty much the same. This time we perform Delay measurement procedure and
read appropriate value from Parser view.
27
ProTester User’s Guide Revision Number: 1.01
We can include or exclude frames from the simulation even when it is already started. Objects excluded
from the simulation can be edited. Let us edit our “Write Time” frame and include it in the simulation.
“Write Time” frame will be marked as bold and we can perform Next step on it.
28
ProTester User’s Guide Revision Number: 1.01
Now switch from Step by step mode to Continuous mode without stopping the simulation. “Read BI”
frame will be sent automatically.
Application should stop on user prompt element and display the following window.
Simulation will be paused until we press OK. Now we have plenty of time for example to generate some
events and observe spontaneous messages.
29
ProTester User’s Guide Revision Number: 1.01
We can use Delay element if we want to send another frame after a certain period of time.
30
ProTester User’s Guide Revision Number: 1.01
The picture above shows how secondary frame elements work. After sending our “Operate open” frame
we get a response that should be confirmed on both link and application layer. Because secondary frame
type is no response (AL) only link layer ACKnowledgment will be sent. This should cause a
retransmission of application layer frame in the slave station. Retransmitted frame is correctly confirmed
on both layers, because there are no other secondary frames changing master station’s behavior.
31