DISCLAIMER TO DOWNLOAD THE USER GUIDE OMRON CX-PROGRAMMER 5.0 - FUNCTION BLOCK OPERATION

Click on "Download the user Manual" at the end of this Contract if you accept its terms, the downloading of the manual OMRON CX-PROGRAMMER 5.0 - FUNCTION BLOCK OPERATION will begin.

You agree to use the Manual in accordance with the terms and conditions hereafter described.

1. Our service
Diplodocs offers a socially driven service of sharing, storing and searching manuals related to use of hardware and software : user guide, owner's manual, quick start guide, technical datasheets...

2. Access rights
The documents available on this site are and will remain properties of their respective owners. Accessing, downloading or storing a document on this site does not give you any right. You certify accessing and storing only documents for which you regularly acquired rights of use, either by owning the item corresponding to the document, or thanks to a right to broadcast the document, given by the copyright owners.

3. Our responsibility
In any way can't Diplodocs be held responsible if the document you are looking for is not available, incomplete, in a different language than yours, or if the model or language do not match the description. Diplodocs, for instance, does not offer a translation service.

4. Checking of use
Once downloaded, you must make sure that the Manual matches the Product for which you intend to use it. You agree to remain entirely responsible for the use you do with the instructions contained in the document, no matter whether damages of losses occur following its use.

5. Your commitment
In compensation for using our service, you certify not to harm Diplodocs by any legal action, and to help Diplodocs by promoting the site or uploading new documents. You acknowledge that Diplodocs does not owe you mandatory results or availability.


Diplodocs explicitly forbids the use of its service by anyone who do not agree with all conditions above. By accepting or downloading the Manual OMRON CX-PROGRAMMER 5.0 - FUNCTION BLOCK OPERATION, you agree to have read the disclaimer, to have understood all of it and to be bond by its terms and conditions.

You either have JavaScript turned off or an old version of Adobe Flash Player
Get the latest Flash Player.

   

DON'T FORGET : ALWAYS READ THE USER GUIDE BEFORE BUYING !!!

We hope that this OMRON CX-PROGRAMMER 5.0 - FUNCTION BLOCK OPERATION user guide will be useful to you.

Need help, support, reviews, tips or troubleshooting for your OMRON CX-PROGRAMMER 5.0 - FUNCTION BLOCK OPERATION products ?
Discussion, review, tips, troubleshooting issue, problem : search help on OMRON CX-PROGRAMMER 5.0 - FUNCTION BLOCK OPERATION product forum.



close

5 364 brands
1 237 233 user's guides
520 000 members
Domestic Appliance | TV & Audio | Phone | Computer | Car | Digital Camera | Video Game
Search
a brand
A B C D E F G H I J K L M N O P Q R S T U V W X Y Z # Search for a user manual
 

User manual OMRON CX-PROGRAMMER 5.0 - FUNCTION BLOCK OPERATION

Diplodocs help download the user guide OMRON CX-PROGRAMMER 5.0 - FUNCTION BLOCK OPERATION.

  Download the user manual OMRON CX-PROGRAMMER 5.0 - FUNCTION BLOCK OPERATION     
Download the complete
user guide (3125 Ko)
Need help, support, reviews, tips or troubleshooting for your OMRON CX-PROGRAMMER 5.0 - FUNCTION BLOCK OPERATION products ?




Preview of the first 3 pages of manual
You either have JavaScript turned off or an old version of Adobe Flash Player
Get the latest Flash Player.




Visit OMRON official site


User guide OMRON CX-PROGRAMMER 5.0 - FUNCTION BLOCK OPERATION


