文件名称:
三菱 QCPU结构化编程基础手册.pdf
开发工具:
文件大小: 1mb
下载次数: 0
上传时间: 2019-10-14
详细说明:三菱 QCPU结构化编程基础手册pdf,This manual uses the generic terms and abbreviations listed in the following table to discuss the software packages and programmable controller CPUs. Corresponding module models are also listed if needed.● SAFETY PRECAUT|ONS●
(Always read these instructions before using this product.
Before using the MELSEC-Q series programmable controller, thoroughly read the manuals attached to the
products and the relevant manuals introduced in the attached manuals. Also pay careful attention to safety and
handle the products properly
Please keep this manual in a place where it is accessible when required and always forward it to the end user
A-1
REVISIONS
The manual number is written at the bottom left of the back cover
Print date
Manual number
evisIon
Jul, 2008 SH(NA)-080782ENG-A First edition
Japanese manual version SH-080735-B
his 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
c2008 MITSUBISHI ELECTRIC CORPORATION
A-2
INTRODUCTION
Thank you for purchasing the Mitsubishi MELSEC-Q series programmable controller
Before using the product, thoroughly read this manual to develop full familiarity with the programming
specifications to ensure correct use
Please forward this manual to the end user
CoNTENTS
SAFETY PRECAUTIONS
A-1
REVISIONS
∴A-2
INTRODUCTION
…A-3
CONTENTS
A-3
MANUALS
面国
A-5
PURPOSE OF THIS MANUAL
A-6
GENERIC TERMS AND ABBREVIATIONS IN THIS MANUAL
A-8
1. OVERVIEW
1-1to1-4
1.1 Overview
1-2
1.2 Features of Structured Programs
1.3 Applicable CPu modules
1-3
1.4 Compatible Software Package
1-3
2. STRUCTURED DESIGN OF SEQUENCE PROGRAMS
2-1to2-4
2. 1 What is a Hierarchical Sequence Program?
2-2
2.2 What is a Structured Sequence Program?
2-3
3. PROCEDURE FOR CREATING PROGRAMS
3-1to3-2
3. 1 Procedure for Creating Sequence Programs in Structured Project
3-2
4 PROGRAM CONFIGURATION
4-1to4-28
4. 1 Overview of Program Configuration
4.1.1 Project
4.1.2 Program files
4-3
4.1.3 Tasks
111面国面画
4.2 POUs
4-5
4.2.1 T ypes of POU
4-5
4.2.2 Program blocks
4-6
4.2.3 Functions
4-6
4.2.4 Function blocks
1面国面面画
4-7
4.2.5 Networks
4-8
4.2.6 Programming languages for POUs……
4-9
4.2.7 Functions and function blocks
4-10
4.2.8 EN and ENo
4-13
4.3 Labels
4-14
4.3.1 Global labels
国面面
4-14
A-3
43.2 Local labels
.4-14
4.3.3 Label classes
4-15
4.3. 4 Data types
∴4-16
4. 4 Device and Address
4-18
4.4.1 Device
∴4-18
4.4.2 Address
4-19
4.4.3 Correspondence between devices and addresses
4-20
4.5 Arrays
4-23
4.6 Structures
4-25
47 Libraries
4-26
47.1 User libraries
4-27
5. WRITING PROGRAMS
5-1to5-14
5.1 ST Language
5. 1. 1 Standard format
5.1.2 Operators in the ST language
5.1.3 Syntaxes in the ST language
5.1.4 Calling functions in the ST language
5.1.5 Calling function blocks in the ST language
5-10
5.2 Structured Ladder Language
5-11
5.2. 1 Standard format
5-11
5.2.2 Network elements in the structured ladder language
5-12
APPENDIX
App-1 to App
Appendix 1 Character Strings that cannot be Used in Label Names and Data Names
App-2
Appendix 2Recreating Ladder Programs
App-4
Appendix 2. 1 Procedure for creating a structured program
App-4
Appendix 2.2Example of creating a structured program
App-5
INDEX
index-1 to index-2
A-4
MANUALS
Related manuals
The manuals related to this product are shown below
Refer to the following tables when ordering required manuals
(1)Structured programming
Manual name
anual number
(Model code
QCPU Structured Programming Manual (Common Instructions
Explains the specifications and functions of sequence instructions, basic instructions, and application
sH-080783EN
instructions that can be used in structured programs
(13JWo7)
(Sold separately)
QCPU Structured Programming Manual (Application Functions)
Explains the specifications and functions of application functions that can be used in structured
SH-080784ENG
programs
(13JWO8)
Sold separately)
QCPU Structured Programming Manual (Special Instructions)
Explains the specifications and functions of instructions for network modules, intelligent function modules, and
080785EN
PID control functions that can be used in structured programs
(13JWO9)
(Sold separately)
(2)Operation of GX Works2
Manual number
Manual name
(Model code)
GX Works2 Version1 Operating Manual (Common)
Explains the system configuration of GX Works2 and the functions common to a Simple project and
SH-080779ENG
Structured project such as parameter setting, operation method for the online function
(13U63)
(Sold separately)
GX Works2 Version 1 Operating Manual Structured project)
SH-080781ENG
Explains operation methods such as creating and monitoring programs in Structured project of GX
Works2
(Sold separately)
(13JU65)
GX Works2 Beginner's Manual (Structured Project
Explains fundamental operation methods such as creating, editing, and monitoring programs in
SH-080788ENG
Structured project for users inexperienced with GX Works2
(13z23
(Sold separately)
区Po|NT
The operating manual is included in the CD-ROM with the software package. Manuals in printed
form are sold separately. Order a manual by quoting the manual number(model code) listed in
the table above
A-5
PURPOSE OF THIS MANUAL
This manual explains programming methods, programming languages, and other information
necessary for creating structured programs
Manuals for reference are listed in the following table according to their purpose
For information such as the contents and number of each manual, refer to the list of ' related
manuals'
(1)Operation of GX Works2
GX Works2
GX Works 2
Installation
GX Works 2 Version 1
Instructions
Beginner's Manual
Operating Manual
Simple
Structured
simple
Structured
Common
Project
Project
Project
Project
ng the operating
Installation
environment and
Details
installation method
Learning the basic
operations and
Details
erating procedures
Outlin
Outlin
Operation of Simple
Learning the functions
oroject
and operation methods
Details
for programming
Outline
Learning all functions
Ind operation methods
except for
Details
programmIng
Learning the basic
operations and
Details
operating procedures
Outline
Outli
Learning the functions
Structured project faor operation methods
Details
Details
Outlin
Learning all functi
and operation methods
except for
Details
programmIng
A-6
(2) Programming
User's Manual for
intelligent
QCPU(Q mode)QnACPU function module
QCPU Structured Programming Manual
Programming Manual Reference Manual
Purpose
Fundamentals
Common
Special Application Common PID Control
Instructions Instructions Functions InstructionsInstructions
Learning the types
and details of
common
instructions
descriptions of
Details
error codes
special relays, and
special registers
Learning the
and details of
Programming instructions for
intelligent function
Details
in Simple
modules
project
Learning the t
g
and details of
instructions for
Details
network modules
Learning the types
and details of
instructions for the
PID control
Details
Learning the
fundamentals for
creating a
structured
Details
program for the
first time
earning the types
nd details of the
common
instructions
Learning the types
nd details of
nstructions for
ntelligent function
Details
Details
modules
Programming Learning the types
n Structured and details
project
instructions for
Details
Details
network modules
Learning the types
and details of
instructions for the
PID control
Details
Details
Learning the
descriptions of
error codes
special relays, and
Details
special registers
Learning the types
and details of
a
Details
A-7
GENERIC TERMS AND ABBREVIATIONS IN THIS MANUAL
This manual uses the generic terms and abbreviations listed in the following table to discuss the
software packages and programmable controller CPUs. Corresponding module models are also
listed if needed
Generic term and
Description
abbreviation
GX works 2
Generic product name for the SWnDNC-GXW2-E
(n: version)
Generic product name for the SWnD5C-GPPW-E, SWnD5C-GPPW-EA, SWnD5C-GPPW-EV, and
GX Developer
SWnD5C-GPPW-EVA
gEneric product name for the SWnD5C-MEDOC3-E
(n: version)
CPU module
Generic term for the High Performance model QCPU and Universal model QCPU
High Pcrformance model
Generic term for the Q02, Q02H. Q06h. Q12H, and Q25H
QCPU
Universal model QCPu Generic term for the Q02U, Q03UD, Q03UDE, Q04UDH, Q04UDEH, Q06UDH, Q06UDEH, Q13UDH,
Q13UDEH, Q26UDH and Q26UDEH
Personal Compute
Generic term for personal computer on which Windows operates
EC61131-3
Abbreviation for the iec 61131-3 international standard
Common instruction
Generic term for the sequence instructions, basic instructions, and application instructions
Special instruction
Generic term for the pid control instructions and module dedicated instructions
A-8
(系统自动生成,下载前可以参看下载内容)
下载文件列表
相关说明
- 本站资源为会员上传分享交流与学习,如有侵犯您的权益,请联系我们删除.
- 本站是交换下载平台,提供交流渠道,下载内容来自于网络,除下载问题外,其它问题请自行百度。
- 本站已设置防盗链,请勿用迅雷、QQ旋风等多线程下载软件下载资源,下载后用WinRAR最新版进行解压.
- 如果您发现内容无法下载,请稍后再次尝试;或者到消费记录里找到下载记录反馈给我们.
- 下载后发现下载的内容跟说明不相乎,请到消费记录里找到下载记录反馈给我们,经确认后退回积分.
- 如下载前有疑问,可以通过点击"提供者"的名字,查看对方的联系方式,联系对方咨询.