Mitsubishi Electric PX Developer Version 1 Owner's manual

  • Hello! I am an AI chatbot trained to assist you with the Mitsubishi Electric PX Developer Version 1 Owner's manual. I’ve already reviewed the document and can help you find the information you need or explain it in simple terms. Just ask your questions, and providing more details will help me assist you more effectively!
PX Developer Version 1
Operating Manual
(Programming Tool)
-SW1D5C-FBDQ-E
A-1 A-1
SAFETY PRECAUTIONS
(Always read these instructions before using this product.)
Before using this product, thoroughly read this manual and the relevant manuals introduced in this manual
and pay careful attention to safety and handle the products properly.
The precautions given in this manual are concerned with this product only. For the safety precautions for the
programmable controller system, refer to the user's manual for the module used and MELSEC iQ-R Module
Configuration Manual.
The precautions given in this manual are concerned with this product. For the safety precautions of the
programmable controller system, refer to the User’s Manual for the CPU module.
In this manual, the safety precautions are ranked as " !WARNING" and " !CAUTION".
! WARNING
CAUTION
!
Indicates that incorrect handling may cause hazardous conditions,
resultin
g
in death or severe in
j
ur
y
.
Indicates that incorrect handling may cause hazardous conditions,
resulting in minor or moderate injury or property damage.
Note that the ! CAUTION level may lead to serious consequences according to the circumstances. Always
follow the precautions of both levels because they are important for personal safety.
Please save this manual to make it accessible when required and always forward it to the end user.
[Security Precautions]
WARNING
ï‚· To maintain the security (confidentiality, integrity, and availability) of the programmable controller and the
system against unauthorized access, denial-of-service (DoS) attacks, computer viruses, and other
cyberattacks from external devices via the network, take appropriate measures such as firewalls, virtual
private networks (VPNs), and antivirus solutions.
[Startup/Maintenance Precautions]
CAUTION
ï‚· The online operations have to be executed after the manual has been carefully read and the safety has
been ensured.
Failure to do so may cause a miss operation which results in machine damage or an accident.
A-2 A-2
CONDITIONS OF USE FOR THE PRODUCT
(1) MELSEC programmable controller ("the PRODUCT") shall be used in conditions;
i) where any problem, fault or failure occurring in the PRODUCT, if any, shall not lead to any major or
serious accident; and
ii) where the backup and fail-safe function are systematically or automatically provided outside of the
PRODUCT for the case of any problem, fault or failure occurring in the PRODUCT.
(2) The PRODUCT has been designed and manufactured for the purpose of being used in general
industries.
MITSUBISHI ELECTRIC SHALL HAVE NO RESPONSIBILITY OR LIABILITY (INCLUDING, BUT
NOT LIMITED TO ANY AND ALL RESPONSIBILITY OR LIABILITY BASED ON CONTRACT,
WARRANTY, TORT, PRODUCT LIABILITY) FOR ANY INJURY OR DEATH TO PERSONS OR
LOSS OR DAMAGE TO PROPERTY CAUSED BY the PRODUCT THAT ARE OPERATED OR
USED IN APPLICATION NOT INTENDED OR EXCLUDED BY INSTRUCTIONS, PRECAUTIONS,
OR WARNING CONTAINED IN MITSUBISHI ELECTRIC USER'S, INSTRUCTION AND/OR
SAFETY MANUALS, TECHNICAL BULLETINS AND GUIDELINES FOR the PRODUCT.
("Prohibited Application")
Prohibited Applications include, but not limited to, the use of the PRODUCT in;
ï‚Ÿ Nuclear Power Plants and any other power plants operated by Power companies, and/or any other
cases in which the public could be affected if any problem or fault occurs in the PRODUCT.
ï‚Ÿ Railway companies or Public service purposes, and/or any other cases in which establishment of a
special quality assurance system is required by the Purchaser or End User.
ï‚Ÿ Aircraft or Aerospace, Medical applications, Train equipment, transport equipment such as Elevator
and Escalator, Incineration and Fuel devices, Vehicles, Manned transportation, Equipment for
Recreation and Amusement, and Safety devices, handling of Nuclear or Hazardous Materials or
Chemicals, Mining and Drilling, and/or other applications where there is a significant risk of injury to
the public or property.
Notwithstanding the above, restrictions Mitsubishi Electric may in its sole discretion, authorize use of
the PRODUCT in one or more of the Prohibited Applications, provided that the usage of the
PRODUCT is limited only for the specific applications agreed to by Mitsubishi Electric and provided
further that no special quality assurance or fail-safe, redundant or other safety features which exceed
the general specifications of the PRODUCTs are required. For details, please contact the Mitsubishi
Electric representative in your region.
(3) Mitsubishi Electric shall have no responsibility or liability for any problems involving programmable
controller trouble and system trouble caused by DoS attacks, unauthorized access, computer viruses,
and other cyberattacks.
A-3 A-3
REVISIONS
*The manual number is given on the bottom left of the back cover.
Print date *Manual number Revision
Dec., 2002 SH (NA)-080369E-A First edition
Apr., 2003 SH (NA)-080369E-B Correction
Section 6.14, Section 7.12.1
Oct., 2003 SH (NA)-080369E-C Addition
Section 5.6.8, Section 5.7.7, Section 6.9.2, Section 7.7.3, Section 7.14.3,
Chapter 10, Section 13.2.3, Section 15.5.7, Appendix 3.2
Correction
Section 1.2, Section 2.1.3, Section 2.1.4, Section 2.2, Section 3.1, Section 3.2,
Section 3.3, Section 5.1, Section 5.5, Section 5.6.3, Section 5.7.1, Section 6.9,
Section 6.14, Section 7.2.4, Section 7.3.1, Section 7.5.1, Section 7.7,
Section 7.7.2, Section 7.10.1, Section 7.10.2, Section 7.12.1, Section 7.14.1,
Section 7.14.2, Section 8.2.2, Section 8.3, Chapter 13, Section 15.3, Appendix 3
Section 6.9 changed to Section 6.9.1
Section 7.7.2 and Section 7.7.3 integrated
Chapter 10 to 14 changed to Chapter 11 to 15
Jun., 2004 SH (NA)-080369E-D Model Addition
Q12PRHCPU, Q25PRHCPU
Addition
Section 11.5
Correction
GENERIC TERMS, ABBREVIATIONS, AND TERMS, Section 1.1 to 1.2,
Section 2.1 to 2.2, Section 4.1, Section 5.3, Section 5.5, Section 5.7.4 to 5.7.5,
Section 5.8.1, Section 5.10, Section 6.2 to 6.3, Section 6.12, Section 6.14,
Section 7.4.3, Section 7.5.4, Section 7.6.1, Section 7.6.3,
Section 7.14.1 to 7.14.2, Section 8.2.2, Section 8.3, Section 10.1.4 to 10.1.5,
Section 11.2 to 11.4, Section 11.6 to 11.7, Section 12.1 to 12.3, Section 13.3,
Section 13.8, Section 14.1, Section 15.5, Appendix 2 to 3
Feb., 2005 SH (NA)-080369E-E
Addition
Section 10.2, Section 12.1, Section 12.2, Section 12.4.1, Section 12.4.2,
Section 12.4.3, Section 12.5, Section 12.6, Section 13.6.1, Appendix 4
Correction
Section 2.2, Section 3.2, Section 3.3, Section 5.3, Section 5.5, Section 5.6,
Section 5.7.4, Section 7.5.1, Section 7.5.4, Section 7.5.5, Section 10.2.1,
Section 10.2.2, Section 11.4, Section 11.7, Section 13.1, Section 13.2.1,
Section 13.3, Section 13.6, Appendix 3,
Section 12.1 changed to Section 12.3
Section 12.2 changed to Section 12.4
Section 12.3 changed to Section 12.7
Section 13.6 changed to Section 13.6.2
A-4 A-4
*The manual number is given on the bottom left of the back cover.
Print date *Manual number Revision
Feb., 2006 SH (NA)-080369E-F
Addition
Section 6.15, Section 10.2.3
Correction
Section 1.1, Section 2.1.2, Section 2.1.3, Section 2.1.4, Section 2.2, Section 3.2,
Section 3.3, Section 5.5, Section 5.7.2, Section 6.3, Section 6.8, Section 6.15.1,
Section 7.1, Section 7.5.1, Section 7.6.1, Section 8.4.3, Section 9.1,
Section 10.1.6, Section 10.2.1, Section 10.2.2, Section 12.3, Section 13.5,
Section 13.6, Section 13.8, Appendix 2, Appendix 3, Appendix 4
Mar., 2007 SH(NA)-080369E-G Addition
Section 8.2.3
Correction
GENERIC TERMS, ABBREVIATIONS, AND TERMS, Section 2.1.2,
Section 2.1.3, Section 2.1.4, Section 2.2, Section 3.2, Section 3.3, Section 5.1,
Section 5.5, Section 5.6.2, Section 5.7.4, Section 5.8.1, Section 6.14,
Section 6.15.7, Section 7.3.1, Section 7.4.1, Section 7.5.1, Section 7.6.1,
Section 7.7.1, Section 7.8.1, Section 7.12.3, Section 8.3, Section 11.4,
Section 12.3, Section 12.4.2, Section 12.4.3, Section 13.8.1, Chapter 15,
Section 15.5.3, Appendix 2, Appendix 3, Appendix 4.1, Appendix 4.2, INDEX
Section 10.2.1 to 10.2.3 are summarized in Section 10.2.
Jun., 2008 SH(NA)-080369E-H Model Addition
Q02PHCPU, Q06PHCPU
Correction
MANUALS, GENERIC TERMS, ABBREVIATIONS, AND TERMS, Section 1.1,
Section 2.1.1, Section 2.1.2, Section 2.1.4, Section 2.2, Section 5.1, Section 5.3,
Section 5.10, Section 6.2, Section 6.14, Section 6.16, Section 7.12.2, Section 8.3,
Section 8.4.2, Section 11.7, Section 12.1, Section 12.3, Section 12.4.3,
Section 12.5.2, Section 13.5, Section 13.8.1, Section 15.5.2, Appendix 3,
Appendix 4.1
Jan., 2009 SH(NA)-080369E-I Addition
Appendix 5
Correction
Section 1.1, Section 2.2, Section 5.1, Section 5.7.2, Section 6.2, Section 6.14,
Section 8.3, Section 8.4.2, Section 8.4.3, Section 11.4, Section 11.6.2,
Section 12.1, Section 12.2, Section 12.4, Section 12.4.2, Section 12.4.3,
Section 12.5.1, Section 12.5.2, Section 13.6.1, Section 15.5.1 to 15.5.3,
Appendix 2, Appendix 3, Appendix 4.1, Appendix 4.2
A-5 A-5
*The manual number is given on the bottom left of the back cover.
Print date *Manual number Revision
Dec., 2009 SH (NA)-080369E-J Addition
CONDITIONS OF USE FOR THE PRODUCT, Section 7.5.6, Section 8.3.3,
Appendix 4.3, Appendix 4.7
Correction
SAFETY PRECAUTIONS, Section 3.3, Section 5.1, Section 5.5, Section 5.7.3,
Section 5.7.4, Section 5.11, Section 6.14, Section 7.2.1, Section 7.5.1,
Section 7.10.1 to 7.10.3, Section 8.3, Section 8.4.3, Section 10.1.3,
Section 10.1.4, Section 13.5, Section 15.5.2, Section 15.5.5, Appendix 2,
Appendix 3, Appendix 4.1, Appendix 4.2
Section 5.11 to 5.11.1 are summarized in Section 5.11
Appendix 4.3 to 4.5 changed to Appendix 4.4 to 4.6
Dec., 2010 SH (NA)-080369E-K Addition
Section 5.6.9, Section 5.7.8, Section 7.7 to 7.7.5, Chapter 15
Correction
MANUALS, MANUAL ORGANIZATION, GENERIC TERMS, ABBREVIATIONS,
AND TERMS, Section 1.2, Section 2.1.4, Section 2.2, Section 3.1 to 3.3,
Section 5.1, Section 5.3, Section 5.5, Section 5.6.1, Section 5.6.6, Section 5.6.8,
Section 5.7, Section 5.7.1, Section 5.7.3, Section 5.7.4, Section 5.10, Chapter 7,
Section 7.2.1, Section 7.3.1, Section 7.3.3 to 7.3.5, Section 7.5.1, Section 7.5.3,
Section 7.6, Section 7.6.1, Section 7.6.3, Section 7.11.1, Section 7.11.2,
Section 7.12.2, Section 7.15.2, Section 8.2.2, Section 8.4.3, Section 8.4.4,
Section 10.1.3 to 10.1.5, Section 11.4, Section 11.7, Section 12.4.1,
Section 12.4.2, Section 12.5.2, Section 13.2.1, Section 13.6.2, Section 16.5.5,
Appendix 1, Appendix 2, Appendix 3, Appendix 4.1 to 4.3
Section 7.7 to 7.14.3 changed to Section 7.8 to 7.15.3
Chapter 15 changed to Chapter 16
Oct., 2011 SH (NA)-080369E-L Addition
Section 7.2.1, Section 7.2.3, Section 7.3.6, Section 15.2 to 15.2.5
Correction
HOW TO USE THIS MANUAL, Section 1.2, Section 2.2, Section 3.2, Section 3.3,
Section 5.1, Section 5.3, Section 5.5, Section 5.6.9, Section 5.7.3, Section 5.7.4,
Section 6.14, Section 6.15.7, Section 6.15.8, Section 7.2.2, Section 7.2.6,
Section 7.3.1 to Section 7.3.3, Section 7.4.1, Section 7.4.3, Section 7.5.1,
Section 7.5.3, Section 7.6.1, Section 7.7.1, Section 7.7.3, Section 7.8.1,
Section 7.9.1, Section 7.9.3, Section 7.11.3, Section 7.11.4, Section 8.4.3,
Section 13.1.3, Section 13.6, Section 15.1.1, Section 15.1.2, Appendix 2,
Appendix 3, Appendix 4.1, Appendix 4.2
Section 7.2.1 changed to Section 7.2.2
Section 7.2.2 to 7.2.5 changed to Section 7.2.4 to 7.2.7
A-6 A-6
*The manual number is given on the bottom left of the back cover.
Print date *Manual number Revision
Feb., 2014 SH (NA)-080369E-M
Addition
Section 6.3.1, Section 6.17, Appendix 4.8
Correction
MANUAL ORGANIZATION, GENERIC TERMS, ABBREVIATIONS, AND
TERMS, Section 1.1, Section 1.2, Section 2.1.2 to 2.2, Section 3.2, Section 3.3,
Section 4.1, Section 5.3, Section 5.5, Section 5.6.5, Section 5.6.9, Section 5.7.2,
Section 5.7.4, Section 5.10, Section 5.11, Section 6.1 to 6.3, Section 6.13,
Section 6.14, Section 6.15.4, Section 6.15.8, Section 6.16, Section 7.10.6,
Section 7.11.3, Section 7.13.2, Section 7.13.3, Section 7.15.1 to 7.15.3,
Section 8.2.2, Section 8.3, Section 8.4.2, Section 8.4.3, Section 8.5 to 8.5.2,
Section 10.1.4, Section 10.1.5, Section 11.2 to 11.5, Section 11.6.2 to 11.7,
Section 12.1 to 12.4.3, Section 12.5.1 to 12.6, Section 12.7.1 to 12.7.3,
Section 13.2.1, Section 13.7, Section 13.8.1, Section 13.8.2, Section 14.1
Section 15.1 to 15.2.1, Section 15.2.3, Section 15.2.4, Section 16.2, Section 16.3,
Section 16.5.1, Section 16.5.3, Section 16.5.5, Appendix 3 to 4.2,
Appendix 4.4 to 4.6, Appendix 5
Jul., 2015 SH (NA)-080369E-N Correction
GENERIC TERMS, ABBREVIATIONS, AND TERMS, Section 2.1.4, Section 2.2,
Section 4.1, Section 7.4.3, Appendix 3, Appendix 5
Jan., 2017 SH (NA)-080369E-O Correction
GENERIC TERMS, ABBREVIATIONS, AND TERMS, Section 2.1.4,
Section 2.2, Section 4.1, Appendix 3
Apr., 2018 SH (NA)-080369E-P Correction
GENERIC TERMS, ABBREVIATIONS, AND TERMS, Section 1.2, Section 2.1.1,
Section 2.1.2, Section 2.1.4, Section 2.2, Section 2.2.1, Section 2.2.2, Appendix 3
Oct., 2018 SH (NA)-080369E-Q
Correction
Section 2.2.2
Apr., 2019 SH (NA)-080369E-R Model Addition
Q04UDPVCPU, Q06UDPVCPU, Q13UDPVCPU, Q26UDPVCPU
Addition
Appendix 4.9
Correction
GENERIC TERMS, ABBREVIATIONS, AND TERMS, Section 1.1,
Section 2.1.1, Section 2.1.2, Section 2.1.4, Section 2.2.2, Section 5.10,
Section 6.2, Section 6.3, Section 6.14, Section 6.16, Section 7.3.3,
Section 7.13.2, Section 7.15.1, Section 7.15.2, Section 8.2.2, Section 11.2,
Section 11.4, Section 11.7, Section 12.3, Section 12.4.1 to Section 12.4.3,
Section 15.1.1, Appendix 3
A-7 A-7
*The manual number is given on the bottom left of the back cover.
Print date *Manual number Revision
Apr., 2020 SH (NA)-080369E-S
Correction
Section 2.2, Section 2.2.1, Section 2.2.2
Apr., 2021 SH (NA)-080369E-T
Correction
SAFETY PRECAUTIONS, CONDITIONS OF USE FOR THE PRODUCT,
Section 2.2
Oct., 2021 SH (NA)-080369E-U Correction
Section 2.2.1, Section 4.1
Japanese manual version SH-080259-AN
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 that may occur as a result of using the contents noted in this manual.
 2002 MITSUBISHI ELECTRIC CORPORATION
