三菱编程软件英文版shec_第1页
三菱编程软件英文版shec_第2页
三菱编程软件英文版shec_第3页
三菱编程软件英文版shec_第4页
三菱编程软件英文版shec_第5页
已阅读5页,还剩75页未读 继续免费阅读

下载本文档

版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领

文档简介

1、OOperating Manual (Structured Text)Operating Manual(Structured Text)GXDEV8-O-ST-EMODEL 13JU37CODESH(NA)-080367E-A(0302)MEEWORKS : 1-14 , YADA-MINAMI 5 , HIGASHI-KU, NAGOYA , JAPAN1-8-12, OFFICE TOWER Z 14F HARUMI CHUO-KU 104-6212,JAPANWhen exported from Japan, this manual does not require applicatio

2、n to theMinistry of Economy, Trade and Industry for service transaction permission.SW8D5C-GPPW-ESpecifications subject to change without notice.GGX Developer Version 8 Operating Manual (Structured Text)· SAFETY PRECAUTIONS ·(Alwaysthese instructions before using this equipment.)Before usin

3、g this product, pleasethis manual and the relevant manuals introduced in this manualcarefully 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 theprogrammable controller system, plea

4、sethe CPU module user's manual.In this manual, the safety instructions are ranked as "DANGER" and "CAUTION".Indicates that incorrect handling may cause hazardous conditions, resulting in death or severe injury.!DANGERIndicates that incorrect handling may cause hazardous condi

5、tions,!CAUTIONresulting in medium or slightal injury or physical damage.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 toal safety.Please save this manual to make it accessible whe

6、n required and always forward it to the end user.Designing PrecautionsStartup/Maintenance PrecautionsA - 1A - 1!CAUTION· Before perforonline operations (program change during PLU RUN, forced I/O operation, RUN-STOP or similar operating condition change, remote operation) with theal computer con

7、nected to the running PLU,the manual carefully and ensure safety fully.Note that program change during PLU RUN (online change) may cause such problems as program corruption depending on the operation condition. Use the equipment after fully understanding the precautions given in the GX Developer Ope

8、rating Manual.!DANGER· For data change, program change and status control to be performed for the running programmable logic controller from aal computer, configure interlock circuits in the outside of the PLC system so that the whole system will always operate safely.Also, for online operation

9、s to be performed from theal computer to the PLU, predetermine as a system the corrective actions for communication errors that will occur due to poor cable connection, etc.REVISIONS* The manual number is given on the bottom left of the back cover.JapaManual Version SH-080364-EÓ 2003 MITSUBISHI

10、 ELECTRIC CORPORATIONA - 2A - 2This 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 us

11、ing the contents noted in this manual.Print Date* Manual NumberRevisionFeb., 2003SH (NA) 080367E-AFirst printingOct., 2003SH (NA) 080367E-BSection 3.5.5, Section 4.6Jun., 2004SH (NA) 080367E-CAbbreviations and Generic Terms in This Manual Section 1.5.1CorrectionCorrectionINTRODUCTIONfor choosing the

12、 Mitsubishi MELSOFT series Integrated FA software.this manual and make sure you understand the functions and performance of MELSEC series sequencer thoroughly in advance to ensure correct use.Please make this manual available to the end user.CONTENTSSAFETY PRECAUTIONSA-REVISIONSA-CONTENTSA-About Man

13、ualsA-How to Use This ManualA-Abbreviations and Generic Terms in This ManualA-1235671.1 What Is the ST Language?1-1.2 Features1-1.3 Installation1-1.3.1 Installation method1-1.3.2 Operating environment.1-1.4 Screen Display and Names for Creating ST Programs1-1.4.1 ST edit screen1-1.5 Specifications1-

145.1 Corresponding PLUs1-1.5.2 Specifications and precautions for ST edit screen1-3.1 Creating a New Project3-3.2 Entering an ST Program3-3.2.1 Entering a function3-3.2.2 Entering a label3-3.2.3 Creating a comment3-3.2.4 Control syntax upper case conversion function3-1346893.2.5 Auto inde