Cat.No. W438-E1-01 SYSMAC WS02-CXPC1-E-V50 CS1-H, CJ1-H, CJ1M CPU Units CX-Programmer Ver.5.0 OPERATION MANUAL Function Blocks CX-Programmer Ver. 5.0 WS02-CXPC1-E-V50 CS1-H, CJ1-H, CJ1M CPU Units Operation Manual Function Blocks Produced July 2004 iv Notice: OMRON products are manufactured for use according to proper procedures by a qualified operator and only for the purposes described in this manual. The following conventions are used to indicate and classify precautions in this manual. Always heed the information provided with them. Failure to heed precautions can result in injury to people or damage to property. !DANGER !WARNING Indicates an imminently hazardous situation which, if not avoided, will result in death or serious injury. Indicates a potentially hazardous situation which, if not avoided, could result in death or serious injury. Indicates a potentially hazardous situation which, if not avoided, may result in minor or moderate injury, or property damage. !Caution OMRON Product References All OMRON products are capitalized in this manual. The word "Unit" is also capitalized when it refers to an OMRON product, regardless of whether or not it appears in the proper name of the product. The abbreviation "Ch," which appears in some displays and on some OMRON products, often means "word" and is abbreviated "Wd" in documentation in this sense. The abbreviation "PLC" means Programmable Controller. "PC" is used, however, in some Programming Device displays to mean Programmable Controller. Visual Aids The following headings appear in the left column of the manual to help you locate different types of information. Note Indicates information of particular interest for efficient and convenient operation of the product. 1,2,3... 1. Indicates lists of one sort or another, such as procedures, checklists, etc. OMRON, 2004 All rights reserved. No part of this publication may be reproduced, stored in a retrieval system, or transmitted, in any form, or by any means, mechanical, electronic, photocopying, recording, or otherwise, without the prior written permission of OMRON. No patent liability is assumed with respect to the use of the information contained herein. Moreover, because OMRON is constantly striving to improve its high-quality products, the information contained in this manual is subject to change without notice. Every precaution has been taken in the preparation of this manual. Nevertheless, OMRON assumes no responsibility for errors or omissions. Neither is any liability assumed for damages resulting from the use of the information contained in this publication. v vi TABLE OF CONTENTS PRECAUTIONS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1 2 3 4 Intended Audience . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . General Precautions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Safety Precautions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Application Precautions. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xi xii xii xii xiii SECTION 1 Introduction. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-1 1-2 1-3 1-4 1-5 Introducing the Function Blocks . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Function Blocks . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Variables . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Converting Function Block Definitions to Library Files . . . . . . . . . . . . . . . . . . . . . . . . . . . . Usage Procedures. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1 2 7 13 16 17 SECTION 2 Specifications . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 2-1 2-2 2-3 2-4 2-5 2-6 2-7 2-8 Function Block Specifications . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Instance Specifications . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Restrictions on Function Blocks . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Function Block Applications Guidelines. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Precautions for Instructions with Operands Specifying the First or Last of Multiple Words Instruction Support and Operand Restrictions. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . CPU Unit Function Block Specifications . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Number of Function Block Program Steps and Instance Execution Time . . . . . . . . . . . . . . 19 21 30 37 42 49 52 104 108 SECTION 3 Creating Function Blocks. . . . . . . . . . . . . . . . . . . . . . . . . . . . 111 3-1 3-2 Procedural Flow. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Procedures . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 112 114 Appendices A B C Data Types . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Structured Text (ST Language) Specifications . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . External Variables . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 137 139 161 Index. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 163 Revision History . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 165 vii TABLE OF CONTENTS viii About this Manual: This manual describes the function blocks and related functionality of the CX-Programmer Ver. 5.0 used together with CS1-H, CJ1-H, and CJ1M CPU Units with unit version 3.0 or later, and includes the sections described on the next page. The CX-Programmer Ver. 5.0 is software that enables the personal computer to be used as a function block programming device, and can be used only for SYSMAC CS-series and CJ-series CPU Units that support function blocks. The CX-Programmer Ver. 5.0 function block functions have been enhanced. This manual describes only CX-Programmer Ver. 5.0 operations that are related to functions blocks. For operations not related to function blocks, refer to the CX-Programmer Operation Manual (enclosed, Cat. No. W437). This manual also provides only information related to function blocks for the CS1-H, CJ1-H, and CJ1M CPU Units. For other information, refer to the CS/CJ-series manuals. Please read this manual and related manuals carefully and be sure you understand the information provided before attempting to install or operate the CX-Programmer Ver. 5.0 or the CS1-H, CJ1-H, or CJ1M CPU Units. Be sure to read the precautions provided in the following section. Manuals Related to the CX-Programmer Ver. 5.0 Name SYSMAC WS02-CXPC1-E-V50 CX-Programmer Ver. 5.0 Operation Manual Function Blocks (CS1G-CPU@@H, CS1H-CPU@@H, CJ1G-CPU@@H, CJ1H-CPU@@H, CJ1M-CPU@@ CPU Units) SYSMAC WS02-CXPC1-E-V50 CX-Programmer Operation Manual Cat. No. Contents W438 Describes the functionality unique to the CX-Programmer Ver. 5.0 and CS/CJ-series CPU Units with unit version 3.0 or later based on function blocks. Functionality that is the same as that of the CX-Programmer is described in W437 (enclosed). W437 Provides information on how to use the CX-Programmer for all functionality except for function blocks. Manuals Related to the CS1-H, CJ1-H, CJ1M CPU Units Name SYSMAC CS Series CS1G/H-CPU@@-EV1, CS1G/H-CPU@@H Programmable Controllers Operation Manual Cat. No. Contents W339 Provides an outline of and describes the design, installation, maintenance, and other basic operations for the CS-series PLCs. The following information is included: An overview and features The system configuration Installation and wiring I/O memory allocation Troubleshooting Use this manual together with the W394. SYSMAC CJ Series CJ1G-CPU@@, CJ1G/H-CPU@@H, CJ1GCPU@@P, CJ1M-CPU@@ Programmable Controllers Operation Manual W393 Provides an outline of and describes the design, installation, maintenance, and other basic operations for the CJ-series PLCs. The following information is included: An overview and features The system configuration Installation and wiring I/O memory allocation Troubleshooting Use this manual together with the W394. ix Name SYSMAC CS/CJ Series CS1G/H-CPU@@-EV1, CS1G/H-CPU@@H, CJ1G-CPU@@, CJ1G/H-CPU@@H, CJ1GCPU@@P, CJ1M-CPU@@ Programmable Controllers Programming Manual Cat. No. Contents W394 Describes programming and other methods to use the functions of the CS/CJ-series PLCs. The following information is included: Programming Tasks File memory Other functions Use this manual together with the W339 or W393. W340 Describes the ladder diagram programming instructions supported by CS/CJ-series PLCs. When programming, use this manual together with the Operation Manual (CS1: W339 or CJ1: W393) and Programming Manual (W394). W342 Describes the communications commands that can be addressed to CS/CJ-series CPU Units. The following information is included: C-series (Host Link) commands FINS commands Note: This manual describes commands that can be sent to the CPU Unit without regard for the communications path, which can be through a serial communications port on the CPU Unit, a communications port on a Serial Communications Unit/Board, or a port on any other Communications Unit. SYSMAC CS/CJ Series CS1G/H-CPU@@-EV1, CS1G/H-CPU@@H, CJ1G-CPU@@, CJ1G/H-CPU@@H, CJ1GCPU@@P, CJ1M-CPU@@ Programmable Controllers Instructions Reference Manual SYSMAC CS/CJ Series CS1G/H-CPU@@-EV1, CS1G/H-CPU@@H, CS1W-SCB21-V1/41-V1, CS1W-SCU21/41, CJ1G-CPU@@, CJ1G/H-CPU@@H, CJ1GCPU@@P, CJ1M-CPU@@, CJ1W-SCU21-V1/ 41-V1 Communications Commands Reference Manual Overview of Contents Precautions provides general precautions for using the CX-Programmer Ver. 5.0. Section 1 introduces the function block functionality of the CX-Programmer and explains the features that are not contained in the non-function block version of CX-Programmer. Section 2 provides specifications for reference when using function blocks, including specifications on function blocks, instances, and compatible PLCs, as well as usage precautions and guidelines. Section 3 describes the procedures for creating function blocks on the CX-Programmer. The Appendices provide information on data types, structure text specifications, and external variables. !WARNING Failure to read and understand the information provided in this manual may result in personal injury or death, damage to the product, or product failure. Please read each section in its entirety and be sure you understand the information provided in the section and related sections before attempting any of the procedures or operations given. x PRECAUTIONS This section provides general precautions for using the CX-Programmer Ver. 5.0 and the Programmable Logic Controller. The information contained in this section is important for the safe and reliable application of the CX-Programmer Ver. 5.0 and Programmable Controller. You must read this section and understand the information contained before attempting to set up or operate the CX-Programmer Ver. 5.0 and Programmable Controller. 1 2 3 4 Intended Audience . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . General Precautions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Safety Precautions. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Application Precautions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . xii xii xii xiii xi Intended Audience 1 1 Intended Audience This manual is intended for the following personnel, who must also have knowledge of electrical systems (an electrical engineer or the equivalent). · Personnel in charge of installing FA systems. · Personnel in charge of designing FA systems. · Personnel in charge of managing FA systems and facilities. 2 General Precautions The user must operate the product according to the performance specifications described in the operation manuals. Before using the product under conditions which are not described in the manual or applying the product to nuclear control systems, railroad systems, aviation systems, vehicles, combustion systems, medical equipment, amusement machines, safety equipment, and other systems, machines, and equipment that may have a serious influence on lives and property if used improperly, consult your OMRON representative. Make sure that the ratings and performance characteristics of the product are sufficient for the systems, machines, and equipment, and be sure to provide the systems, machines, and equipment with double safety mechanisms. This manual provides information for programming and operating the product. Be sure to read this manual before attempting to use the product and keep this manual close at hand for reference during operation. !WARNING It is extremely important that a PLC and all PLC Units be used for the specified purpose and under the specified conditions, especially in applications that can directly or indirectly affect human life. You must consult with your OMRON representative before applying a PLC System to the above-mentioned applications. 3 Safety Precautions !WARNING Confirm safety sufficiently before transferring I/O memory area status from the CX-Programmer Ver. 5.0 to the actual CPU Unit. The devices connected to Output Units may malfunction, regardless of the operating mode of the CPU Unit. Caution is required in respect to the following functions. · Transferring from the CX-Programmer to real I/O (CIO Area) in the CPU Unit using the PLC Memory Window. · Transferring from file memory to real I/O (CIO Area) in the CPU Unit using the Memory Card Window. !Caution Variables must be specified either with AT settings (or external variables), or the variables must be the same size as the data size to be processed by the instruction when specifying the first or last address of multiple words in the instruction operand. 1. If a non-array variable with a different data size and without an AT setting is specified, the CX-Programmer will output an error when compiling. 2. Array Variable Specifications xii Application Precautions 4 · When the size to be processed by the instruction operand is fixed: The number of array elements must be the same as the number of elements to be processed by the instruction. Otherwise, the CX-Programmer will output an error when compiling. · When the size to be processed by the instruction operand is not fixed: The number of array elements must be greater than or the same as the size specified in the other operands. · If the other operand specifying a size is a constant, the CX-Programmer Ver. 5.0 will output an error when compiling. · If the other operand specifying a size is a variable, the CX-Programmer Ver. 5.0 will not output an error when compiling, even if the size of the array variable is not the same as that specified by the other operand (variable). A warning message, however, will be displayed. In particular, if the number of array elements is less than the size specified by the other operand (e.g., the size of the instruction operand is 16, and the number of elements registered in the actual variable table is 10), the instruction will execute read/write processing for the area that exceeds the number of elements. For example, read/write processing will be executed for the 6 words following those for the number of elements registered in the actual variable table. If these words are used for other instructions (including internal variable allocations), unexpected operation will occur, which may result in serious accidents. Check that the system will not be adversely affected if the size of the variable specified in the operand is less than the size in the operand definition before starting PLC operations. !Caution Confirm safety at the destination node before transferring a program to another node or changing contents of the I/O memory area. Doing either of these without confirming safety may result in injury. !Caution Execute online editing only after confirming that no adverse effects will be caused by extending the cycle time. Otherwise, the input signals may not be readable. !Caution Confirm safety sufficiently before monitoring power flow and present value status in the Ladder Section Window or when monitoring present values in the Watch Window. If force-set/reset or set/reset operations are inadvertently performed by pressing short-cut keys, the devices connected to Output Units may malfunction, regardless of the operating mode of the CPU Unit. 4 Application Precautions Observe the following precautions when using the CX-Programmer. · User programs cannot be uploaded to the CX-Programmer. · Observe the following precautions before starting the CX-Programmer. · Exit all applications not directly related to the CX-Programmer. Particularly exit any software such as screen savers, virus checkers, E-mail or other communications software, and schedulers or other applications that start up periodically or automatically. · Disable sharing hard disks, printers, or other devices with other computers on any network. xiii Application Precautions 4 · With some notebook computers, the RS-232C port is allocated to a modem or an infrared line by default. Following the instructions in documentation for your computer and enable using the RS-232C port as a normal serial port. · With some notebook computers, the default settings for saving energy do not supply the rated power to the RS-232C port. There may be both Windows settings for saving energy, as well as setting for specific computer utilities and the BIOS. Following the instructions in documentation for your computer, disable all energy saving settings. · Do not turn OFF the power supply to the PLC or disconnect the connecting cable while the CX-Programmer is online with the PLC. The computer may malfunction. · Confirm that no adverse effects will occur in the system before attempting any of the following. Not doing so may result in an unexpected operation. · Changing the operating mode of the PLC. · Force-setting/force-resetting any bit in memory. · Changing the present value of any word or any set value in memory. · Check the user program for proper execution before actually running it on the Unit. Not checking the program may result in an unexpected operation. · When online editing is performed, the user program and parameter area data in CS1-H, CJ1-H, and CJ1M CPU Units is backed up in the built-in flash memory. The BKUP indicator will light on the front of the CPU Unit when the backup operation is in progress. Do not turn OFF the power supply to the CPU Unit when the BKUP indicator is lit. The data will not be backed up if power is turned OFF. To display the status of writing to flash memory on the CX-Programmer, select Display dialog to show PLC Memory Backup Status in the PLC properties and then select Windows - PLC Memory Backup Status from the View Menu. · Programs including function blocks (ladder programming language or structured text (ST) language) can be downloaded or uploaded in the same way as standard programs that do not contain function blocks. Tasks including function blocks, however, cannot be downloaded in task units (uploading is possible). · If a user program containing function blocks created on the CX-Programmer Ver. 5.0 or later is downloaded to a CPU Unit that does not support function blocks (CS/CJ-series CPU Units with unit version 2.0 or earlier), all instances will be treated as illegal commands and it will not be possible to edit or execute the user program. · If the input variable data is not in boolean format, and numerical values only (e.g., 20) are input in the parameters, the actual value in the CIO Area address (e.g., 0020) will be passed. Therefore, be sure to include an &, #, or +, - prefix before inputting the numerical value. · Addresses can be set in input parameters, but the address itself cannot be passed as an input variable. (Even if an address is set as an input parameter, the value passed to the function block will be that for the size of data in the input variable.) Therefore, an input variable cannot be used as the operand of the instruction in the function block when the operand specifies the first or last of multiple words. Use an internal variable with an AT setting. Alternatively, specify the first or last element in an internal array variable. xiv Application Precautions 4 · Values are passed in a batch from the input parameters to the input variables before algorithm execution (not at the same time as the instructions in the algorithm are executed). Therefore, to pass the value from a parameter to an input variable when an instruction in the function block algorithm is executed, use an internal variable or external variable instead of an input variable. The same applies to the timing for writing values to the parameters from output variables. · Always use internal variables with AT settings in the following cases. · The addresses allocated to Basic I/O Units, Special I/O Units, and CPU Bus Units cannot be registered to global symbols, and these variables cannot be specified as external variables (e.g., the data set for global variables may not be stable). · Use internal variables when Auxiliary Area bits other than those preregistered to external variables are registered to global symbols and these variables are not specified as external variables. · Use internal variables when specifying PLC addresses for another node on the network: For example, the first destination word at the remote node for SEND(090) and the first source word at the remote node for RECV(098). · Use internal variables when the first or last of multiple words is specified by an instruction operand and the operand cannot be specified as an internal array variable (e.g., the number of array elements cannot be specified). xv Application Precautions 4 xvi SECTION 1 Introduction This section introduces the function block functionality of the CX-Programmer and explains the features that are not contained in the non-function block version of CX-Programmer. 1-1 Introducing the Function Blocks. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-1-1 1-1-2 1-1-3 1-1-4 1-2 1-2-1 1-2-2 1-2-3 1-3 1-3-1 1-3-2 1-3-3 1-3-4 1-3-5 1-4 1-5 Overview and Features . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Function Block Specifications . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Files Created with CX-Programmer Ver. 5.0 . . . . . . . . . . . . . . . . . . CX-Programmer Ver. 5.0 Function Block Menus . . . . . . . . . . . . . . Outline . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Advantages of Function Blocks . . . . . . . . . . . . . . . . . . . . . . . . . . . . Function Block Structure . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Introduction. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Variable Usage and Properties . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Variable Properties . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Variable Properties and Variable Usage . . . . . . . . . . . . . . . . . . . . . . Internal Allocation of Variable Addresses . . . . . . . . . . . . . . . . . . . . 2 2 3 4 5 7 7 7 8 13 13 13 14 15 15 16 17 17 18 Function Blocks . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Variables . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . Converting Function Block Definitions to Library Files . . . . . . . . . . . . . . . . Usage Procedures . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1-5-1 1-5-2 Creating Function Blocks and Executing Instances . . . . . . . . . . . . . Reusing Function Blocks . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1 Introducing the Function Blocks Section 1-1 1-1 1-1-1 Introducing the Function Blocks Overview and Features The CX-Programmer Ver. 5.0 is a Programming Device that can use standard IEC 61131-3 function blocks. The CX-Programmer Ver. 5.0 function block function is supported for CS/CJ-series CPU Units with unit version 3.0 or later and has the following features. · User-defined processes can be converted to block format by using function blocks. · Function block algorithms can be written in the ladder programming language or in the structured text (ST) language. (See note.) · When ladder programming is used, ladder programs created with nonCX-Programmer Ver. 4.0 or earlier can be reused by copying and pasting. · When ST language is used, it is easy to program mathematical processes that would be difficult to enter with ladder programming. Note The ST language is an advanced language for industrial control (primarily Programmable Logic Controllers) that is described in IEC 61131-3. The ST language supported by CX-Programmer conforms to the IEC 61131-3 standard. · Function blocks can be created easily because variables do not have to be declared in text. They are registered in variable tables. A variable can be registered automatically when it is entered in a ladder or ST program. Registered variables can also be entered in ladder programs after they have been registered in the variable table. · A single function block can be converted to a library function as a single file, making it easy to reuse function blocks for standard processing. · A program check can be performed on a single function block to easily confirm the function block's reliability as a library function. · Programs containing function blocks (ladder programming language or structured text (ST) language) can be downloaded or uploaded in the same way as standard programs that do not contain function blocks. Tasks containing function blocks, however, cannot be downloaded in task units (uploading is possible). · One-dimensional array variables are supported, so data handling is easier for many applications. Note The IEC 61131 standard was defined by the International Electrotechnical Commission (IEC) as an international programmable logic controller (PLC) standard. The standard is divided into 7 parts. Specifications related to PLC programming are defined in Part 3 Textual Languages (IEC 61131-3). 2 Introducing the Function Blocks Section 1-1 1-1-2 Function Block Specifications For specifications that are not listed in the following table, refer to the CX-Programmer Ver. 5.0 Operation Manual (W437). Item Specifications WS02-CXPC1-E-V50 CD-ROM CS/CJ-series CS1-H, CJ1-H, and CJ1M CPU Units with unit version 3.0 or later are compatible. Device Type CPU Type · CS1G-H CS1G-CPU42H/43H/44H/45H · CS1H-H CS1H-CPU63H/64H/65H/66H/67H · CJ1G-H CJ1G-CPU42H/43H/44H/45H · CJ1H-H CJ1H-CPU65H/66H/67H · CJ1M CJ1M-CPU11/12/13/21/22/23 Note If a user program containing function blocks created on the CX-Programmer Ver. 5.0 or later is downloaded to a CPU Unit that does not support function blocks (CS/CJ-series CPU Units with unit version 2.0 or earlier), all instances will be treated as illegal commands and it will not be possible to edit or execute the user program. CS/CJ Series Function Restrictions · Instructions Not Supported in Function Block Definitions Block Program Instructions (BPRG and BEND), Subroutine Instructions (SBS, GSBS, RET, MCRO, and SBN), Jump Instructions (JMP, CJP, and CJPN), Step Ladder Instructions (STEP and SNXT), Immediate Refresh Instructions (!), I/O REFRESH (IORF), ONE-MS TIMER (TMHH) For details, refer to 2-3 Restrictions on Function Blocks. IBM PC/AT or compatible 133 MHz Pentium or faster with Windows 98, SE, or NT 4.0 (with service pack 6 or higher) Microsoft Windows 95, 98, SE, Me, 2000, XP, or NT 4.0 (with service pack 6 or higher) 64 Mbytes min. with Windows 98, SE, or NT 4.0 (with service pack 6 or higher) Refer to Computer System Requirements below for details. 100 Mbytes min. available disk space SVGA (800 × 600 pixels) min. Note Use "small font" for the font size. CD-ROM drive COM port One CD-ROM drive min. One RS-232C port min. Model number Setup disk Compatible CPU Units Compatible computers Computer CPU OS Memory Hard disk space Monitor 3 Introducing the Function Blocks Section 1-1 Functions not supported by CX-Programmer Ver. 4.0 or earlier. Item Specifications Defining Number of CS1-H/CJ1-H CPU Units: and creat- function block · Suffix -CPU44H/45H/64H/65H/66H/67H: 1,024 max. per CPU Unit ing funcdefinitions · Suffix -CPU42H/43H/63H: 128 max. per CPU Unit tion blocks CJ1M CPU Units: · CJ1M-CPU11/12/13/21/22/23: 128 max. per CPU Unit Function block names Variables 64 characters max. Variable names Variable types Number of I/O variables in function block definitions Allocation of addresses used by variables Actual address specification Language Creating instances Number of instances 30,000 characters max. Inputs, Outputs, Internals, and Externals 64 max. (not including EN and ENO) Automatic allocation (The allocation range can be set by the user.) Supported Array specifications Supported (one-dimensional arrays only) Function blocks can be created in ladder programming language or structured text (ST, see note). CS1-H/CJ1-H CPU Units: · Suffix -CPU44H/45H/64H/65H/66H/67H: 2,048 max. per CPU Unit · Suffix -CPU42H/43H/63H: 256 max. per CPU Unit CJ1M CPU Units: CJ1M-CPU11/12/13/21/22/23: 256 max. per CPU Unit 30,000 characters max. The project file (.cxp/cxt) Includes function block definitions and instances. The file memory program file (*.obj) includes function block definitions and instances. Each function block definition can be stored as a single file (.cxf) for reuse in other projects. Instance names Storing function blocks as files Project files Program files Function block library files Note The structured text (ST language) conforms to the IEC 61131-3 standard, but CX-Programmer Ver. 5.0 supports only assignment statements, selection statements (CASE and IF statements), iteration statements (FOR, WHILE, REPEAT, and EXIT statements), RETURN statements, arithmetic operators, logical operators, comparison functions, numeric functions, and comments. For details, refer to Appendix B Structured Text (ST Language) Specifications. 1-1-3 Files Created with CX-Programmer Ver. 5.0 Projects created using CX-Programmer that contain function block definitions and projects with instances are saved in the same standard project files (*.cxp) and file memory program files (*.obj). The following diagram shows the contents of a project. The function block definitions are created at the same directory level as the program within the relevant PLC directory. Project Files (*.cxp) and File Memory Program Files (*.obj) 4 Introducing the Function Blocks Project file (.cxp) PLC1 Global symbol table I/O table PLC Setup PLC memory table Program (with rung comments) Local symbol table Section 1 (with instances) Section 2 (with instances) END section (with instances) Function block definitions FunctionBlock1 FunctionBlock2 Section 1-1 PLC2 Instances created in program sections. Each function block can be stored in a separate definition file (.cxf). Function Block Library Files (*.cxf) Project Text Files Containing Function Blocks (*.cxt) A function block definition created in a project with CX-Programmer Ver. 5.0 can be saved as a file (1 definition = 1 file), enabling definitions to be loaded into other programs and reused. Data equivalent to that in project files created with CX-Programmer Ver. 5.0 (*.cxp) can be saved as CXT text files (*.cxt). 1-1-4 CX-Programmer Ver. 5.0 Function Block Menus The following tables list CX-Programmer Ver. 5.0 menus related to function blocks. For details on all menus, refer to the CX-Programmer Ver. 5.0 Operation Manual (W437). Main Menu Main menu File Submenu Func- Load Function tion Block from File Block Save Function Block to File Update Function Block Shortcut ------Function Reads the saved function block library files (*.cxf). Saves the created function block definitions to a file ([function block library file]*.cxf). When a function block definition's I/O variables have been changed after the instance was created, an error will be indicated by displaying the instance's left bus bar in red. This command updates the instance with the new information and clears the error. Creates an instance in the program (section) at the present cursor location. When the cursor is located to the left of an input variable or the right of an output variable, sets the variable's input or output parameter. Sets the range of addresses (function block instance areas) internally allocated to the selected instance's variables. Checks the status of the addresses internally allocated to the selected instance's variables. Checks the addresses internally allocated to each variable in the selected instance. Optimizes the allocation of addresses internally allocated to variables. Edit Insert Function Block Invocation Function Block Parameter F P --------- PLC Function Block Memory Function Block Memory Allocation Function Block Memory Statistics Function Block Instance Address Optimize Function Memory 5