A-8 A-8
INTRODUCTION
Thank you for purchasing the engineering software, MELSOFT series.
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
CONDITIONS OF USE FOR THE PRODUCT ............................................................................................... A-2
REVISIONS ...................................................................................................................................................... A-3
INTRODUCTION .............................................................................................................................................. A-8
CONTENTS ...................................................................................................................................................... A-8
MANUALS ...................................................................................................................................................... A-15
HOW TO USE THIS MANUAL ...................................................................................................................... A-16
MANUAL ORGANIZATION ........................................................................................................................... A-18
GENERIC TERMS, ABBREVIATIONS, AND TERMS ................................................................................. A-21
1 OVERVIEW .............................................................................................................................................. 1-1
1.1 Overview ............................................................................................................................................... 1-1
1.2 Features ............................................................................................................................................... 1-2
2 SYSTEM CONFIGURATION ................................................................................................................... 2-1
2.1 System Configuration ........................................................................................................................... 2-1
2.1.1 Supported CPU ............................................................................................................................ 2-1
2.1.2 Communication route ................................................................................................................... 2-2
2.1.3 Serial/USB connection ............................................................................................................... 2-12
2.1.4 Network board ............................................................................................................................ 2-13
2.2 Operating Environment ...................................................................................................................... 2-15
2.2.1 Instructions for operating system ............................................................................................... 2-16
2.2.2 Required software package ....................................................................................................... 2-18
3 FUNCTION OVERVIEW .......................................................................................................................... 3-1
3.1 Function Overview ............................................................................................................................... 3-1
3.2 Function List ......................................................................................................................................... 3-2
3.3 Menu List .............................................................................................................................................. 3-4
4 START AND EXIT .................................................................................................................................... 4-1
4.1 Starting Programming Tool .................................................................................................................. 4-1
4.2 Exiting Programming Tool ................................................................................................................... 4-4
5 SCREEN CONFIGURATION AND BASIC OPERATIONS .................................................................... 5-1
5.1 Overview of Screen Configuration ....................................................................................................... 5-1
5.2 Title Bar ................................................................................................................................................ 5-4
5.3 Status Bar ............................................................................................................................................. 5-5
5.4 Menu ..................................................................................................................................................... 5-7
5.5 Pop-up Menu ........................................................................................................................................ 5-7
A-9 A-9
5.6 Toolbar ............................................................................................................................................... 5-13
5.6.1 Common operation of toolbar .................................................................................................... 5-13
5.6.2 Standard too lbar ......................................................................................................................... 5-16
5.6.3 Online toolbar ............................................................................................................................. 5-16
5.6.4 Project toolbar ............................................................................................................................ 5-17
5.6.5 Zoom toolbar .............................................................................................................................. 5-17
5.6.6 Format toolbar ............................................................................................................................ 5-17
5.6.7 Convert toolbar ........................................................................................................................... 5-18
5.6.8 Window toolbar ........................................................................................................................... 5-18
5.6.9 Debug toolbar ............................................................................................................................. 5-18
5.7 Helper Windows ................................................................................................................................. 5-19
5.7.1 Common operations for helper window ..................................................................................... 5-19
5.7.2 Project window ........................................................................................................................... 5-22
5.7.3 Parts window .............................................................................................................................. 5-25
5.7.4 FB property window ................................................................................................................... 5-28
5.7.5 Output window ............................................................................................................................ 5-33
5.7.6 Bird’s-eye view window .............................................................................................................. 5-34
5.7.7 Cross reference window ............................................................................................................ 5-35
5.7.8 Inline ST editor window .............................................................................................................. 5-36
5.8 Table ................................................................................................................................................... 5-38
5.8.1 General operations of table ....................................................................................................... 5-38
5.9 General Operations of Child Windows .............................................................................................. 5-46
5.10 Help .................................................................................................................................................... 5-48
5.11 Option Setting ..................................................................................................................................... 5-49
6 CREATING A PROJECT ......................................................................................................................... 6-1
6.1 Relation Between PX Developer Project and GX Project .................................................................. 6-1
6.2 Creating a New Project ........................................................................................................................ 6-3
6.3 Opening a Project ................................................................................................................................ 6-6
6.3.1 Changing contained GX Developer project to GX Works2 project and opening it .................... 6-8
6.4 Closing a Project ................................................................................................................................ 6-10
6.5 Saving a Project ................................................................................................................................. 6-11
6.6 Saving a Project with a New Name ................................................................................................... 6-11
6.7 Editing Project Comments ................................................................................................................. 6-12
6.8 Adding New Data to Project ............................................................................................................... 6-13
6.9 Copying Data in Project ..................................................................................................................... 6-16
6.9.1 Copying data in the same project .............................................................................................. 6-16
6.9.2 Copying data to other project ..................................................................................................... 6-19
6.10 Deleting Data in Project ..................................................................................................................... 6-25
6.11 Changing Data Name in Project ........................................................................................................ 6-26
6.12 Editing Data Comments in Project .................................................................................................... 6-27
6.13 Displaying the Data Editing Screen in Project .................................................................................. 6-27
6.14 Setting Project Parameters ................................................................................................................ 6-28
6.15 Data protection in the project ............................................................................................................. 6-37
6.15.1 Setting access level and permissions ....................................................................................... 6-37
6.15.2 Enabling/disabling protection data ............................................................................................. 6-39
6.15.3 Login to the project ..................................................................................................................... 6-40
6.15.4 Set login password ..................................................................................................................... 6-41
6.15.5 Set permissio ns .......................................................................................................................... 6-43
A-10 A-10
6.15.6 Password handling among different versions ........................................................................... 6-45
6.15.7 Function performing data protection .......................................................................................... 6-46
6.15.8 Restrictions on data protection .................................................................................................. 6-48
6.16 Changing the PLC Type .................................................................................................................... 6-49
6.17 Changing GX Works2 Project Type .................................................................................................. 6-51
7 EDITING A PROGRAM/FB DEFINITION ................................................................................................ 7-1
7.1 Program/FB Definition Windows ......................................................................................................... 7-2
7.1.1 Relation between local variable sheet and FBD sheet ............................................................... 7-4
7.2 General Operations of FBD Parts ....................................................................................................... 7-5
7.2.1 Inserting FBD parts ...................................................................................................................... 7-5
7.2.2 Selecting FBD parts ..................................................................................................................... 7-7
7.2.3 Changing name of FBD parts ...................................................................................................... 7-9
7.2.4 Moving FBD parts ...................................................................................................................... 7-10
7.2.5 Changing size of FBD parts ....................................................................................................... 7-11
7.2.6 Cutting/Copying/Pasting/Deleting FBD parts ............................................................................ 7-12
7.2.7 Pasting FBD parts to other applications .................................................................................... 7-16
7.3 Variable Parts ..................................................................................................................................... 7-17
7.3.1 Displaying contents of variable parts ......................................................................................... 7-17
7.3.2 Inserting variable parts ............................................................................................................... 7-19
7.3.3 Definition of new variable ........................................................................................................... 7-20
7.3.4 Definition of variable using reference operator ......................................................................... 7-22
7.3.5 Referring to the existing variables ............................................................................................. 7-23
7.3.6 Changing data type of variable parts ......................................................................................... 7-24
7.4 Constant Parts .................................................................................................................................... 7-25
7.4.1 Displaying contents of constant parts ........................................................................................ 7-25
7.4.2 Inserting constant parts .............................................................................................................. 7-26
7.4.3 Editing value of constant parts ................................................................................................... 7-27
7.5 FB Parts .............................................................................................................................................. 7-28
7.5.1 Displaying contents of FB parts ................................................................................................. 7-28
7.5.2 Inserting FB parts ....................................................................................................................... 7-30
7.5.3 Definition of new FB parts .......................................................................................................... 7-32
7.5.4 Setting FB property .................................................................................................................... 7-33
7.5.5 Referring to definition of FB parts .............................................................................................. 7-34
7.5.6 Updating FBs .............................................................................................................................. 7-35
7.6 Function Parts .................................................................................................................................... 7-36
7.6.1 Displaying contents of function parts ......................................................................................... 7-36
7.6.2 Inserting function parts ............................................................................................................... 7-39
7.6.3 Adding and deleting pins ............................................................................................................ 7-40
7.7 Inline ST Parts .................................................................................................................................... 7-41
7.7.1 Displaying contents of inline ST parts ....................................................................................... 7-42
7.7.2 Inserting inline ST parts ............................................................................................................. 7-43
7.7.3 Definition of inline ST parts ........................................................................................................ 7-44
7.7.4 Setting number of pins of inline ST parts .................................................................................. 7-45
7.7.5 Editing inline ST parts ................................................................................................................ 7-46
7.8 Connector ........................................................................................................................................... 7-47
7.8.1 Displaying contents of connectors ............................................................................................. 7-47
7.8.2 Using "Connector" button to insert a connector ........................................................................ 7-48
7.8.3 Extending from output pin .......................................................................................................... 7-51
A-11 A-11
7.8.4 Adjusting the bending position of connector ............................................................................. 7-54
7.8.5 Changing the connection position ............................................................................................. 7-57
7.9 Comment Parts .................................................................................................................................. 7-58
7.9.1 Displaying contents of comment parts ...................................................................................... 7-58
7.9.2 Inserting comment parts ............................................................................................................ 7-59
7.9.3 Editing text of comment parts .................................................................................................... 7-60
7.10 FBD Sheet .......................................................................................................................................... 7-61
7.10.1 Switching between FBD sheets ................................................................................................. 7-61
7.10.2 Adding an FBD sheet ................................................................................................................. 7-62
7.10.3 Deleting an FBD sheet ............................................................................................................... 7-63
7.10.4 Moving/Copying an FBD sheet .................................................................................................. 7-64
7.10.5 Changing an FBD sheet name .................................................................................................. 7-66
7.10.6 Changing the displaying magnification of FBD sheet ............................................................... 7-67
7.11 Local Variable Sheet .......................................................................................................................... 7-68
7.11.1 Displaying contents of local variable sheet ............................................................................... 7-68
7.11.2 Editing declaration information of local variable sheet .............................................................. 7-70
7.11.3 "Variable Reference" dialog box .................................................................................................. 7-78
7.11.4 "Select Data Type" dialog box ................................................................................................... 7-80
7.12 FBD Sheet Execution Condition Setting ........................................................................................... 7-81
7.12.1 Execution state ........................................................................................................................... 7-81
7.12.2 "FBD Sheet Execution Condition Setting" dialog box ............................................................... 7-82
7.13 Program Execution Setting ................................................................................................................ 7-85
7.13.1 Execution type ............................................................................................................................ 7-85
7.13.2 Program execution timing window ............................................................................................. 7-86
7.13.3 "Program Execution Setting" dialog box ................................................................................... 7-88
7.14 User-defined FB type ......................................................................................................................... 7-91
7.15 Cooperation with Ladder Program .................................................................................................... 7-94
7.15.1 Opening a GX project in the PX Developer project .................................................................. 7-94
7.15.2 Creating a ladder program ......................................................................................................... 7-98
7.15.3 Precautions for ladder programming ....................................................................................... 7-103
8 GLOBAL PARTS ...................................................................................................................................... 8-1
8.1 Relation between Global Parts and Program/FB Type ...................................................................... 8-1
8.2 Global Variable ..................................................................................................................................... 8-3
8.2.1 Global variable declaration window ............................................................................................. 8-3
8.2.2 Declaring/Editing a global variable .............................................................................................. 8-4
8.2.3 Sorting global variable declaration ............................................................................................ 8-11
8.3 Module FB .......................................................................................................................................... 8-12
8.3.1 Module FB declaration window .................................................................................................. 8-14
8.3.2 Declaring/Editing a module FB .................................................................................................. 8-15
8.3.3 Operation constant setting ......................................................................................................... 8-19
8.4 Tag FB ................................................................................................................................................ 8-21
8.4.1 Tag FB declaration window ....................................................................................................... 8-22
8.4.2 Declaring/Editing a tag FB ......................................................................................................... 8-23
8.4.3 Tag data/operation constant setting .......................................................................................... 8-27
8.4.4 User-defined tag FB type ........................................................................................................... 8-30
8.5 Exporting Data to GX Application Global Label ................................................................................ 8-34
8.5.1 GX label assignment window .................................................................................................... 8-35
8.5.2 Assigning/Editing a GX label ..................................................................................................... 8-36
A-12 A-12
9 STRUCTURE ............................................................................................................................................ 9-1
9.1 Structure Type Definition Window ....................................................................................................... 9-1
9.2 Defining/Editing a Structure Type Definition Window ......................................................................... 9-2
9.3 Reference of Structure Type ............................................................................................................... 9-5
10 CONVENIENT FUNCTIONS ................................................................................................................. 10-1
10.1 Cross Reference Function ................................................................................................................. 10-1
10.1.1 Procedure for using the cross reference function ..................................................................... 10-1
10.1.2 Building cross reference information ......................................................................................... 10-2
10.1.3 Cross reference window displaying method ............................................................................. 10-4
10.1.4 Data displayed in cross reference window ................................................................................ 10-5
10.1.5 Operations performed in cross reference window .................................................................. 10-12
10.1.6 Filter display function ............................................................................................................... 10-19
10.2 FB Property Page ............................................................................................................................. 10-22
11 COMPILING FBD PROGRAM ............................................................................................................... 11-1
11.1 Error Check ........................................................................................................................................ 11-1
11.2 Cold-start Compile ............................................................................................................................. 11-2
11.3 Hot-start Compile ............................................................................................................................... 11-6
11.4 Online Change Compile ..................................................................................................................... 11-8
11.5 Data Generated by Compilation ...................................................................................................... 11-13
11.6 Restrictions for Hot-start compile/Online Change Compile ............................................................ 11-15
11.6.1 Restrictions about substitution of variable initial value and variable initialization .................. 11-16
11.6.2 Restrictions for project setting change .................................................................................... 11-19
11.6.3 Other restriction ........................................................................................................................ 11-22
11.7 Error Example in Compile ................................................................................................................ 11-23
12 PLC CONNECTION ............................................................................................................................... 12-1
12.1 Download/Upload ............................................................................................................................... 12-1
12.2 Procedure for restoration and maintenance of Project Data ............................................................ 12-5
12.3 Specifying PLC Transfer Setup ......................................................................................................... 12-7
12.4 Downloading to PLC ........................................................................................................................ 12-11
12.4.1 Downloading the Executable Data .......................................................................................... 12-13
12.4.2 Downloading the Symbolic Data.............................................................................................. 12-15
12.4.3 Download Setting ..................................................................................................................... 12-19
12.5 Uploading form PLC ......................................................................................................................... 12-21
12.5.1 Uploading procedure ................................................................................................................ 12-21
12.5.2 Uploading the Symbolic Data .................................................................................................. 12-22
12.6 Deleting the PLC Data ..................................................................................................................... 12-29
12.7 Checking Project Consistency ......................................................................................................... 12-31
12.7.1 Range of project consistency check ........................................................................................ 12-31
12.7.2 Method of project consistency check ...................................................................................... 12-32
12.7.3 Operations for check failure and unmatched check ............................................................... 12-34
13 ONLINE MONITOR ................................................................................................................................ 13-1
13.1 Starting/Stopping Online Monitor ....................................................................................................... 13-1
A-13 A-13
13.1.1 Starting online monitor ............................................................................................................... 13-2
13.1.2 Stopping online monitor ............................................................................................................. 13-4
13.1.3 Switching from monitor mode to edit mode ............................................................................... 13-5
13.2 Program/FB Monitor ........................................................................................................................... 13-6
13.2.1 FBD sheet monitor ..................................................................................................................... 13-6
13.2.2 Specifying the monitor target FB ............................................................................................. 13-12
13.2.3 Specifying the number of decimal points in monitor value ..................................................... 13-14
13.3 Changing a Current Value ............................................................................................................... 13-16
13.4 Pause/Restart of FB Execution ....................................................................................................... 13-19
13.4.1 Pausing an FB .......................................................................................................................... 13-19
13.4.2 Restarting an FB ...................................................................................................................... 13-21
13.4.3 Displaying a paused FB list ..................................................................................................... 13-22
13.5 Monitoring a Tag FB with Faceplate ................................................................................................ 13-23
13.6 Reading Current Value of FB Property ........................................................................................... 13-25
13.6.1 Reading current value of FB property in a batch .................................................................... 13-27
13.6.2 Reading current value of FB property from specified FB parts .............................................. 13-32
13.7 Monitoring with Entry Variable Monitor Window ............................................................................. 13-33
13.8 Online Operation to Redundant CPU .............................................................................................. 13-36
13.8.1 Route switching in the Redundant CPU system ..................................................................... 13-36
13.8.2 Automatic change of project identification codes in Redundant CPUs .................................. 13-38
14 FBD PROGRAM DIAGNOSTICS .......................................................................................................... 14-1
14.1 FBD Program Diagnostics ................................................................................................................. 14-1
15 SIMULATION FUNCTION ...................................................................................................................... 15-1
15.1 Offline Debugging with Simulator ...................................................................................................... 15-1
15.1.1 Starting Simulator ....................................................................................................................... 15-3
15.1.2 Stopping Simulator ..................................................................................................................... 15-5
15.1.3 Function restricted during the simulation................................................................................... 15-7
15.1.4 Restrictions when debugging programs using Simulator ......................................................... 15-8
15.2 I/O Simulation Function .................................................................................................................... 15-11
15.2.1 Displaying I/O simulation setting window ................................................................................ 15-12
15.2.2 Setting I/O simulation ............................................................................................................... 15-13
15.2.3 Executing I/O simulation .......................................................................................................... 15-22
15.2.4 Stopping I/O simulation ............................................................................................................ 15-23
15.2.5 Restrictions when debugging programs using I/O simulation function .................................. 15-24
16 PRINT ..................................................................................................................................................... 16-1
16.1 Print Setting of Table/FBD Sheet ...................................................................................................... 16-1
16.2 "Print" Dialog Box ............................................................................................................................... 16-4
16.3 Header and Footer Setting ................................................................................................................ 16-6
16.4 Print Preview ...................................................................................................................................... 16-9
16.5 Print Start .......................................................................................................................................... 16-11
16.5.1 Printing project contents list ..................................................................................................... 16-11
16.5.2 Printing project parameters ...................................................................................................... 16-13
16.5.3 Printing global parts/GX label assignment/Tag FB property setting ...................................... 16-15
16.5.4 Printing program execution settings ........................................................................................ 16-19
16.5.5 Printing programs/User-defined FBs ....................................................................................... 16-21
A-14 A-14
16.5.6 Printing structure type .............................................................................................................. 16-24
16.5.7 Printing cross reference ........................................................................................................... 16-25
APPENDIX.......................................................................................................................................................... B-1
Appendix 1 Invalid Character Strings in Variable Name ............................................................................ B-1
Appendix 2 List of Corresponding Tag Type/Tag Access FB .................................................................... B-2
Appendix 3 Functions Added to and Change from Old Version ................................................................ B-3
Appendix 4 Precautions for Differences in Programming Tool Versions ................................................... B-7
Appendix 4.1 Precautions for opening a project ....................................................................................... B-7
Appendix 4.2 Precautions for the assignment information database ....................................................... B-9
Appendix 4.3 Precautions for cross reference ........................................................................................ B-10
Appendix 4.4 Precautions on the addition of compile status (Invalid initial value) ................................. B-11
Appendix 4.5 Precautions on the addition of the consistency check before downloading to PLC or
online change ..................................................................................................................... B-11
Appendix 4.6 Precautions on the compile function improvement ........................................................... B-12
Appendix 4.7 Precautions on the addition of the function to select the view format of the parts
window ............................................................................................................................... B-12
Appendix 4.8 Precautions for Function Parts with EN/ENO Pins ......................................................... B-13
Appendix 4.9 Compatibility of the option setting for a Universal model process CPU project ............. B-14
INDEX ................................................................................................................................................................ C-1
A-15 A-15
MANUALS
The following manuals are also related to this product.
Refer to the following table for ordering a manual.
Related manuals
Manual name Manual number
(model code)
PX Developer Version 1 Operating Manual (Programming Tool)
FBD language programming, compilation, online operations, and debug methods with PX
Developer (this manual) (Sold separately.)
SH-080369E
(13JU38)
PX Developer Version 1 Operating Manual (Monitor Tool)
Operation methods of the monitor tool and methods for monitoring and controlling DDC
processing with tag FB (Sold separately.)
SH-080370E
(13JU39)
PX Developer Version 1 Programming Manual
Details of programming with PX Developer, lists of FB parts, and the PID instructions
(Sold separately.)
SH-080371E
(13JW00)
PX Developer Version 1 Operating Manual (GOT Screen Generator)
Generation procedure for GOT screen project and details about generated screen
(Sold separately.)
SH-080772ENG
(13JU61)
PX Developer Version 1 Operating Manual (InTouch Interaction)
Interaction between PX Developer monitor tool and SCADA software. (InTouch)
(Sold separately.)
SH-080773ENG
(13JU62)
PX Developer Version 1 Operating Manual (JoyWatcherSuite Interaction)
Interaction between PX Developer monitor tool and SCADA software (JoyWatcherSuite)
(Sold separately.)
SH-080976ENG
(13JU70)
CAUTION
Please note that we do not guarantee commercially available software
compatible with Microsoft RWindows ROperating System introduced in this
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-16 A-16
HOW TO USE THIS MANUAL
DISPLAY/SETTING SCREEN
Describes the screen display procedure.
DISPLAY/SETTING DATA
Describes the display contents on the screen.
Reference location
leads to the reference
location.
Describes the operations to set the
intended settings.
Describes the purpose of operations for
each chapter or section.
PURPOSE BASIC OPERATION
A-17 A-17
There are also the following types of explanations.
HELPFUL OPERATIO
N
Explains the practical operation under the condition that the BASIC OPERATION
or DISPLAY/SETTING DATA is not applicable although the purpose is in
conformity.
HELPFUL CORRECTIVE ACTION
S
Explains the processing methods for executing operations abnormally according to
"BASIC OPERATION" or "DISPLAY/SETTING DATA".
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 the menu names in the menu.
[ ] [ ] expresses the drop-down menu.
Example: [Project] [New Project] menu
[Online] [Monitor] [Start Monitor] menu
( )
Expresses the tool buttons of the toolbar corresponding to the drop-down menu.
Examples: [Project] [Save] menu ( )
[Online] [Monitor] [Start Monitor] menu ( )
" " Expresses a command button.
Example: "OK" button
<< >> Expresses dialog box tab.
Example: <<Change Password>> tab
A-18 A-18
MANUAL ORGANIZATION
This manual consists of 16 chapters and appendices.
This manual is organized assuming that PX Developer is used and executed according
to following sequence from DDC processing of CPU module system programming to
running.
<Operating procedures before running the process control system>
Operating procedure 1: Setting and wiring of the process control system Reference
Setting and wiring between PLC (CPU module, network module and I/O module,
etc.) and process-control device as well as other external device setting.*1
QCPU User's Manual (Hardware
Design, Maintenance and
Inspection)
Qn(H)/QnPH/QnPRHCPU User's
Manual (Function Explanation,
Program Fundamentals)
QnUCPU User's Manual
(Function Explanation, Program
Fundamentals)
*1: The parameter settings necessary to use the network module and intelligent function module should be made in
advance using GX application, GX Configurator, etc.
Operating procedure 2: Confirm the basis of programming by FBD language in PX
Developer programming tool. Reference
Confirm the usable FBD parts and their functions in programming tool. PX Developer Version 1
Programming Manual
Operating procedure 3: Install PX Developer. Reference
Confirm the usable system for PX Developer. Chapter 2
Install PX Developer on a personal computer.
Method of installing the PX
Developer
(Included with the product)
(To the next page)
/