15、nt function3-103.3 Useful Edit Functions3-113.3.1 Using the bookmark3-123.3.2 Displaying a function parameter3-153.3.3 Window division3-163.3.4 Displaying the label information3-173.3.5 Find/Replace3-18A - 3A - 33. ST PROGRAM3- 1 to 3-342. ST PROGRAM CREATION PROCEDURE2- 1 to 2- 21. OVERVIEW1- 1 to

16、1- 93.3.6 Line jump3-233.3.7 Open Function Block3-243.3.8 Copy/Cut/Paste3-263.3.9 Undo/Redo3-273.4 PerforConvert (Compile)3-283.5 Customizing the ST Edit Screen3-313.5.1 Changing the auto indent/tab width3-313.5.2 Changing the display colors3-323.5.3 Changing the display font3-344.1from PLC4-135574.

17、2 Write to PLC4-4.3 Monitoring the ST Program4-4.3.1 Monitoring the ST program4-4.3.2 Troubleshooting at error occurrence in ST program4-4.4 Online Change4-114.5 Device Test.4-134.6 Debug Function4-154.6.1 Debug function flowchart4-154.6.2 Starting/Ending debug function4-164.6.3 Setting/Clearing bre

18、ak points4-174.6.4 Break execution/1 line execution4-194.6.5 Break point list4-204.6.6 Clearing all break points4-20A - 4A - 4INDEXIndex- 1 to Index- 25. PRINT5- 1 to 5- 34. ONLINE4- 1 to 4-20About ManualsThe following manuals are also related to this product.In necessary, order them by quoting thes

19、 in the tables below.Each Operating Manual and the Structured Text (ST) ProgramGuidebook arecontained in the CD-ROM together with the software package as a set.The ProgramManual is available separately in printed form as an option.Please place an order with the manual number (mcode) in the above tab

20、le.A - 5A - 5REMARKManual NameManual Number (MCode)GX Developer Version 8 Operating Manual (Startup)Explains the system configuration, installation method and startup method of GX Developer.(Option)SH-080372E (13JU40)GX Developer Version 8 Operating ManualExplains the program creation method, printo

21、ut method, monitoring method, debugging method, etc. using GX Developer.(Option)SH-080373E (13JU41)GX Developer Version 8 Operating Manual (Function Block)Explains the program creation method, printout method, etc. using GX Developer.(Option)SH-080376E (13JU44)Structured Text (ST) ProgramGuidebookWr

22、itten for those who will create structured text (ST) programs for the first time. Explains the basic operation methods and functions through sample programs.(Option)SH-080368E (13JF69)QCPU (Q mode) ProgramManual (Structured Text)Explains the programmethods in structured text language.(Option)SH-0803

23、66E (13JF68)QCPU (Q mode)/QnACPU ProgramManual (Common Instructions)Explains the methods of using the sequence instructions, basic instructions and application instructions.(Option)SH-080039 (13JF58)GX Simulator Version 6 Operating ManualExplains the setting and operation for using GX Simulator to m

24、onitor device memory and to simulate the machine operation.(Option)SH-080169 (13JU17)Relevant ManualsHow to Use This ManualThis Manual .This manual is a commentary that gives in-depth explanation of the operation methods to create structured text (ST) programs using GX Developer. Refer to thismanual

25、 when information on operations is necessary."Chapter 1 Overview" describes the outline of the structured text (ST) language, the installation method, the screen display and names for creating structured text (ST)programs, the corresponding PLUs, and others."Chapter 2 ST Program Creat

26、ion Procedure" describes a structured text (ST) program creation procedure in a flowchart."Chapter 3 ST Program" describes how to create a new structured text (ST)program, how to perform operations of editing functions useful for input, and others. "Chapter 4 Online" describ

27、es the procedure for writing the created structured text(ST) program to the PLU, the device test operation method, and others."Chapters 5 Print" describes the printing operation procedure, etc.The following explains the symbols and information used in this manual.Program Manual .Use the &q

