三菱 PX Developer Version 1 操作 手册 (SCADA Interaction)
三菱 PX Developer Version 1 操作 手册 (SCADA Interaction)
Before using this product, please read this manual and the relevant manuals introduced in this manual
carefully and pay full attention to safety to handle the product correctly.
The instructions given in this manual are concerned with this product. For the safety instructions of the
programmable controller system, please read the CPU module user's manual.
In this manual, the safety instructions are ranked as "DANGER" and "CAUTION".
Note that the ! CAUTION level may lead to a serious consequence according to the circumstances.
Always follow the instructions of both levels because they are important to personal safety.
Please save this manual to make it accessible when required and always forward it to the end user.
A-1 A-1
REVISIONS
*The manual number is given on the bottom left of the back cover.
Print Date * Manual Number Revision
Jun., 2008 SH(NA)-080773ENG-A First edition
Jun., 2008 SH(NA)-080773ENG-B Partial corrections
Appendix 3.1
This manual confers no industrial property rights or any rights of any other kind, nor does it confer any patent
licenses. Mitsubishi Electric Corporation cannot be held responsible for any problems involving industrial property
rights which may occur as a result of using the contents noted in this manual.
© 2008 MITSUBISHI ELECTRIC CORPORATION
A-2 A-2
INTRODUCTION
Thank you for choosing the Mitsubishi MELSOFT series Integrated FA software.
Read this manual and make sure you understand the functions and performance of MELSOFT series
thoroughly in advance to ensure correct use.
CONTENTS
SAFETY PRECAUTIONS.............................................................................................................................A - 1
REVISIONS ...................................................................................................................................................A - 2
INTRODUCTION...........................................................................................................................................A - 3
CONTENTS...................................................................................................................................................A - 3
MANUALS .....................................................................................................................................................A - 5
HOW TO USE THIS MANUAL .....................................................................................................................A - 6
MANUAL ORGANIZATION ..........................................................................................................................A - 8
GENERIC TERMS, ABBREVIATIONS, AND TERMS ................................................................................A - 9
1. OVERVIEW 1- 1 to 1- 4
1.1 Overview.................................................................................................................................................. 1- 1
1.2 Features .................................................................................................................................................. 1- 1
2. SYSTEM CONFIGURATION 2- 1 to 2- 2
4. TROUBLESHOOTING 4- 1 to 4- 3
A-3 A-3
APPENDICES App- 1 to App- 3
Appendix 1 Details of Dot Field Name in the Tag Name Reference Function.........................................App- 1
Appendix 2 Main Tag Items .......................................................................................................................App- 1
Appendix 3 Correspondence Table of Items of the Monitor Tool and InTouch .......................................App- 2
Appendix 3.1 Correspondence table of alarm items .............................................................................App- 2
Appendix 3.2 Correspondence table of event items .............................................................................App- 3
A-4 A-4
MANUALS
Related manuals
Manual number
Manual name
(model code)
PX Developer Operating Manual (Programming Tool)
SH-080369E
Explains FBD language programming, compilation, online operations, and debug methods with PX (13JU38)
Developer. (Sold separately.)
PX Developer Operating Manual (Monitor Tool)
SH-080370E
Explains the operation methods of the monitor tool and methods for monitoring and controlling DDC (13JU39)
processing with tag FB. (Sold separately.)
PX Developer Programming Manual
SH-080371E
Explains details of programming with PX Developer, lists of FB parts, and the PID instructions.
(13JW00)
(Sold separately.)
CAUTION
• Please note that we do not guarantee commercially available software
compatible with Microsoft Windows Operating System introduced in this
R R
manual.
• The software copyright of this product belongs to Mitsubishi Electric Corporation.
• No contents in this manual can be reproduced or duplicated in any form or by any
means without permission.
• Although we make utmost efforts, this manual may not completely follow the
revisions of the software and hardware.
• In principle, this software should be purchased by one set per personal computer
or by license purchase.
• This product (including this manual) can only be used under the software license
agreement.
• Please note that we are not responsible for any influence resulting from operating
this product (including this manual).
• The contents of this manual are subject to change without notice.
A-5 A-5
HOW TO USE THIS MANUAL
A-6 A-6
There are also the following types of explanations.
BASIC OPERATION
Explains operation methods.
DISPLAY/SETTING SCREEN
Screen to display/set items.
DISPLAY/SETTING DATA
Explains items in DISPLAY/SETTING SCREEN.
POINT
Informs items to be noted and useful functions relevant to the contents in the chapter or section.
The following table explains symbols in this manual and their description.
Symbol Description
Expresses an item in a window or dialog box, or a menu on the menu bar.
[ ] [ ] [ ] expresses the drop-down menu.
Example: [Special] [Configure]
Expresses a corresponding button.
( ) Example: "Define Tag Source" button ( )
Expresses a command button.
" "
Example: "OK" button
Expresses dialog box tab.
<< >>
Example: <<General>> tab
A-7 A-7
MANUAL ORGANIZATION
*For operating procedures and setting items, refer to the manual of InTouch.
A-8 A-8
GENERIC TERMS, ABBREVIATIONS, AND TERMS
The following table shows the generic terms, abbreviations, and terms in this manual.
Term Description
WindowMaker Development environment of InTouch
WindowViewer Execution environment of InTouch
R
I/O server Communication driver for Wonderware
Abbreviation for Dynamic Data Exchange
DDE R
Windows standard communication protocol to communicate between applications
Abbreviation for Direct Digital Control
DDC
This designates control that fulfils controller’s functions with digital device.
Function Block Diagram language specified in IEC61131-3
FBD Programs are made by wiring specifically processed blocks, variables, and constants so
that they can follow a flow of data signal.
Abbreviation for Function Block
FB
This designates function block unit in a program.
Identification symbol attached to each DDC processing defined by JIS
Tag
This can be likened to a tag attached to process control equipment.
Summarizes data attached to DDC processing indicated with a tag (process condition
Tag data data/process status data).
Accessing the tag data can monitor status and set conditions of the relevant DDC.
Tag data item Each data item that makes up tag data
Tag FB Function block works as a controller and indicator including tag data
Gauge window on which such as a controller is displayed in image format
Faceplate
Tag data values can be operated on this window.
SV Set value
PV Process value
MV Manipulated variable
"*.mdb" file created when compilation is executed with the programming tool
Assignment information
This file stores assignment information of variables for storing such as tag data and
database
device information of the CPU module.
A-9 A-9
1 OVERVIEW
MELSOFT
1 OVERVIEW
1 1.1 Overview
Using the interaction function of the PX Developer monitor tool and InTouch (SCADA
software manufactured by Invensys Systems, Inc.) enables a monitor tool to utilize
characteristics of InTouch, friendly and great development/monitor environments,
adding to the basic monitor function of itself.
This function supports the following four interaction functions.
1.2 Features
This section explains the main features of the four interaction functions.
(1) Using the faceplate control shortens development time taken for
the monitor screen
InTouch
PX Developer WindowViewer
monitor tool
Reading/writing
the process
control tag data
1-1 1-1
1 OVERVIEW
MELSOFT
PX Developer InTouch
monitor tool WindowViewer
*1: When reading/writing device data except the process control tag with InTouch, a
communication driver such as I/O server is required.
1-2 1-2
1 OVERVIEW
MELSOFT
(3) The process control tag name can be selected easily from InTouch
When using the communication function with the aforementioned process control
tag name, using the tag name reference function permits easily
browsing/selecting the process control tag name of PX Developer on Tag
Browser of InTouch.
This helps to reduce work for key input and typing errors, resulting in
improvement in work efficiency.
Registration
Compilation
InTouch
Tag Browser
1-3 1-3
1 OVERVIEW
MELSOFT
Acknowledgement
Management on alarms/events Management on alarms/events
1-4 1-4
2 SYSTEM CONFIGURATION
MELSOFT
2 SYSTEM CONFIGURATION
This section explains system configuration when using the interaction function of PX
Developer and InTouch.
2 For communication routes supported by PX Developer, refer to "SYSTEM
CONFIGURATION" in "PX Developer Operating Manual (Monitor Tool) ".
To use the interaction function, install PX Developer and InTouch to the same personal
computer. If installed to different personal computers, the interaction function cannot
be used.
*1: When reading/writing device data except the process control tag with InTouch, a
communication driver such as I/O server is required.
2-1 2-1
2 SYSTEM CONFIGURATION
MELSOFT
This section explains software configuration when using the interaction function of PX
Developer and InTouch.
PX Developer InTouch
Assignment information
2
WindowMaker
database Reference
Compilation
Tag name reference function
Programming tool
*1: InTouch reads/writes the process control tag data in the monitor tool through DDE
interface.
*2: The alarm provider is an alarm function supplied by Invensys Systems, Inc.
This function enables the monitor tool to notify/acknowlede alarms and events to
the alarm manager of InTouch, and to receive a request for acknowledging
corresponding alarm from InTouch Alarm Viewer control.
*3: The alarm manager is an application that manages information on alarms and
events to the alarm system of InTouch.
PX Developer Version 1.18U or later and InTouch Version 10.0 or later are required for
interacting themselves.
For operating environment of PX Developer, refer to "Operating Environment" in "PX
Developer Operating Manual (Monitor Tool) ".
For operating environment of InTouch, refer to "ReadMe" in InTouch installer.
POINT
To execute InTouch in Windows Vista , disable the user account control (UAC) in
R
Windows Vista . R
2-2 2-2
3 BASIC OPERATION
MELSOFT
3 BASIC OPERATION
3
Developing the monitor screen of InTouch WindowMaker
To develop the monitor screen, use the faceplate control of PX Developer.
(Refer to Section 3.3.)
POINT
• To monitor on InTouch WindowViewer using the faceplate control or alarm
consolidation function, or by communications with the process control tag name,
execute InTouch WindowViewer after starting the monitor tool.
• For basic operations of InTouch, refer to the manual of InTouch.
3-1 3-1
3 BASIC OPERATION
MELSOFT
3.2 Operation to Communicate with InTouch using the Process Control Tag Name of PX
Developer
PURPOSE
To register a tag variable using the process control tag name defined with PX
Developer and read/write the process control tag data in the monitor tool with
InTouch.
OPERATION
1. Click [Special] [Access Names…] in the menu
of WindowMaker.
2. The Access Names dialog box appears. Click the
"Add…" button.
3-3 3-3
3 BASIC OPERATION
MELSOFT
OPERATION
1. The Animation Links dialog box shown on the
left appears after creating an object, double-
clicking or right-clicking the object and
selecting [Animation Links] on WindowMaker.
Select a tag variable type to be assigned for
the object.
3-4 3-4
3 BASIC OPERATION
MELSOFT
3-5 3-5
3 BASIC OPERATION
MELSOFT
POINT
• When registering a tag variable using the process control tag declared with the
same process control tag name with multiple projects with InTouch, the process
*1
control tag data of the highest priority project are read/written. Whether the
same process control tag name has been declared or not can be checked on the
Monitor Target Project Setting screen of the monitor tool.
*1: The more the number at [No.] field on the Monitor Target Project Setting
screen is small, the more the priority of its project becomes high.
Order of priority
3-6 3-6
3 BASIC OPERATION
MELSOFT
DISPLAY/SETTING SCREEN
1)
2)
DISPLAY/SETTING DATA
3-7 3-7
3 BASIC OPERATION
MELSOFT
OPERATION
1. Select a set tag source from a list in [Tag
Source] of the Tag Browser.
3-8 3-8
3 BASIC OPERATION
MELSOFT
POINT
• If changing the tag FB information of PX Developer project and recompile it after
selecting a tag source and opening the list on the Tag Browser of InTouch
WindowMaker, the information is not reflected to the screen. To refer the latest
tag FB, select a tag source again.
• If the tag FB variable name has been set except alphanumeric characters or
underscore (_), InTouch cannot recognize the name. (The corresponding tag is
not displayed in the tag list of the Tag Browser.)
3-9 3-9
3 BASIC OPERATION
MELSOFT
PURPOSE
To use the faceplate control of PX Developer when developing the process
control monitor screen on InTouch for shortening development time.
Procedure 2) Check that the installation is successful on the wizard menu. (Section 3.3.2)
Procedure 3) Paste a faceplate control and make setting for it. (Section 3.3.3)
3 - 10 3 - 10
3 BASIC OPERATION
MELSOFT
OPERATION
1. Select [Special] [Configure]
[Wizard/ActiveX Installation...] on the
WindowMaker menu.
2. The Wizard/ActiveX Installation dialog box
appears. Click the <<ActiveX Control
Installation>> tab.
3. Select "FBDQFP Control" and "FBDQTDA
Control" from the list in [Available ActiveX
controls] and click the "Install" button.
3 - 11 3 - 11
3 BASIC OPERATION
MELSOFT
OPERATION
1. Click the "Wizard" button ( ) of
WindowMaker.
2. The Wizard Selection dialog box appears.
Check that "FBDQTDACtrl" and
"FBDQFPCtrl" icons have been added to
the list in [ActiveX Controls].
POINT
• "FBDQFPCtrl" can be pasted on the InTouch screen directly using the faceplate
control.
• "FBDQTDACtrl" can read/write the process control tag data set to the tag data
access control. Also, clicking the button can display the pop-up faceplate screen.
For details of each control, refer to "ActiveX control" of "PX Developer Operating
Manual (Monitor Tool)".
3 - 12 3 - 12
3 BASIC OPERATION
MELSOFT
OPERATION
1. Select "FBDQTDACtrl" or "FBDQFPCtrl"
from the list in [ActiveX Controls] of the
Wizard Selection dialog box and click
the "OK" button.
Display name
(any given name)
Check.
POINT
If InTouch application is edited, overwritten, and saved after PX Developer is
uninstalled, take care that contents of the faceplate control and tag data access
control originally set (such as a tag name) are deleted when PX Developer is
reinstalled.
3 - 14 3 - 14
3 BASIC OPERATION
MELSOFT
3.4 Operation to Display the Alarm Information of PX Developer on Alarm Viewer control of
InTouch
PURPOSE
To display alarms and event information of the monitor tool on the Alarm Viewer
control of InTouch and to monitor/acknowledge them in the same list with
alarms/event information of InTouch.
OVERVIEW OF ALARM
[Summary alarms and historical alarms of InTouch]
<Summary alarms>
The summary alarms are an alarm list where records of current alarms and
unacknowledged alarms are displayed. On the summary alarms, alarms can be
acknowledged with a comment.
<Historical alarms>
The historical alarms are an alarm list where records of
occurred/recovered/acknowledged alarms and occurred events. On the historical
alarms, alarm acknowledgement operations are unavailable.
Procedure 2) Set the Alarm Query of the Alarm Viewer control. (Section 3.4.2)
3 - 15 3 - 15
3 BASIC OPERATION
MELSOFT
POINT
• Alarms and events can be stored to the historical alarm buffer of InTouch,
secured for PX Developer, up to 6,000 and 2,000, respectively. When capacity of
the historical alarm buffer is full, stored alarm/event information is deleted from
the oldest to store the latest information.
• Alarm Viewer control of InTouch displays only alarms/event information of PX
Developer occurred while the monitor tool is in execution. Therefore, histories of
alarms/events occurred before starting the monitor tool is not reflected to the
alarms on InTouch.
• After exiting the monitor tool, the alarm/event information on PX Developer
displayed on the Alarm Viewer control of InTouch are all deleted from the
summary alarms and historical alarms. To display the alarm information on
*1
InTouch even after exiting the monitor tool, logging alarms with AlarmPrinter or
*1
accumulating the database with Alarm DB Logger Manager beforehand is
necessary.
*1: For details, refer to the manual of InTouch.
3 - 16 3 - 16
3 BASIC OPERATION
MELSOFT
[Operation from the monitor tool that interlocks with the alarms of
InTouch]
• Executing "Delete Recovered Alarms" deletes the corresponding alarms of
InTouch.
• Executing "Confirm All" checks all corresponding alarms of InTouch.
• Checking "Confirm" check box checks corresponding alarm of InTouch.
• Deselecting "Confirm" check box of ongoing alarm ingenerates corresponding
alarm of InTouch.
• When alarms exceed 2,000 in the Alarm List screen of the monitor tool, old
alarm is deleted. If corresponding alarm of InTouch exists in the summary
alarms, the alarm is also deleted.
POINT
For correspondence table of the alarm items notified by the monitor tool to InTouch,
refer to Appendix 3.1.
InTouch receives event notification from the monitor tool and displays it.
3 - 17 3 - 17
3 BASIC OPERATION
MELSOFT
POINT
• For correspondence table of the event items notified by the monitor tool to
InTouch, refer to Appendix 3.2.
• Acknowledgement operation can be made from the Event List screen of the
monitor tool to an event on the message tag. However, whether an event on the
message tag is acknowledged or not is not displayed on the historical alarms of
InTouch.
3 - 18 3 - 18
3 BASIC OPERATION
MELSOFT
OPERATION
1. Click the "Wizard" button ( ) of
WindowMaker.
2. The Wizard Selection dialog box
appears. Select "AlarmViewerCtrl" from
the list in [ActiveX Controls] and click
the "OK" button.
3 - 19 3 - 19
3 BASIC OPERATION
MELSOFT
OPERATION
1. Double-click the Alarm Viewer control to
display the property screen.
2. Double-click the <<Query>> tab, input a
space after "\intouch!$system", and
input "\PXAlarm!$System" to interact the
alarm information or
"\PXEvent!$System" to interact the
event information at [Alarm Query] field.
Inputting both of them allows
alarm/event information to be
consolidated. However, the event
information is stored only to the
historical alarms.
POINT
• To register multiple alarm query items, separate each item with a space.
• The alarm query is not case-sensitive.
• By setting alarm query in the same way at "Distributed Alarm", included in
WindowMaker wizard, the alarm consolidation function can be used. For details,
refer to the manual of InTouch.
3 - 20 3 - 20
4 TROUBLESHOOTING
MELSOFT
4 TROUBLESHOOTING
4-1 4-1
4 TROUBLESHOOTING
MELSOFT
While WindowViewer is in
execution, alarms of the 4
monitor tool are not displayed Section 3.4
on the Alarm Viewer control of
InTouch.
4-2 4-2
4 TROUBLESHOOTING
MELSOFT
MEMO
4-3 4-3
APPENDICES
MELSOFT
APPENDICES
Appendix 1 Details of Dot Field Name in the Tag Name Reference Function
For lists of the tag items of the process control tag that can be specified on the Tag
Browser (tag item that can be specified on the Dot Field when the process control tag
is selected), refer to "List of Various Tag Type/Tag Data" in "PX Developer
Programming Manual".
The following table shows the data types and icons in InTouch corresponding to the
data types of each tag item in PX Developer.
BOOL Discrete
REAL Real
Tag FB -
App
Appendix 2 Main Tag Items
Main tag items of each process control tag displayed on the Tag Browser is the tag
items whose current values are to be corrected.
The following table shows the tag items whose current values are to be corrected.
Tag FB name Current value correction tag Tag FB name Current value correction tag
PID, 2PID, PIDP, PV Process value PV Process value
MWM
SPI, IPD, BPI, R, MV Manipulated variable MV Manipulated variable
ONF2, ONF3 SV Set value PV Process value
PV Process value SEL MV Manipulated variable
MV Manipulated variable SLNO Selection No.
2PIDH
SVC Set value (current) PV Process value
SV Set value (target) SV1 Set value 1
BC
MV Manipulated variable SV2 Set value 2
PGS SV Set value SV Set value
TYP Operation type PSUM PV Process value
SV Set value NREV, REV,
DIM Monitor input buffer
STC Executing step No. MVAL1, MVAL2
T Time in the step TIMER1, PV Process value
PGS2
PV Process value TIMER2, PSV Set value
TYP Operation type COUNT1, SV Set value
SV0C Start point (current) COUNT2 DIM Monitor input buffer
MOUT MV Manipulated variable No corresponding current value
ALM, MSG
MONI PV Process value correction tags.
App - 1 App - 1
APPENDICES
MELSOFT
The following shows the correspondence table of the alarm items notified by the
monitor tool to InTouch.
In the alarm screen of InTouch, a display name, item, and display format can be
selected in the Properties of the Alarm Viewer control.
For details, refer to the manual of InTouch.
*1: For summary alarms, occurrence date is displayed during alarm and recovered date is displayed after an alarm is
recovered. For historical alarms, occurrence and recovery are displayed on another record.
*2: The alarm level of InTouch is expressed by priority from 1 to 999. The more the number is close to 1, the more priority
becomes high.
*3: If there is no tag comment, the format will be "Tag.Alarm contents".
App - 2 App - 2
APPENDICES
MELSOFT
The following shows the correspondence table of the event items notified by the
monitor tool to InTouch.
In the alarm screen of InTouch, a display name, item, and display format can be
selected in the Properties of the Alarm Viewer control.
For details, refer to the manual of InTouch.
*1: If there is no event message, the format will be "Tag Tag comment".
*2: "OPR" is displayed when the setting has been changed by user, and "SYS" is displayed when the status has changed.
App - 3 App - 3
INDEX
Index - 1 Index - 1
[T]
Tag................................................................... A-9
Tag data........................................................... A-9
Tag data item................................................... A-9 Ind
Tag FB ............................................................. A-9
Tag name reference function of PX Developer
..................................................................... 1-1, 3
TROUBLESHOOTING.................................... 4-1
Troubleshooting on incorporating a faceplate
control .............................................................. 4-1
Troubleshooting on the alarm consolidation
function ............................................................ 4-2
Troubleshooting on the communication function
with the process control tag name.................. 4-1
[W]
WindowMaker.................................................. A-9
WindowViewer................................................. A-9
Index - 2 Index - 2
Windows is a registered trademark of Microsoft Corporation in the United States and other countries.
Wonderware, InTouch, WindowMaker, and WindowViewer are trademarks of Invensys plc, its subsidiaries,
and affiliates.
Other company names and product names used in this document are trademarks or registered trademarks of
their respective owners.
SH(NA)-080773ENG-B