OMRON CX-PROGRAMMER 5.0 - FUNCTION BLOCK OPERATION, , Sport.

Detailed instructions for use are in the User's Guide.

If this document matches the user guide, instructions manual or user manual, feature sets, schematics you are looking for, download it now. Diplodocs provides you a fast and easy access to the user manual OMRON CX-PROGRAMMER 5.0 - FUNCTION BLOCK OPERATION.

OMRON offer a product for which we do not have the user manual? Let us know what you are looking for: user manual, user guide, instructions, owner's manual, online manual, user's manual, users manual, users guide, owner manual, owners manual, user's guide, handbook, instructions for use, instruction manual, operation manual, operating instructions, installation guide, quick start guide, quikstart guide, getting started, installation instructions, installation guide,mounting instruction, assembly instrucions, fixing instructions, use instruction, schematics, operating manual, feature sheet, data sheet, booklet, service manual, use and care guide, installation manual, installation software, RTFM.

Diplodocs allows you to download user manual OMRON CX-PROGRAMMER 5.0 - FUNCTION BLOCK OPERATION, user guide OMRON CX-PROGRAMMER 5.0 - FUNCTION BLOCK OPERATION, instructions OMRON CX-PROGRAMMER 5.0 - FUNCTION BLOCK OPERATION, owner's manual OMRON CX-PROGRAMMER 5.0 - FUNCTION BLOCK OPERATION, online manual OMRON CX-PROGRAMMER 5.0 - FUNCTION BLOCK OPERATION.


Access web reviews
Copyright © 2005 - 2008 - Diplodocs - All Rights Reserved.
Designated trademarks and brands are the property of their respective owners.