28、uot;QCPU (Q mode) ProgramManual (Structured Text)" to performstructured text (ST) programhave the knowledge and programwith GX Developer. It is suitable for the users whoexperience of PLC ladder programs and forthe users who have the knowledge and programlanguages such as the C language.experie

29、nce of high-levelWhen using the structured text language for the first time .Refer to the "Structured Text (ST) ProgramGuidebook", which describes theoutline of the structured text (ST) language, the procedures for creating a structuredtext (ST) program using GX Developer and writing it to

30、 the PLnecessary for that purpose, and others.U, the informationWhen information on other than structured text program is necessary .Refer to the "GX Developer Version 8 Operating Manual" or "GX Developer Version8 Operating Manual (Startup)".A - 6A - 6SymbolDescriptionExamplePoin

31、tGives the section-related knowledge and useful information. name ofbarProject( )Icon of toolbar()<< >>Tab name of dialog box<<Select file>>d button of dialog boxButtonJumpAbbreviations and Generic Terms in This ManualIn this manual, the following generic terms and abbreviati

32、ons are used to representthe GX Developer software package and PLU. The package name is given whenthe target mname must be pointed out explicitly.A - 7A - 7Generic terms and abbreviationsDescription and target moduleSTAbbreviation for structured text.GX DeveloperGeneric product name for mnames SWnD5

33、C-GPPW, SWnD5C-GPPW-A, SWnD5C-GPPW-V and SWnD5C-GPPW-VA.n means Version 8 or later.FBAbbreviation for function block.Basic mQCPUGeneric term for Q00JCPU, Q00Cnd Q01CPU of function version B or laterHigh Performance mQCPUGeneric term for Q02 (H) CPU, Q06CPU, Q12HCnd Q25HCPUProcess CPUGeneric term for

34、 Q12PHCnd Q25PHCPURedundant CPUGeneric term for Q12PRHCnd Q25PRHCPUQCPU (Q mode)Generic term for Q00(J)CPU, Q01CPU, Q02(H)CPU, Q06HCPU, Q12HCPU, Q25HCPU, Q12PHCPU, Q12PRHCPU, Q25PHCnd Q25PRHCPU.1 OVERVIEWMELSOFT1 OVERVIEWThis manual explains the editing operation for the structured text (hereafter a

35、bbreviated to ST) of the GX Developer Version 8 software package (hereafter abbreviated to GX Developer).For the explanation of the functions in other than ST, refer to the corresponding manuals given in "Relevant Manuals".11.1 What Is the ST Language?The ST language is defined in the Inte

36、rnational Standard IEC61131-3 that stipulates the logic description system in open controllers.The ST language supports operators, control syntaxes and functions to permit thefollowing descriptions.The main features of the ST language are as described below.(1)description in text formatThe ST langua

37、ge allows the description of alphanumeric characters, comments and labels in text format.(2)Programon the same level as those of the C and other high-level languagesLike the high-level languages such as C, the ST language can describe control with control syntaxes such as conditional sentence-depend

38、ent selectivebranches and repetitive sentence-based repetitions. Hence, easy-to- programs can be written briefly.1 - 11 - 1Control syntaxes such as conditional sentence-dependent selective branch and repetitive sentence-based repetitionExpressions using operators (*, /, +, -, <, >, =, etc.) Ca

39、ll of user-defined function blocks (FB)Call of functions (MELSEC functions, IEC functions) Description of comments1OVERVIEWMELSOFT(3)Ease of describing operation processingsCapable of briefly describing easy-to-operation processings that are difficultto describe in lists or ladders, the ST language

40、has a high level of program ability and is suitable for the fields where complex arithmetic operations,comparison operations, etc. are performed.1 - 21 - 2ST programs assume that labels will be used. Please understand how to use labels in advance.11 OVERVIEWMELSOFT1.2 FeaturesST programs are describ

41、ed in ST language.Creating ST programs using GX Developer enables efficient program performed in excellent operation environment.to beThe following provides the main features of ST programs in the MELSEC-Q series.(1)Design efficiency improved by defining processings as partsWith often used processin

