Prosafe-Rs System Test Reference: User'S Manual
Prosafe-Rs System Test Reference: User'S Manual
Prosafe-Rs System Test Reference: User'S Manual
Manual
ProSafe-RS
System Test
Reference
IM 32S04B30-21E
IM 32S04B30-21E
3rd Edition
Introduction
When constructing and maintaining safety systems, debugging and testing are very important.
ProSafe-RS provides functions for debugging and testing efficiently.
In ProSafe-RS, tests are classified according to targets used during testing as follows.
Target test
This test type uses actual devices.
SCS simulation test
This test type uses an SCS simulator running on a PC. An SCS simulation test is executed
in a CENTUM integration environment.
Note that this test involves an SCS simulator along with an FCS simulator and an HIS
simulator, while PC is logically disconnected from the control buses, is called a virtual test.
Logic simulation test
This test type uses a logic simulator running on a PC. Logic simulation tests are primarily
used in POU module tests.
This document is a reference manual that explains system test functions of ProSafe-RS. It
contains information on types of test function that can be used with ProSafe-RS and operation
procedures as a reference document.
To carry out ProSafe-RS tests, please read the test function section of Engineering Guide
(IM 32S01C10-21E) first. Read the appropriate sections of this manual to examine related
information, learn about operation details and obtain deeper understanding.
The structure of this manual is shown below.
Chapter 1 Overview of ProSafe-RS System Tests
This chapter describes an overview of the tests that can be executed with ProSafe-RS and
explains the functions, operation procedures and software/hardware environments. Read
this chapter to learn about these details.
Chapter 2 Operations of Logic Simulation Tests
This chapter describes an overview of logic simulation tests and explains the operations.
Read this chapter to learn about these details.
Chapter 3 SCS Simulation Tests
This chapter explains the following details of SCS simulation tests.
- Engineering procedures and operation procedures of SCS simulation tests
- Functions of the SCS Test Function window and how to operate them
- How to execute SCS simulation tests and to utilize test support functions
- Expanded test functions
- Tests using multiple SCS simulators
- Testing CENTUM integration in virtual tests
IM 32S04B30-21E
ii
Engineering
Guide
IM 32S01S10-21E
IM 32S01C10-21E
Software
Safety Control Station
Reference
IM 32S03B10-21E
Integration with
CENTUM VP/CS 3000
Open Interfaces
IM 32S01E10-21E
IM 32S05B10-21E
Engineering
Reference
Utilities and
Maintenance
Reference
IM 32S04B20-21E
Messages
IM 32S02B10-21E
Integration with
FAST/TOOLS
IM 32S04B10-21E
ProSafe-RS
System Test
Reference
IM 32S04B30-21E
IM 32S56H20-21E
Hardware
Vnet/IP
Safety Control
Stations
(Hardware)
IM 32S06C10-21E
Communication
Devices
ProSafe-RS
Vnet/IP
IM 32S06H10-21E
IM 32S56H10-21E
Installation
Installation
Manual
Software Help
IM 32S01C50-21E
Read Me First
IM 32S04B30-21E
iii
Safety Precautions
n Safety, Protection, and Modification of the Product
In order to protect system controlled by this product, the product itself and ensure safe
operation, observe the safety precautions described in this users manual. We assume no
liability for safety if users fail to observe these instructions when operating the product.
You must use this product according to the instructions described in user manuals. If not,
protective functions of this product may not work as expected.
If any protection or safety circuit is required for system controlled by the product or for the
product itself, prepare it separately.
Be sure to use the parts approved by Yokogawa Electric Corporation (hereafter simply
referred to as YOKOGAWA) when replacing parts or consumables.
Modification of the product is strictly prohibited.
The following symbols are used on the product and in this user manual to indicate that
safety precautions are required:
Indicates that user must take caution. The symbol on the equipment refers the user to the
relevant manual to avoid potentially hazardous situations that may result in injury or death.
The symbol appears next to the cautionary information in user manuals required to avoid
harm to personnel and to the equipment.
Indicates a protective grounding terminal. Before using the product, ground the terminal.
Indicates a functional grounding terminal. Before using the product, ground the terminal.
Indicates an AC supply.
Indicates a DC supply.
IM 32S04B30-21E
iv
n Notes on Handling User Manuals
Please hand over user manuals to your end users so that they can have them on hand for
convenient reference.
Please read the user manuals thoroughly before using the product.
The purpose of these user manuals is not to warrant that the product is well suited to any
particular purpose but rather to describe the functional details of the product.
YOKOGAWA reserves the right to make improvements in the user manuals and product at
any time, without notice or obligation.
If you have any questions, or you find mistakes or omissions in the user manuals, please
contact our sales representative or your local distributor.
n Notes on Software
YOKOGAWA makes no warranties, either expressed or implied, with respect to the
softwares merchantability or suitability for any particular purpose, except as specified in the
terms of warranty.
This software may be used on one machine only. If you need to use the software on another
machine, you must purchase another copy of the software.
It is strictly prohibited to reproduce the product except for the purpose of backup.
Store the CD-ROM (the original medium) in a safe place.
It is strictly prohibited to perform any reverse-engineering operation, such as reverse
compilation or reverse assembling on the product.
No part of the product may be transferred, converted or sublet for use by any third party,
without prior written consent from YOKOGAWA.
IM 32S04B30-21E
Documentation Conventions
n Typographical Conventions
The following typographical conventions are used throughout the user manuals:
FIC100.SV=50.0
Mark:
Indicates a space between character strings that must be entered.
Example: Calling the tuning view with the tag name of S0001 on HIS (Human Interface Station of
the integrated CENTUM).
S0001 TUN
IM 32S04B30-21E
vi
n Symbol Marks
Throughout this user manual, you will find that several types of symbols are used to identify
different sections of text. This section describes these icons.
CAUTION:
Indicates instructions that must be observed in order to prevent physical injury and death of
operator.
WARNING :
Indicates instructions that must be observed in order to prevent software or hardware from
being damaged or system from becoming faulty.
IMPORTANT :
TIP:
SEE :
ALSO
Clicking a reference displayed in green can call up its source, while clicking a reference
displayed in black cannot.
n Drawing Conventions
Some drawings in the user manual may be partially emphasized, simplified, or omitted, for the
convenience of description.
Note that screen images in user manuals may be slightly different from the actual ones (for
example, display positions and case differences), and some show only example images.
SEE
ALSO
For information about the functions and usage of CENTUM VP components, see CENTUM VP Users
Manuals (IM) and related Technical Information (TI) and General Specifications (GS).
For information about the functions and usage of CENTUM CS 3000 components, see CENTUM CS 3000
Users Manuals (IM) and related Technical Information (TI) and General Specifications (GS).
IM 32S04B30-21E
vii
n Regarding the Descriptions on System Actions
In this document, the integrations with the latest software and hardware products of Yokogawa up
to the publishing of this document will be explained.
If the important software or hardware safety features of the previous versions are not described in
this document, the links for the descriptions will be indicated in this document. Readers can go to
the linked descriptions according to the used systems.
IM 32S04B30-21E
viii
n Trademark Acknowledgments
CENTUM, ProSafe, Vnet/IP and STARDOM are registered trademarks of YOKOGAWA.
Microsoft, Windows, Windows Vista, Visual Basic, Visual C++ and Visual Studio are either
registered trademarks or trademarks of Microsoft Corporation in the United States and/or
other countries.
Adobe, Acrobat and Acrobat Reader are either registered trademarks or trademarks of
Adobe Systems Incorporated in the United States and/or other countries.
Ethernet is a registered trademark of XEROX Corporation.
Modicon and Modbus are registered trademarks of Schneider Electric SA.
PLC is a registered trademark of Rockwell Automation, Inc.
HART is a registered trademark of the HART Communication Foundation.
All other company and product names mentioned in this users manual are trademarks or
registered trademarks of their respective companies.
We do not use TM or mark to indicate those trademarks or registered trademarks used in
this users manual.
IM 32S04B30-21E
Toc-1
ProSafe-RS
System Test Reference
IM 32S04B30-21E 3rd Edition
CONTENTS
1.
1.2
1.3
1.4
2.
3.
3.2
3.3
3.4
3.5
3.6
3.1.2
3.2.2
3.2.3
3.3.2
3.3.3
3.3.4
3.3.5
3.3.6
3.4.2
3.5.2
IM 32S04B30-21E
Toc-2
4.
5.
4.2
4.3
Target Test Operation (In Case On-line Change Download is Possible)..... 4-5
5.2
IM 32S04B30-21E
1.
1-1
SEE
ALSO
Target test
SCS simulation test (*1)
*1:
It is possible to execute expanded tests using multiple PCs by adding an optional package.
IMPORTANT
Do not execute SCS simulation tests using a PC connected to a control bus (V net and Vnet/IP)
that actually executes plant operations.
TIP
The SCS simulation test for SCSP2 can be performed only when the system is integrated with a CENTUM VP
R4.02 or newer system.
IM 32S04B30-21E
TIP
1-2
Since applications that can be executed on SCS and FCS are different, the following test functions of CENTUM
are not supported in ProSafe-RS.
Table
Overview
I/O Disconnect/Connect
Wiring
Step Execution
Save/Load Snapshot
SEE
ALSO
For more information about expanded test functions, see the following:
3.4, Expanded Test Functions
TIP
The SCS simulation test (Expanded Test) for SCSP2 can be performed only when the system is integrated with a
CENTUM VP R4.02 or newer system.
IM 32S04B30-21E
1-3
Positioning
Target test
IMPORTANT
In ProSafe-RS, target tests are mandatory. The user must eventually execute an operational test
of all applications using target tests.
However, in order to construct a proper environment for target tests, facilities, locations and time
are required. Be sure to conduct sufficient application unit tests and integration tests using the
simulators on PC in order to execute application debugging and operational tests efficiently.
To perform simulation tests on PC, use either logic simulation tests or SCS simulation tests to
their respective best uses, according to the test purpose.
Target
SCS simulation
Logic simulation
X (*1)
X (*1)
I/O wiring
X:
Can be tested
Blank: Cannot be tested
*1:
Certain restrictions apply depending on the application.
IM 32S04B30-21E
1.1
1-4
Test Procedure
In ProSafe-RS tests, logic simulators and SCS simulators on PC should first be used to
execute tests sufficiently, and then actual SCSs should be used to execute target tests.
1. Engineering and testing using PC only (Logic simulation test and SCS simulation test)
Application logic definition
Debugging in logic simulation tests
Debugging CENTUM integration, inter-SCS safety communication and SCS link transmission in
SCS simulation tests
3. FAT
End
010101E.ai
IM 32S04B30-21E
1.2
1-5
In test functions of ProSafe-RS, the following test support functions are provided, which
can be used for target tests, SCS simulation tests and logic simulation tests.
Forcing function
Application debug function
Online monitoring function
Test support
function
Detail
Application debug
function
Logic
simulation
Overview
Lock/unlock
(each variable)
X
(*1)
X
(*1)
X
(*1)
Inter-SCS
Communication Lock
Window
X
(*1)
Execution mode
specification
(Cycle To Cycle / Real
Time, Execute one
Cycle)
Forcing function
SCS
Target simulation
Communication I/O
Lock Window
Display of variable
Online monitoring
values in SCS
function
Manager
X:
Can be tested
Blank: Cannot be tested
*1:
In an SCS simulation test, multiple data values can be set at once.
IM 32S04B30-21E
1.3
1-6
Hardware/Software Environment
This section explains the hardware/software environment required for executing each
test.
l Hardware Environment
A general-purpose PC is required. The hardware requirements are the same as for a generalpurpose PC on which SENG is installed.
l Software Environment
Install the ProSafe-RS Safety System Generation and Maintenance Function Package
(CHS5100).
l Hardware Environment
A standard PC is required. PC environment for Windows Vista/Windows Server 2008 is the same
as that of a standard PC with SENG installed.
For Windows XP/Windows Server 2003, see the following table.
Table
Hardware Environment Required for SCS Simulation Tests (Windows XP/Windows Server 2003)
Type
TIP
SEE
ALSO
Specification
CPU
Main memory
Hard disk
Display resolution
1024 x 768 or more, 1280 x 1024 are recommended, 65536 colors or more
(at least 4 MB of video memory)
Monitor
Other
It does not affect the operations of SCS simulators whether a control bus communication card is mounted in the
general-purpose PC or not.
For the hardware environment required to use the expanded test functions, see the following:
n PC Environment Required for the Expanded Test Functions in 3.4.1, Operation Environment of the
Expanded Test Functions
IM 32S04B30-21E
1-7
l Software Environment
Specifications of the OS are the same as that of SENG PC.
The control bus driver is required even if the PC does not have the control bus interface card.
The following software packages must be installed on the PC.
Table
System
ProSafe-RS
CENTUM VP
CS 3000
Table
Package name
Model
Remark
CHS5100
R1.03 or later
CHS5200
R1.03 or later
LHS1100/LHM1101
R4.01 or later
LHS5100/LHM5100
R4.01 or later
Test Function
LHS5420/LHM5150
R4.01 or later
LHS1100/LHM1101
R3.08.50 or later
LHS5100/LHM5100
R3.08.50 or later
Test Function
LHS5420/LHM5150
R3.08.50 or later
System
ProSafe-RS
CENTUM VP
Package name
Model
Remark
CHS5100
R2.03 or later
CHS5200
R2.03 or later
LHS1100/LHM1101
R4.02 or later
LHS5100/LHM5100
R4.02 or later
Test Function
LHS5420/LHM5150
R4.02 or later
TIP
SEE
ALSO
It is necessary to install CFS9153 Modbus Communication Package (for ALR111 and ALR121) on the PC which
executes engineering of SCS simulation tests for the SCS that defines subsystem communication.
For the software environment required to use the expanded test functions, see the following:
n Software Environment of the Expanded Test Functions in 3.4.1, Operation Environment of the
Expanded Test Functions
SEE
ALSO
For the capacity of the SCS simulation test, see the following:
n Capacity in 4.2, SCS Simulation Test of the Engineering Guide (IM 32S01C10-21E)
IM 32S04B30-21E
1-8
l Minimum Configuration
PC
CENTUM
ProSafe-RS
Creation
CENTUM
project data
Copy
test DB
Test Function
SCS project
Creation
010301E.ai
Since several simulators can be launched on a single PC, most application debugging tasks can
be handled using a single PC. Tests related to referencing/setting data from an FCS can also be
executed by launching the FCS simulator.
However, only one SCS Manager can be used at the same time on a PC. Tests of inter-SCS
safety communication and SCS link transmission can be executed by switching between target
SCSs on SCS Manager. When testing multiple SCSs, it is recommended to use the expanded
test functions on two or more PCs so that the tests are performed more efficiently.
PC
SCS Manager
Launch
SCS simulator
SCS 0101
SCS simulator
SCS 0102
Inter-SCS safety
communication
FCS simulator
FCS 0103
Data reference/setting
IM 32S04B30-21E
1-9
n Target Tests
To execute a target test, an SENG is required along with the actual devices to be tested.
l Hardware Environment
A general-purpose PC is required. The hardware requirements are the same as for the generalpurpose PC on which SENG is installed.
The SCS to be tested is also required.
l Software Environment
Install the ProSafe-RS Safety System Generation and Maintenance Package (CHS5100).
In addition, the SENG software package required for engineering the test target SCS is
necessary.
IM 32S04B30-21E
1.4
1-10
l Default Project
The default attribute is set for an SCS project which is newly created in SCS Manager.
l Current Project
When off-line download is successfully completed for a default project, the attribute of the SCS
project is changed from default to current. SCS projects on which SCS actual operations are
performed are specified as current projects.
l User-defined Project
A user-defined project is an SCS project created by the Test Project Creating Tool in order to
execute SCS simulation tests. Generally, it is created to execute an SCS simulation test on an
SCS project for which off-line download has been executed.
SEE
ALSO
IM 32S04B30-21E
1-11
n Test Database
Test databases are related to individual tests in the following manner.
A target test is executed using the database used for actual operation of SCSs.
An SCS simulation test is executed using the database for SCS simulation tests.
A logic simulation test can be executed using both the database for SCS simulation tests
and the database used for actual operation.
SEE
ALSO
l Default Project
When the default attribute is set to the SCS project, logic simulation tests and SCS
simulation tests can be executed.
To execute an SCS simulation test, first set the Target name of Resource Properties to
SCS_SIMULATOR and then perform a build operation.
When both types of tests have been completed, set the Target name of Resource Properties
to SCS_TARGET, perform a build operation and then off-line download operation on an
SCS.
l Current Project
When the current attribute is set to the SCS project, logic simulation tests and target tests
can be executed. SCS simulation tests cannot be executed.
When the current attribute is set to the SCS project, the Target name cannot be changed.
To execute SCS simulation tests, use the Test Project Creating Tool to generate a userdefined project.
IM 32S04B30-21E
1-12
l User-defined Project
When the user-defined project attribute is set, logic simulation tests and SCS simulation
tests can be executed. Target tests cannot be executed.
When the user-defined project attribute is set, it is not possible to communicate with the
actual SCS.
To execute an SCS simulation test, first set the Target name of Resource Properties to
SCS_SIMULATOR and then perform a build operation.
If the Target name of Resource Properties is SCS_TARGET, only logic simulation tests can
be executed.
When the user-defined project attribute is set, off-line download cannot be performed. When
a test using a simulator is completed and a target test is to be executed, it is necessary to
reflect the data of the user-defined project to the current project.
SEE
ALSO
For details on how to reflect the data of a user-defined project to a current project, see the following:
n Operations Required after SCS Simulation Tests (User-defined Project) in 3.1.2, Engineering
Procedure after SCS Simulation Tests
2.
3.
To perform off-line download to the actual SCS after an SCS simulation test is completed,
change the Target name from SCS_SIMULATOR to SCS_TARGET and build again.
4.
After off-line download is performed with the default project attribute, the project attribute
changes to current.
SEE
ALSO
4.
Export the files of current project that will be needed in the current project.
5.
Import the exported files that are needed into a current project.
For the specific procedure of engineering tasks on projects for executing SCS simulation tests, see the following:
3.1, Engineering of SCS Simulation Tests
IM 32S04B30-21E
2.
2-1
SEE
ALSO
For the information about precautions for tests, see the following:
4.4, Precautions for Tests of the Engineering Guide (IM 32S01C10-21E)
SEE
ALSO
For more information about the build operation, see the following:
Building SCS Project in 5.4, Procedure after Creating Application Logic of the Engineering Reference
(IM 32S04B10-21E)
IMPORTANT
Right click the resource title bar of the Link Architecture View, and choose [Properties] from the
pop-up menu. And then confirm that the [Code for simulation] on the Code tab of Resource
Properties dialog box is checked. And then start to generate the SCS database.
IM 32S04B30-21E
2-2
SEE
ALSO
For information about the application debug function, see the following section of Workbench of
Workbench Users Guide:
Debug
For information about Dictionary View, see the following section of Workbench of Workbench Users
Guide:
Dictionary View
For information about Multi-Language Editor, see the following section of Workbench of Workbench
Users Guide:
Performance test
IM 32S04B30-21E
2-3
IM 32S04B30-21E
3.
3-1
SEE
ALSO
SCS simulators are equipped with functions for interfacing with plant operation training systems. For detailed
information, refer to the plant operation training simulator manual.
IM 32S04B30-21E
3-2
IMPORTANT
Do not execute logic simulation tests while running SCS simulators.
Test input/output variables upon setting initial data values using the data
value batch setting function in the I/O Lock Window. Check operations
using on-line monitoring.
It is possible to use a virtual HIS to execute the same tests as when using
actual SCSs.
After launching SCS simulators, call and operate a faceplate using the tag
name as the key from a virtual HIS.
Application logics that use System FB Operations of system FB can only be checked partly with target tests.
Graphic views not related to hardware can be tested from a virtual HIS.
3-3
2.
3.
4.
5.
6.
IM 32S04B30-21E
3.1
3-4
CENTUM
Start
Test
Test
End
030101E.ai
The steps to create a test project and perform engineering tasks after test above are different
for new SCS projects and SCS projects for which off-line download has already been performed.
IM 32S04B30-21E
3-5
2.
3.
4.
5.
Build
6.
Running analyzers
7.
8.
9.
l SCS Simulation Test Procedure (SCS Project for which Off-line Download has
been Completed)
The attribute of an SCS project for which off-line download has been completed is set to current.
It is not possible to execute an SCS simulation test with a current SCS project. Instead, generate
a user-defined project with the Test Project Creating Tool and execute an SCS simulation test
with the generated project.
1.
Creating a test SCS project (using the Test Project Creating Tool)
2.
3.
Build
4.
Running analyzers
5.
6.
7.
8.
Ending debugging
9.
IM 32S04B30-21E
3.1.1
3-6
This section explains engineering tasks required on the ProSafe-RS side as well as the
CENTUM side in order to execute an SCS simulation test.
Engineering tasks required to execute an SCS simulation test are different for newly created SCS projects and SCS projects for which off-line download to an SCS has already
been completed. Each procedure is explained in the following.
SEE
ALSO
For the procedure for creating a new SCS project, see the following:
3.1, Creation of New SCS Projects of the Engineering Reference (IM 32S04B10-21E)
l In the Case of a Project for which Off-line Download to an SCS has been
Completed (Current Project)
It is not possible to execute an SCS simulation test with a current project. It is thus necessary to
generate a user-defined project for an SCS simulation test. To generate a user-defined project,
use the Test Project Creating Tool.
SEE
ALSO
For how to use the Test Project Creating Tool to generate a user-defined project, see the following:
5.1, Test Project Creating Tool
TIP
An SCS simulation test cannot be executed with SCS projects created with the version earlier than R1.03. Create
SCS projects again.
IM 32S04B30-21E
3-7
SEE
ALSO
For detailed information about the procedure to create an SCS with System View, see the following:
2.2.1, SCS Creation of the Integration with CENTUM VP/CS 3000 (IM 32S01E10-21E)
Extended
Target
Security
Code
Settings
Target: SCS_TARGET
Help
Target Options
The following options apply to all resources in the project
having the same target.
Memory size for temporary variables:
OK
32768
Cancel
Apply
030102E.ai
IM 32S04B30-21E
3-8
When changing the Target name, the following warning dialog box appears. Click the [OK] button
in the displayed dialog box.
SCS Manager
When target name is changed, the master database is deleted. Do you continue?
OK
Cancel
030103E.ai
TIP
When performing a build operation after changing the Target name, the master database is deleted. Because the
master database is deleted, it is necessary to run Integrity Analyzer and Cross Reference Analyzer after the build
operation.
TIP
1.
Open the library project, change the Target name and then build.
2.
Open the SCS project, change the Target name and then build.
In case of a current project, it is not possible to change the Target name to SCS_SIMULATOR.
IM 32S04B30-21E
3-9
Project
CENTUM Connection
CENTUM Project Folder: C:\CENTUMVP\eng\BkProject\SCSTest
Current Project
Originally Created:
R2.01.00
OK
Browse...
Cancel
030104E.ai
IMPORTANT
Because the [Target] field of Resource Properties was changed in step 3, it is necessary to
perform a build operation and run the analyzers even if no changes were made to the application
logic.
SEE
ALSO
IM 32S04B30-21E
3.1.2
3-10
This section explains engineering tasks performed when debugging and testing have
been completed and SCS project data is to be downloaded to the actual SCS.
SEE
ALSO
For detailed information about the procedure for reflecting data of a user-defined project to a current project within
the scope where on-line change download is possible, see the following:
Expansion or Reformation (In Case On-line Change is Possible) in Import Procedure of 2.19,
Import and Export of the Engineering Guide (IM 32S01C10-21E)
1.
2.
Import the exported files into the current project. To reflect changes with on-line change
download, import changed POUs individually.
3.
Perform a build operation and run the analyzers on the current project and perform an online change download to the actual SCS.
IM 32S04B30-21E
3-11
SEE
ALSO
For detailed information about the procedure for reflecting data of a user-defined project to a current project with
off-line download, see the following:
Expansion or Reformation (In Case On-line Change is not Possible) in Import Procedure of 2.19,
Import and Export of the Engineering Guide (IM 32S01C10-21E)
1.
2.
3.
Import all the files of the exported project into the current project.
IMPORTANT
If the files of the user-defined SCS project with the Target name of SCS_SIMULATOR, which is
exported in its entirety, are imported into a current project as it is, it will not be possible to build the
project immediately, because the Target name becomes SCS_SIMULATOR. In this case, change
the Target name of the current project to SCS_TARGET.
4.
Perform a build operation and run the analyzers on the current project and perform off-line
download to the actual SCS.
IM 32S04B30-21E
3.2
3-12
The SCS Test Function window is launched from either SCS Manager or System View. An
SCS simulator is launched from the SCS Test Function window and managed via the SCS
Test Function window.
This section explains the following items regarding the SCS Test Function window.
Structure of the SCS Test Function window
Procedure to start an SCS simulation test
Procedure to end an SCS simulation test
IM 32S04B30-21E
3-13
3.2.1
This section explains the structure of the SCS Test Function window.
BRK
Ready
030201E.ai
IM 32S04B30-21E
3-14
l Menu Bar
The main items displayed in the menu bar of the SCS Test Function window are as follows.
Table
Menu Bar
Sub item
Description
Change Test Target Displays a dialog box for changing test target station.
File
Normal Execution
Stop
Hide
Hides the Test Function window and displays the common test
function toolbar in the hidden mode (floating display) only.
Display Message
Common Toolbar
Toolbar
Displays a dialog box (toolbar display dialog box) where it can be set
whether to show or hide the toolbar.
Operation
View
l Toolbar
Table
Description
Run
Same as [Normal Execution] in the menu bar. Displays the operation status of an
SCS simulator.
Stop
Same as [Stop] in the menu bar. Displays the stop status of an SCS simulator.
Hide/Show
Switches between hiding and showing the Test Function window. All Test Function
windows are hidden when the hidden mode is selected, and a floating toolbar with
the [Run], [Stop], [View], [Pause] and [Step] buttons and the Target Status Display
Area is shown.
l Pop-up Menu
Table
Description
Display Message
Shows/hides the message display area. If the message display area is displayed,
a check mark is displayed at the left of this item.
Common Toolbar
Shows/hides the common test function toolbar. If the common test function toolbar
is displayed, a check mark is displayed at the left of this item.
Toolbar
Displays a dialog box (toolbar display dialog box) where it can be set whether to
show or hide the toolbar.
IM 32S04B30-21E
3-15
3.2.2
The SCS Test Function window can be launched either from SCS Manager or from System
View.
For instance, the SCS Test Function window for an SCS mainly used for debugging is
launched from SCS Manager, whereas an SCS simulator to be used in a communication
test can be launched from System View.
When an SCS Test Function window is launched, an SCS simulator is launched simultaneously on a PC. The status of the SCS simulator can be checked from the SCS
Maintenance Support Tool of SENG or a virtual HIS.
Select [Maintenance] from the [Tools] menu of SCS Manager and launch the Maintenance
Launcher.
2.
Select [SCS Test Function] to display the Test Function Startup Confirmation dialog box.
Dialog
Change operation and monitoring function to
virtual test mode. OK?
HIS Station:
HIS0124
....
No Connect to Other PC
OK
Cancel
030203E.ai
TIP
In the [HIS Station] field, a virtual HIS to be launched at the same time as the SCS Test Function window can be
selected. The drop-down list shows HISs that are registered in the connected CENTUM project. Click [NONE] to
launch an SCS simulator only, without launching a virtual HIS.
3.
Click the [OK] button in the Test Function Startup Confirmation dialog box to display the
SCS Test Function window.
IM 32S04B30-21E
3-16
l Cases where Errors Occur when Launching the SCS Test Function Window
In the following cases, an error occurs when launching the SCS Test Function window.
A database has not been created for an SCS simulation test (the Target name is SCS_
TARGET).
A test target SCS has not been registered as a test project on the CENTUM side.
CENTUM project path is not properly specified in the SCS Project Properties dialog box.
The CENTUM project specified in a CENTUM project path is a current project.
TIP
In the following cases the [SCS Test Function] menu is not displayed in the Maintenance Launcher.
The CENTUM VP/CS 3000 Integration Engineering package is not installed.
The SCS project has a current attribute.
Note, however, that when off-line download is performed for a default project and the project attribute is changed
to current, the menu of the Maintenance Launcher being displayed is not changed dynamically. When the
Maintenance Launcher is displayed again, [SCS Test Function] is no longer displayed.
IM 32S04B30-21E
3-17
100%
107: SCS0107
Parameters
Variable Groups
Programs
Untitled FBD
Functions
Function blocks
FBD1
SENG001
NUM
030204E.ai
An icon indicating the combinations of project attribute and the Target name is shown in the table
below.
Table
Target name
SCS_TARGET
SCS_SIMULATOR
Current project
Default project
User-defined project
Library project
IM 32S04B30-21E
3-18
System View
Launch an SCS
simulation test
SCS Test
Function window
Start an FCS
virtual test
SCS Test
Function window
Start/stop an
SCS simulator
SCS
simulator
HIS
FCS Test
Function window
Start/stop an
SCS simulator
Start/stop an
FCS simulator
SCS
simulator
FCS
simulator
Start
Data flow
030206E.ai
l Starting Procedure
1.
Start System View for a user-defined project or a default project of the CENTUM to be
tested.
2.
Select [Test Function] from the [FCS] menu. Alternatively, right-click an SCS in the tree view,
select [Test Function] and launch the SCS Test Function window.
l Cases where Errors Occur when Launching the SCS Test Function Window
An error message appears and the SCS Test Function window is not launched if you attempt to
start the test function from System View on a PC where the current project is opened by SCS
Manager.
IMPORTANT
If the generation time of an SCS project and that of the SCS test database do not match, a
warning dialog box appears when launching the SCS Test Function window. If the procedure is
continued, testing is not performed correctly even though the SCS Test Function window can be
launched. In this case, select [Update SCS Test Database] in SCS Manager and then stop and
start the SCS simulator from the SCS Test Function window.
IM 32S04B30-21E
3-19
TIP
In the following cases, the [Update SCS Test Database] menu is not displayed in the Maintenance Launcher.
The CENTUM VP/CS 3000 Integration Engineering package is not installed.
The attribute of the SCS project is current.
Note, however, that when off-line download is performed for a default project and the project attribute is changed
to current, the menu of the Maintenance Launcher being displayed is not changed dynamically. When the
Maintenance Launcher is displayed again, [Update SCS Test Database] is no longer displayed.
IM 32S04B30-21E
3.2.3
3-20
When the SCS Test Function window is closed, the SCS simulator launched from the window is terminated as well.
Test Environment
Save
Save
Delete
Delete
OK
Cancel
030208E.ai
When the [OK] button in the Test Function Exit Confirmation dialog box is clicked, the SCS Test
Function window is closed and the SCS simulator launched from the window is terminated.
TIP
If an FCS simulator was launched from System View, the FCS simulator is terminated when System View is
closed.
The SCS Test Function window is not automatically closed even if SCS Manager from which it was
launched is closed. With this arrangement, it is possible to launch SCS Manager for another station and
launch multiple SCS simulators.
IM 32S04B30-21E
3.3
3-21
After launching an SCS simulator, set the initial values for the SCS simulator and execute
the test using the test support functions, SCS Maintenance Support Tool and so on.
Certain operations of the SCS simulator are different from the actual SCS, however. This
section explains the following items.
Differences between an SCS simulator and actual SCS
Preparation for executing an SCS simulation test
Use of test support functions
Use of SCS Maintenance Support Tool
Use of virtual HISs
On-line changes of an SCS simulation test
3.3.1
An SCS simulator simulates the operations of an SCS as accurately as possible, but some
of the operations are different from those of the actual SCS.
This section explains the main differences. Use a target test to check items that cannot be
checked with an SCS simulator.
n Input/Output Functions
An SCS simulator does not process inputs/outputs of input/output modules.
SEE
ALSO
For data values of input/output variables and the initial value of data status, see the following:
3.3.2, Preparation for Executing SCS Simulation Tests
l HART Communication
An SCS simulator cannot perform HART communication. Tests of connection with PRM must be
performed via target tests using actual devices.
n Subsystem Communication
An SCS simulator cannot communicate with actual subsystems. The initial values for the entire
communication input/output range are 0 for the data value and GOOD for the data status. Tests
of communication with subsystems must be performed via target tests using actual devices.
IM 32S04B30-21E
3-22
SEE
ALSO
For detailed information about tests on inter-SCS safety communication/SCS link transmission safety
communication using SCS simulators, see the following:
3.5.2, Testing Inter-SCS Safety Communication/SCS Link Transmission Safety Communication
For detailed information about tests of SCS global switch communication combining SCS simulators and
FCS simulators, see the following:
3.6, Testing CENTUM Integration in Virtual Tests
l FB Execution Timing
If the Scan Period for Application Logic Execution Function is specified less than 1 second,
the timing of the time-out occurrence is delayed for TIME-type input parameters of standard
function blocks such as TON and TOFF on the SCS simulator. For example, if the scan
period is set to 200 ms in the actual SCS, and the time-out value for a parameter is specified
to T#5s, the simulated time-out occurs after 25 scans, that is, 25 seconds. If the time-out
value is specified to T#400ms, the time-out occurs after 2 scans, that is, 2 seconds, and so
forth.
Applicable FBs:
TON, TOF, TP, VEL, ANLG_S, REPEATTIMER, ANLG1oo2D, ANLGVOTER, MOB_11,
MOB_21, MOB_RS, SYS_FORCE, SYS_FORCE_SC, SYS_SECURE, SYS_OVR, SYS_
PSWD, SYS_FORCE_BD
The output of function blocks whose output is determined by the number of calls, such as
CTU and CTD, is updated 5 times per second in the actual SCS if the scan period is 200
ms, but only once per second in the simulator.
IM 32S04B30-21E
3-23
System Function Blocks those Operations are Different from the Actual SCS
System FB
SYS_FORCE
SYS_PSWD
SYS_OVR
SYS_DIAG
SYS_IOALLST
SYS_NODEST
SYS_OUTST
NRAL and NROR are changed by the status of logical data. CH1 to CH8 are changed by
the status of logical data.
SYS_OUTST16
NRAL and NROR are changed by the status of logical data. CH1 to CH16 are changed by
the status of logical data.
SYS_INST
SYS_CHST
Q is changed by the status of logical data. CH1 to CH8 are changed by the status of logical
data.
SYS_ESBINF
SYS_NODEINF
SYS_IOMDSP
Always output normal status. CTL is TRUE for odd slots and FALSE for even slots.
SYS_ALRDSP
SYS_SCAN
The output of CPU idle time is 0 second and the output of execution time is 100%.
SYS_TIME
PC time is displayed.
SYS_SCURE
SYS_NETST
SYS_CERR
SYS_SCANEXT
Outputs a fixed scan period value because automatic scan period extension is disabled..
n Security Level
Immediately after launching an SCS simulator, its security level is set to 0, which is not
the case for the actual SCS. Since the SCS simulator is not directly related to the plant
operation, it is not necessary to change to level 2.
In the actual SCS, the SCS security level is changed from 0 to 2 via off-line download or
by restarting the SCS, whereas in the case of an SCS simulator, the security level can be
changed to 2 without entering a password by starting the Maintenance Launcher from SCS
Manager and selecting [Set SCS Security Level].
IM 32S04B30-21E
3-24
n Hardware Diagnosis
An SCS simulator simulates all hardware as normal in the diagnosis.
l CPU
Always simulated as normal.
In the case of duplicated CPUs, the left CPU is simulated as being in control status, while
the right CPU is simulated as being in standby mode.
Since the simulation does not involve actual hardware, APC status does not exist.
l HKU Functions
All items, including temperature, fan status and battery, are simulated as normal.
IM 32S04B30-21E
3-25
l SOE Events
There are no DI module events.
SOE events that occurred before the previous stop are not restored when starting an SCS
simulator.
l Time Synchronization
An SCS simulator operates based on the local PC clock regardless of the specification of
time synchronization. Note that if the expanded test functions are used to launch several SCS
simulators on different PCs, the time is not synchronized between the PCs.
The time synchronization status is always displayed as normal.
If Vnet/IP time synchronization is specified as the synchronization method, the time
synchronization status is always displayed as being synchronized relative to Vnet/IP.
SEE
ALSO
For more information about the behavior at abnormal calculation on an actual SCS, see the following:
B6.1.3, "Behavior at Abnormal Calculation" of the Safety Control Station Reference (IM 32S03B10-21E)
IM 32S04B30-21E
3-26
3.3.2
Some operations of an SCS simulator are different from those of the actual SCS. For example, input/output processing of input/output modules is not performed in simulations.
Thus, when executing a test using SCS simulators, it is necessary to use the forcing function of the test support functions to set initial values required for the test.
Set the initial values required for each test according to the scope of testing.
SEE
ALSO
For detailed information about tests related to inter-SCS safety communication/SCS link transmission
safety communication, see the following:
3.5, Tests Using Multiple SCS Simulators
For detailed information about tests of CENTUM integration using SCS simulators, see the following:
3.6, Testing CENTUM Integration in Virtual Tests
Internal variable
Input/output variable
Lock status
Operating mode
Security level
Password is cleared.
Operation mark
Returns to 0.
UAID
Process alarm
Diagnostic information
SOE
System alarm
IM 32S04B30-21E
3-27
l Physical Data
Data values of physical data of input/output variables and data status of physical data of input/
output variables cannot be changed.
Table
Digital input
Digital output
Analog input
Analog output
Physical data
Value
Data status
Fixed to GOOD
Value
Data status
Fixed to GOOD
Value
Fixed to 0.0
Data status
Fixed to GOOD
Value
Data status
Fixed to GOOD
l Logical Data
The initial value of logical data is the same as the corresponding physical data.
TIP
When launching an SCS simulator, input/output variables are not locked in the same way as for the actual SCS.
To change an input value, lock the corresponding variable from I/O Lock Window and set an input value for the
logical data.
When the lock is cancelled, the value and status returns to those of the physical data.
IM 32S04B30-21E
3-28
TIP
Since an SCS simulator always simulates output modules as normal, the output changes from enabled status to
an invalid status only when a shutdown system function block (SYS_ALLSD, SYS_IOSD) is activated.
IM 32S04B30-21E
3.3.3
3-29
After launching an SCS simulator, use the test support functions according to the test
purpose and start testing.
This section explains what types of test support functions can be used and how do they
work during SCS simulation tests.
IM 32S04B30-21E
3-30
n Forcing Function
The forcing function can be used when setting initial values and testing application logic. The I/O
Lock Window, Communication I/O Lock Window, SCS Link Transmission Lock Window and InterSCS Communication Lock Window allow setting multiple values at once in SCS simulation tests.
SEE
ALSO
For detailed information about operations in the I/O Lock Window, see the following:
2.1, I/O Lock Window of the Utilities and Maintenance Reference (IM 32S04B20-21E)
SEE
ALSO
For detailed information about operations in the Communication I/O Lock Window, see the following:
C1.6, Communication I/O Lock Window of the Open Interfaces (IM 32S05B10-21E)
IM 32S04B30-21E
3-31
SEE
ALSO
For detailed information about the SCS Link Transmission Lock Window, see the following:
2.2, SCS Link Transmission Lock Window of the Utilities and Maintenance Reference (IM 32S04B20-21E)
SEE
ALSO
For detailed information about the Inter-SCS Communication Lock Window, see the following:
2.3, Inter-SCS Communication Lock Window of the Utilities and Maintenance Reference
(IM 32S04B20-21E)
IMPORTANT
When using these functions, make sure to pay attention to the differences in operations from the
actual SCS, especially concerning scan period and execution timing.
SEE
ALSO
For detailed information about differences in operations between an SCS simulator and actual SCS due to
differences of scan period, see the following:
n Specification for Scan Period and Execution Timing in 3.3.1, Operations Unique to SCS Simulators
IM 32S04B30-21E
3-32
IM 32S04B30-21E
3-33
SEE
ALSO
IM 32S04B30-21E
3-34
3.3.4
The status of an SCS simulator can be managed in the SCS Status Overview window and
the SCS State Management window of the SCS Maintenance Support Tool.
In an SCS simulation test, the following functions of the SCS Maintenance Support Tool
cannot be used.
Output module start
System report
IOM Report
IOM download
Time setting
l Tool Buttons
The table below lists whether or not each tool button can be operated during SCS simulator
operation.
Table
Operability
Remark
x:
Can be operated
Blank: Cannot be operated
IM 32S04B30-21E
3-35
l Tool Buttons
The table below lists whether or not each tool button can be operated during SCS simulator
operation.
Table
Operability
IOM download
Remark
x:
Can be operated
Blank: Cannot be operated
l Tool Buttons
While an SCS simulator is operating, the tool buttons are available in the same way as for the
actual SCS.
IM 32S04B30-21E
3-36
n SOE Viewer
While an SCS simulator is operating, SOE Viewer displays events and diagnostic information
messages of the SCS simulator. The display specification is the same as for the actual SCS.
An SCS simulator does not generate events of DI modules.
l Tool Buttons
While an SCS simulator is operating, the tool buttons are available in the same way as for the
actual SCS.
l Tool Buttons
While an SCS simulator is operating, the tool buttons are available in the same way as for the
actual SCS.
IMPORTANT
Please note that on the OPC client side, it cannot distinguish whether the data acquisition
destination is an actual SCS or an SCS simulator.
IM 32S04B30-21E
3.3.5
3-37
n Other Windows
An SCS simulator can be operated and monitored in various windows just like the actual SCS.
IM 32S04B30-21E
3-38
3.3.6
Changes to applications made during an SCS simulation test can be reflected in the SCS
simulator. In order to reflect these changes, it is necessary to execute a build operation
and run the analyzers.
Changes in the range where on-line changes are possible can be reflected in on-line
change download to the SCS simulator.
An SCS simulator does not support off-line download. Instead, restarting an SCS simulator corresponds to off-line download.
TIP
If the status is changed such that on-line change is not possible, on-line change download cannot be performed
in the same way as for the actual SCS. Stop the SCS simulator once and restart the SCS simulator from the SCS
Test Function window. Note that if the SCS simulator was started from System View, it is necessary to launch
SCS Manager first and execute [Update SCS Test Database] before starting the SCS simulator.
End the application debug function being executed from SCS Manager.
2.
From the [Debug] menu of SCS Manager, select [Stop Debug/Simulation] to cancel the
debug mode.
IM 32S04B30-21E
3.4
3-39
Using expanded test function package of CENTUM, it is possible to perform SCS simulation tests using multiple PCs.
In this way, it becomes possible to launch SCS Manager on several PCs at one time. In
tests where multiple SCSs are involved, such as inter-SCS safety communication tests,
it becomes possible to set values by forcing, in an SCS simulator that is mainly used for
debugging purposes, as well as in SCS simulators that are used in communication tests.
Thus, using the expanded test functions allows debugging to be performed efficiently
under various conditions.
IMPORTANT
Do not use _ (underscore) in the host name of a PC on which the expanded test functions
are executed. If _ is used for the host name of the PC on which an SCS simulator or virtual
HIS is launched, an error may be generated at startup, or communication between the SCS
simulator and virtual HIS may not be possible.
If an SCS simulator has been launched in a domain different from the domain of a virtual
HIS before launching the HIS, it may take up to one minute until the communication
between the virtual HIS and the SCS simulator is enabled.
A virtual HIS and an SCS simulator in the same domain will start communicating within one
minute regardless of the launching order.
In the expanded test functions, time is not synchronized among PCs.
TIP
IM 32S04B30-21E
3-40
IM 32S04B30-21E
3-41
3.4.1
This section explains the hardware and software environments required for the expanded
test functions.
Specification
CPU/OS
Main memory
Hard disk
Display resolution
1024 x 768 or more, 1280 x 1024 are recommended, 65536 colors or more
(at least 4 MB of video memory)
Monitor
Ethernet port
(On the PC that is not
connected to Vnet/IP)
Other
At least 1 port (in the case of a plant operation training system, 100 Mbps or 1 Gbps
Ethernet is required)
3.5" FDD and CD-ROM drive are required at installation.
IMPORTANT
To launch an SCS simulator remotely using the expanded test functions, do not install control bus
Interface card on a PC that runs SCS simulators. This is necessary to avoid communicating with
a PC that is communicating with an actual SCS by mistake.
IM 32S04B30-21E
3-42
PC2
Ethernet
Here, the main PC used by the engineer for debugging applications is called PC1. The PC that
communicates with the test function running on PC1 is denoted PC2. The usage purpose of PC2
can be outlined via patterns PC2-A to PC2-C listed below.
PC2-A: Remotely launch SCS simulators/FCS simulators on PC2 from PC1.
PC2-B: Launch a virtual HIS that monitors the SCS simulators launched into PC1.
PC2-C: Launch ProSafe-RSs SCS Manager to use the SCS Maintenance Support Tool for the
SCS simulators launched on PC1 (*1).
*1:
In order to launch the SCS Maintenance Support Tool for the SCS simulators launched on PC1, it is necessary to launch the HIS
simulator in PC2-C at the same time.
Product
CENTUM (*1)
ProSafe-RS
(*2)
Package name
PC1
LHS5100/LHM5100
Test Function
LHS5420/LHM5150
LHS5425
LHS5426
LHS5427
PC2-A
(*3)
PC2-B PC2-C
x
CHS5100
CHS5200
x:
Required
Blank: Not required
*1:
For CENTUM VP, R4.01 or later and for CS 3000, R3.08.50 or later.
SCSP2 can be connected with CENTUM VP R4.02 or later. It can not be tested with CS 3000 system.
*2:
Install the related subsystem communication packages as well on PCs that are used to engineer SCS projects for which
subsystem communication is defined.
*3:
To operate SCS simulators, it is necessary to use the installation media of ProSafe-RS to install the SCS simulators.
IM 32S04B30-21E
3-43
For SOE OPC Interface package (CHS2200) to display the values of SCS simulator correctly,
the PC must have at least one of the following CENTUM packages installed: Test Functions,
Expanded Test Functions, FCS Simulator, and HIS Simulator.
PC 1
ProSafe-RS
CENTUM
Test Function
Expanded Test Functions
CENTUM
project data
CENTUM
FCS Simulator (*1)
Ethernet
PC 4
PC 3
CENTUM
HIS Simulator Package
Standard Operation and
Monitoring Function
CENTUM
FCS Simulator Package
(*1) (*2)
030402E.ai
PC1:
PC2:
PC3:
PC4:
*1:
*2:
IMPORTANT
The PC with a CENTUM project database (PC1 in the figure above) is accessed from other PCs
and its load is thus likely to be high. Do not operate HIS simulators, FCS simulators and SCS
simulators on PC1.
IM 32S04B30-21E
3-44
3.4.2
This section explains the basic points in the expanded test function and how to execute
SCS simulation tests using the expanded test functions through specific configuration
examples.
SEE
ALSO
The basic points of the expanded test functions required for carrying out SCS simulation tests are explained in
this section. For more information about each function, see the following:
PART D, Expand Test Functions of the CS 3000 Engineering Test Guide (IM 33S01N10-01E)
PART D, Expand Test Functions of the CENTUM VP Engineering Test Guide (IM 33M10D20-40E)
Virtual HIS
SCS Test
Function window
Control bus
communication emulation
CENTUM
PJT
DB
SCS Manager
SCS0109
PJT DB
Shared
PC2
Shared
Virtual HIS
SCS0109
PJT DB
SCS Test
Function window
SCS0109
simulator
System View
CENTUM
PJT
DB
030403E.ai
IM 32S04B30-21E
3-45
HIS0124
....
[Browse] button
No Connect to Other PC
OK
Cancel
030404E.ai
TIP
1.
Use the [HIS Station] field to select the name of the virtual HIS station launched on the local
PC (PC1).
2.
Use the [SCS Start Computer Name] field to select the name of the PC on which SCS
simulator of an SCS project is launched. In the example, select [LOCALHOST] as the
simulator is launched on the local PC.
It is possible to select the PC on which the simulators are launched by clicking the [Browse] button.
3.
4.
Click the [OK] button. The virtual HIS and SCS simulator are launched on PC1.
l Step 3 Open the SCS Test Function Window from System View on PC2
On PC2, launch the SCS simulator from System View.
1.
Select the SCS you want to launch in System View of the CENTUM project to be tested and
select [Test Function] from the [FCS] menu. The Test Function Startup Confirmation dialog
box appears.
2.
The subsequent procedure is the same as l Step 2 Select Simulation Targets on PC1.
IM 32S04B30-21E
3-46
2.
When the last SCS Test Function window on the local PC is closed, it becomes possible
to select or deselect the check box for stopping the virtual HIS on the Test Function Exit
Confirmation dialog box. It is selected by default.
2-A If this check box is selected, the virtual HIS is closed at the same time as the test function is
ended.
2-B If this check box is cleared, the virtual HIS is not closed even if the test function is ended.
Test Function
Exit test function?
SCS simulator database
Test environment
Save
Save
Delete
Delete
OK
030405E.ai
PC2
Virtual HIS
SCS Test
Window
System View
Rem
SCS0101
simulator
SCS0101
PJT DB
SCS0109
PJT DB
SCS0109
PJT DB
Control bus
communication emulation
ote la
SCS Manager
Virtual HIS
unch
SCS0109
simulator
CENTUM
PJT
DB
CENTUM
PJT
DB
Shared
030406E.ai
IM 32S04B30-21E
3-47
HIS0124
....
[Browse] button
No Connect to Other PC
OK
Cancel
030407E.ai
TIP
1.
Use the [HIS Station] field to select the name of the virtual HIS station launched on the local
PC (PC1).
2.
Use the [SCS Start Computer Name] field to select the name of the PC on which SCS
simulators of an SCS project are launched. In the example, select [LOCALHOST] as the
simulator is launched on the local PC.
It is possible to select the PC on which the simulators are launched by clicking the [Browse] button.
3.
4.
Click the [OK] button. The virtual HIS and SCS simulator are launched on PC1.
Select the SCS which you want to launch the SCS simulator from System View of the
CENTUM test project and select [Test Function] from the [FCS] menu.
2.
Since the virtual HIS has already been launched on PC1, the following Test Function Startup
Confirmation dialog box appears.
Dialog
Start Virturl Test Function.
OK?
OK
....
Cancel
030408E.ai
Figure Test Function Startup Confirmation Dialog Box (when the Second Test Function is Launched)
IM 32S04B30-21E
3-48
TIP
Use [SCS Start Computer Name] to select the name of the PC that launches the SCS
simulator of the selected SCS project. In the example, select the computer name of PC2
because the simulator is launched on PC2.
It is possible to select the PC on which the simulators are launched by clicking the [Browse] button.
2.
HIS Station:
OK
OK?
HIS0124
Cancel
030409E.ai
The [HIS Station] field of the Virtual HIS Startup Confirmation dialog box displays the HIS station
name selected in System View. The HIS station name displayed in the [HIS Station] field cannot
be changed, nor is input allowed.
If the [OK] button is clicked in the Virtual HIS Startup Confirmation dialog box, the HIS selected in
System View starts up in the virtual mode.
IM 32S04B30-21E
3-49
Project
HIS
All Folders
-
SYSTEM VIEW
-
MYPJT
PJT06
HIS0164
HIS0663
HIS0664
Ready
030410E.ai
No
030412E.ai
IM 32S04B30-21E
3.5
3-50
Inter-SCS safety communication and SCS link transmission safety communication involve communication between multiple SCSs. They are thus tested using multiple SCS
simulators. It is possible to launch multiple SCS simulators on a single PC for simple
testing, but it is necessary to use the expanded test functions on multiple PCs when more
advanced functions such as the I/O Lock Window are used for each station in the testing.
3.5.1
This section explains the environment required to test inter-SCS safety communication
and SCS link transmission in an SCS simulation test. In addition, the procedure for changing SCS simulators to be tested is explained.
In order to test inter-SCS safety communication or SCS link transmission safety communication, it is necessary to launch multiple SCS simulators. However, since only one SCS
Manager can be launched on a single PC, it is not allowed to use the application debug
function for multiple SCSs at the same time. Thus, it is recommended to execute a multiple-SCS connection test using the expanded test functions on two or more PCs.
IM 32S04B30-21E
3-51
SEE
ALSO
SEE
ALSO
1.
Launch the SCS simulators of the SCS to be communicated with from SCS Manager or
System View.
2.
If the SCS simulators transmit data using inter-SCS safety communication as a producer, or
transmit data using SCS link transmission safety communication, use the SCS maintenance
Support Tool to perform the Enable Output operation.
3.
If SCS Manager of the SCS simulator to be communicated is already open, close it at once.
4.
Open SCS Manager of the SCS to be mainly debugged, launch the SCS simulator
and perform debugging via the Inter-SCS Communication Lock Window or SCS Link
Transmission Lock Window.
Select [Change Test Target] from the [File] menu of the SCS Test Function window. The
Target Selection dialog box appears.
OK
Cancel
030501E.ai
2.
The Target Selection dialog box displays SCSs/FCSs defined in System View. Select the
SCS for which an SCS simulation test is executed.
3.
Click the [OK] button to display the Target Change Confirmation dialog box and click the
[Yes] button. The selected SCS simulator starts up.
IM 32S04B30-21E
3-52
PC1
CENTUM
Standard
Builder Function
Standard Operation
and Monitoring
Function
ProSafe-RS
SCS0102
PJT DB
CENTUM
PJT DB
CENTUM
PJT DB
Safety System
Generation and
Maintenance
CENTUM VP/
CS 3000 Integration
Engineering
Test Function
Expanded
Test Functions
SCS0101
PJT DB
CENTUM
ProSafe-RS
Standard Operation
and Monitoring
Function
Safety System
Generation and
Maintenance
Test Function
CENTUM VP/
CS 3000 Integration
Engineering
FCS Simulator
SCS simulator
SCS0101
SCS0102
PJT DB
SCS simulator
SCS0102
Ethernet
030502E.ai
Figure Example of Testing Inter-SCS Safety Communication or SCS Link Transmission Safety
Communication Using Two PCs
l Startup Procedure
The procedure below shows how to test inter-SCS safety communication or SCS link
transmission safety communication using two PCs configured as shown above.
SEE
ALSO
1.
2.
3.
From the SCS Test Function window, launch the SCS simulator for the SCS0101 project
and the virtual HIS.
4.
5.
6.
From the SCS Test Function window, launch the SCS simulator for the SCS0102 project
and the virtual HIS.
7.
Use the test support functions on the respective PCs to set the initial values for the SCS
simulators and execute the test.
For the specific operation procedure using the expanded test functions, see the following:
3.4.2, Executing SCS Simulation Tests Using the Expanded Test Functions
IM 32S04B30-21E
3-53
IM 32S04B30-21E
3.5.2
3-54
This section explains precautions when executing SCS simulation tests of inter-SCS
safety communication or SCS link transmission safety communication.
Use the Inter-SCS Communication Lock Window and set values so as to check the validity
of the application logic.
IM 32S04B30-21E
3-55
IM 32S04B30-21E
3.6
3-56
It is possible to use virtual tests of CENTUM (virtual HIS and FCS simulator) and SCS
simulators in order to test CENTUM integration. This section explains the procedure until
the start of testing executed with a single PC.
n PC Configuration Example
When performing an SCS simulation test using a default project of CENTUM integration
configuration on a single PC, the PC is configured as follows.
PC1
Virtual HIS
System View
SENG
SCS simulator
FCS simulator
SCS simulation test
SCS0101-pjt
(Default SCS project)
CENTUM-pjt
(Default project)
SCS0101, HIS0164
030601E.ai
Create an SCS project with default attribute and create the required application logic. Then
define the communication with SCS Link Transmission Builder in order to perform SCS
global switch communication with FCS.
2.
Using Tag Name Builder, define tag names for the applications that communicate data with
tag name interfaces to the CENTUM stations.
3.
4.
Change the Target name to SCS_SIMULATOR in the Resource Properties dialog box of the
SCS Manager.
5.
Specify the CENTUM project path registered in step 3 in the SCS Project Properties dialog
box.
6.
Perform a build operation and run the analyzers on the SCS project.
7.
8.
Open the SCS Test Function window from SCS Manager. When launching the SCS
simulator, launch the virtual HIS as well.
9.
10. Use the test support functions and HIS simulator of SENG to test CENTUM integration
applications.
IM 32S04B30-21E
4-1
4.
Target Tests
After Logic simulation tests or SCS Simulation tests, conduct Target tests.
Target tests must be conducted for the following cases:
The test conducted by connecting to actual hardware, the test conducted when abnormality occurs in inter-SCS communication or SCS Link Transmission, the test to check the
SCS performance.
4.1
In target tests, tests are conducted by running the application on the actual machine.
ALSO
Forcing (*1)
None
None
Input/output tests
Wiring check between channels and devices
Test of input/output devices (confirmation of
actual input values and operations)
Confirmation of performance
Test of SOE collection of discrete input/output
modules
Jig, device
Target environment of
CENTUM system
Forcing (*1)
Whole system
*1:
SEE
For more information about whether to lock or unlock the inputs or outputs, see the following:
(D) (D) On-line Change Download in Procedure for On-line Change of an Application in 5.1, Entire
Procedure of On-line Change of Application of the Engineering Guide (IM 32S01C10-21E)
For more information about testing CENTUM integration function, see the following:
2.3, Tests in the CENTUM Integration Structure of the Integration with CENTUM VP/CS 3000 (IM
32S01E10-21E)
IM 32S04B30-21E
4.2
4-2
<4.2 Target Test Operation (In Case On-line Change Download is not Possible)>
This section describes how to conduct target tests after a large-scale change is made to a
project disallowing on-line change download.
SEE
ALSO
SEE
ALSO
For more information about the build operation, see the following:
n Building SCS Project in 5.4, Procedure after Creating Application Logic of the Engineering Reference
(IM 32S04B10-21E)
n Off-line Download
Before you start target tests, perform an off-line download to SCS.
SEE
ALSO
For information about changing the SCS security level, see the following:
1.3, Security of SCS of the Utilities and Maintenance Reference (IM 32S04B20-21E)
SEE
ALSO
IM 32S04B30-21E
4-3
<4.2 Target Test Operation (In Case On-line Change Download is not Possible)>
SEE
ALSO
For information about changing the SCS security level, see the following:
1.3, Security of SCS of the Utilities and Maintenance Reference (IM 32S04B20-21E)
For information about security level required to conduct each test, see the following:
n Outline of Test Function in 4.1, Types of Test of the Engineering Guide (IM 32S01C10-21E)
SEE
ALSO
For more information about whether to lock or unlock the inputs or outputs, see the following:
(D) (D) On-line Change Download in Procedure for On-line Change of an Application in 5.1, Entire
Procedure of On-line Change of Application of the Engineering Guide (IM 32S01C10-21E)
For information about how to lock input/output modules using the forcing function, see the following:
2.1, I/O Lock Window of the Utilities and Maintenance Reference (IM 32S04B20-21E)
l Enable Outputs
Enable the channels of output modules for which output has been invalidated. Perform the output
enable operation from the SCS State Management window of SCS Maintenance Support Tool.
IMPORTANT
The output enable operation will be performed for each SCS, rather than for each channel. When
the output enable operation is performed, the inter-SCS safety communication producer side
and the SCS Link Transmission sender side become enabled and then the application logic can
output to the subsystem.
SEE
ALSO
For information about the output enable operation in the SCS State Management window, see the following:
3.1.6, Output Enable Operation of the Utilities and Maintenance Reference (IM 32S04B20-21E)
IM 32S04B30-21E
4-4
<4.2 Target Test Operation (In Case On-line Change Download is not Possible)>
SEE
ALSO
For information about the application debug function in the Target window, see the following section of
Workbench of the Workbench Users Guide:
Debug
For how to use I/O Lock Window for the forcing function, see the following:
2.1, I/O Lock Window of the Utilities and Maintenance Reference (IM 32S04B20-21E)
For information about the online monitoring function, see the following:
3.3, Online Monitoring of the Utilities and Maintenance Reference (IM 32S04B20-21E)
l If SCS Security Level is Changed from the Offline Level (Level 0) to the Online
Level (Level 2)
1.
2.
l If SCS Security Level is Changed from Online Level (Level 1) to Online Level
(Level 2)
1.
Unlock variables
Unlock variables that were locked during debugging and testing.
2.
3.
IMPORTANT
When debug mode is terminated, or when the SCS Manager is terminated while the debug
mode is active, if the locked variables (including the variables in the locked modules) exist, a
confirmation dialog box appears and then the debug mode or the SCS Manager ends. Unlock the
locked variables from Dictionary View or I/O Lock Window.
IM 32S04B30-21E
4.3
4-5
<4.3 Target Test Operation (In Case On-line Change Download is Possible)>
This section describes how to conduct target tests after a small-scale change is made to a
project allowing for on-line change download.
SEE
ALSO
SEE
ALSO
For more information about the build operation, see the following:
n Building SCS Project in 5.4, Procedure after Creating Application Logic of the Engineering Reference
(IM 32S04B10-21E)
SEE
ALSO
For information about changing the SCS security level, see the following:
1.3, Security of SCS of the Utilities and Maintenance Reference (IM 32S04B20-21E)
IM 32S04B30-21E
4-6
<4.3 Target Test Operation (In Case On-line Change Download is Possible)>
SEE
ALSO
For information about how to lock input/output modules using the forcing function, see the following:
2.1, I/O Lock Window of the Utilities and Maintenance Reference (IM 32S04B20-21E)
TIP
Consider the necessity of locks in inter-SCS safety communication and SCS Link Transmission.
SEE
ALSO
For more information about on-line change download, see the following:
9.2, On-line Change Download of the Engineering Reference (IM 32S04B10-21E)
SEE
ALSO
For how to use I/O Lock Window for the forcing function, see the following:
2.1, I/O Lock Window of the Utilities and Maintenance Reference (IM 32S04B20-21E)
For information about the online monitoring function, see the following:
3.3, Online Monitoring of the Utilities and Maintenance Reference (IM 32S04B20-21E)
IM 32S04B30-21E
<4.3 Target Test Operation (In Case On-line Change Download is Possible)>
4-7
Unlock variables
Unlock variables that were locked during debugging and testing.
2.
3.
IMPORTANT
When debug mode is terminated, or when the SCS Manager is terminated while the debug
mode is active, if the locked variables (including the variables in the locked modules) exist, a
confirmation dialog box appears and then the debug mode or the SCS Manager ends. Unlock the
locked variables from Dictionary View or I/O Lock Window.
IM 32S04B30-21E
5.
5-1
5.1
C:RS-Projects\MYRSPJT
Browse...
SCS Project
SCS0101
SCS0102
SCS0103
SCS0104
SCS0105
Select All
Copy To
C:\Test-Projects\TESTPJT
Browse...
Browse...
OK
Close
050101E.ai
IM 32S04B30-21E
5-2
TIP
1.
Click the [Browse] button and select the target RS project folder.
When an RS project is selected, all SCS projects included in the RS project are displayed.
2.
3.
Specify the copy destination SCS project in the [Copy To] field.
It is also possible to click the [Browse] button to select the target RS project folder.
If no RS project folder exists in the copy destination, click the [OK] button to create a new RS project folder.
If an SCS project with the same name already exists in the RS project, an error dialog box appears if the
[OK] button is clicked and the project will not be copied.
4.
Specify the path of the CENTUM project to be connected with the SCS project to be created
with this tool in the [CENTUM Project] field.
It is also possible to click the [Browse] button to select the folder of the CENTUM project to
be connected.
Specify a path of either a default project or user-defined project for the CENTUM project
path name.
5.
The Target name of the copy destination SCS project is automatically changed to SCS_
SIMULATOR. At this point, a dialog box with a message The copy destination master
database is deleted. Do you want to continue? is displayed. Click the [OK] button.
Library projects related to the copy source SCS project are copied to the copy destination
RS project.
The Target name of the copy destination library projects are automatically changed to
SCS_SIMULATOR.
The library projects referenced by the copy destination SCS project are automatically
switched to the copied library projects.
IM 32S04B30-21E
5.2
5-3
The Project Attribute Tool is used to display the status of test projects. The Project
Attribute Tool cannot be launched if SCS Manager is already running on the PC. Close
SCS Manager if it is running.
C:\RS-Projects\MYRSPJT
Attribute
User Defined
User Defined
User Defined
User Defined
Target
SCS_SIMULATOR
SCS_TARGET
SCS_SIMULATOR
SCS_TARGET
Browse...
CENTUM Project
C:\CENTUMVP\..
C:\CENTUMVP\..
C:\CENTUMVP\..
C:\CENTUMVP\..
Close
050201E.ai
l Operation Procedure
Click the [Browse] button next to the [RS Project] field and select the target RS project folder. The
statuses of SCS Projects that are included in the RS Project are displayed.
IM 32S04B30-21E
Rev-1
Revision Information
Title
: ProSafe-RS System Test Reference
Manual No. : IM 32S04B30-21E
Dec. 2009/3rd Edition/R2.03 or later*
*: Denotes the release number of the software corresponding to the contents of this users manual. The
revised contents are valid until the next edition is issued.
Introduction
Added the description
1.2
Added the description for using Inter-SCS Communication Lock Window.
1
Added the description for SCSP2.
1.3
Added the description for Windows Server 2008.
1.3
Changed the description for related CENTUM software release number.
1.3
Added the description for SCSP2.
1.3
Changed the description for testing the multiple SCSs.
2.
Added the description for the behavior at abnormal calculation in SCS.
2.
Added the description for automatic scan period extension in SCS.
3.
Added the description for using Inter-SCS Communication Lock Window.
3.3.1 Added the description for automatic scan period extension in SCS.
3.3.1 Added the description for new Function Block.
3.3.1 Added the description for the behavior at abnormal calculation in SCS.
3.3.3 Added the description for using Inter-SCS Communication Lock Window.
3.3.4 Added the description included in supplement.
3.4.1 Added the description for Windows Server 2008.
3.4.1 Changed the description for control bus interface cards.
3.4.1 Added the description for SCSP2.
3.4.1 Added the description included in supplement.
3.5.1 Added the description for using Inter-SCS Communication Lock Window.
3.5.2 Added the description for using Inter-SCS Communication Lock Window.
IM 32S04B30-21E