42、gs defined as parts in the form of function blocks (FB) in ST language, they can be used in necessary areas of each program. This not only enhances the efficiency of program development but also reduces programmistakes, improving program quality.For more information, refer to the "GX Developer

43、Operating Manual (FunctionBlock)" given in Relevant Manuals.(2)Program change during system operation (online change)Part of a running program can be changed without the PLU being stopped.(3)Connection with other language programsSince the MELSEC-Q series also supports languages other than the

44、ST, thelanguage adequate for processing can be used to increase the efficiency of program development.The High Performance mQCnd Process QCllow executionconditions to be set on a file basis, and multiple program files to be written to asingle PLU.Multiple languages support widespapplication under op

45、timum control.(4)A wealth of functions availableThe MELSEC functions compatible with various common instructions for theMELSEC-Q series and the IEC functions defined in IEC61131-3 are available for ST programs in the MELSEC-Q series.For more information, refer to the "QCPU (Q mode) Program (Str

46、uctured Text)" given in Relevant Manuals.Manual1 - 31 - 31 OVERVIEWMELSOFT1.3 InstallationThis section explains the installation method and operation environment necessary forcreating ST programs.1.3.1 Installation methodConfirm the following points before starting installation.1) Select Start

47、- Explorer on Windows R to start.2) Click the drive where the CD-ROM has been inserted. Double-click "Setup.exe".3) Make setting and selection in the procedure of the installation wizard.4) Check the "ST (Structured Text) language program and execute installation.function" check

48、box,Fors, refer to the "GX Developer Operating Manual (Startup)" given inRelevant Manuals.1 - 41 - 4REMARKBefore starting installation, end all other applications that are running with the Microsoft R Windows R Operating System.When using Windows NT R Workstation 4.0, Windows R 2000 Profes

49、sional or Windows R XP Professional, log on as the user who has the attributes of the administrator (for computer management).1 OVERVIEWMELSOFT1.3.2 Operating environmentThe following table indicates the operating environment for use of the ST languageprogramfunction.For Manuals.s, refer to the &quo

50、t;GX Developer Operating Manual" given in Relevant1 - 51 - 5REMARKThe ST language function is not supported on Windows 95.ItemDescriptionOperating systemsMicrosoft R Windows R 98 2nd Edition or laterMicrosoft R Windows NTR 4.0 Workstation Service Pack 3 or later Microsoft R Windows R 2000 Profe

51、ssional Operating System Microsoft R Windows R Millennium Edition Operating SystemMicrosoft R Windows R XP (Home edition, Professional edition)CPUPentium R II 450MHz or moreScreen800600 dots or more, small fonts onlyFor installationRequired memory capacity64MB or moreRequired disk capacity130MB or m

52、oreFor operationRequired memory capacity64MB or moreRequired disk capacity100MB or more1 OVERVIEWMELSOFT1.4 Screen Display and Names for Creating ST ProgramsThis section explains the basic information such as the screen display, function list andkey operations.1.4.1 ST edit screen(1)Screen display a

53、nd part names of main windowToolbarMainProject windowIndicator barStatus bar(2)Part names and functions1 - 61 - 6NameFunctionMainSelect theitem.ToolbarClicking the selected icon executes the function.Project windowPrograms and various data are managed.ST edit screenScreen for editing an ST program.M

54、onitor screenDisplays the condition of the executed program.Indicator barDisplays the condition during editing.Status barDisplays the cursor position on the edit screen.Displays the cursor mode on the program screen.ST edit screenMonitor screen1OVERVIEWMELSOFT(3) About the shortcut keys and toolbar1) Shortcut keysThe shortcut keys are assigned to enable instruction input from the keyboard.item selection and2) ToolbarDisplays theitems with icons.Whether the toolbar is displayed or hidd

温馨提示

  • 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
  • 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
  • 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
  • 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
  • 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
  • 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
  • 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。

评论

0/150

提交评论