Omron CX-programmer 5 0 - Function Block Operation
Here you can find all about Omron CX-programmer 5 0 - Function Block Operation like manual and other informations. For example: review.
Omron CX-programmer 5 0 - Function Block Operation manual (user guide) is ready to download for free.
On the bottom of page users can write a review. If you own a Omron CX-programmer 5 0 - Function Block Operation please write about it to help other people. [ Report abuse or wrong photo | Share your Omron CX-programmer 5 0 - Function Block Operation photo ]
Omron CX-programmer 5.0-function Block Operation, size: 3.1 MB
Omron CX-programmer 5 0 - Function Block Operation
User reviews and opinions
|Lutzie||8:14am on Tuesday, October 19th, 2010|
|great for the recorder i use it all of the time ; and i like the big screen ; the pink and the blue ine look the best i wish it took pictures instead ... In all, a good MP3. If you want something stripped down and not too complicated, this is your MP3. The camera is really cool.|
|asoteros||2:04am on Tuesday, October 19th, 2010|
|died after 90 days I bought this to listen to my music while traveling and around the house. I liked it until it just died after 90 days of use.|
|qwertyq123||5:07am on Wednesday, October 13th, 2010|
|I had done extensive research on iPODs. I knew nothing about them, only that I wanted one. With the advise of my knowledgeable son-in-laws.|
|soulbrew||6:20pm on Friday, September 24th, 2010|
|just fantastic device just fantastic device. plays videos, photos, and of course music. even has built in radio which you can pause, rewind.|
|Stolzi||6:19am on Friday, September 24th, 2010|
|Ipods are great way to bring music anywhere at any time It has a great sound coming from the iPod. The headphones work really great.|
|beloncio||7:20am on Saturday, September 4th, 2010|
|I bought 2 of these both refurb and have had no issues. I would hide it from the kids unless they are over 21 and responsible iTunes is easy for me to use but I can see that a former WMP user could have tr...|
|sseremeth||11:30am on Saturday, July 10th, 2010|
|i used to have a shuffle but now i upgraded and i love the volume and the crisp color of video on this nano Great Sound Short Battery Life easy to take anywhere with you i love my ipod it stays with me 24/7 Easy To Set Up, Great Sound, Long Battery Life, Lots of Storage, Simple Controls,...|
|matte_swe||9:12am on Thursday, May 27th, 2010|
|8 gigs of music isnt that much. If you have a large library of music or make lots of playists i would reccomend the 16gb version. Thank you for joining me for this review of the Ipod Nano. Even after the announcement of the 6th generation of the iPod Nano.|
|kojot||5:06pm on Thursday, April 29th, 2010|
|179.99 is quite pricey for this product.It is a nice product. Was purchased as a gift.Person receiving gift is enjoying it. Lovin It new ipod nano is awesome! lots of great new features: fading from one song to another, radio, pedometer, and then some! Ipod Nano Brought this product to use while working out. When I received it, it was in excellent condition, just like brand new. Works wonderful.|
|Streatveur||1:20am on Thursday, April 29th, 2010|
|I did not know how to return it faster. How can you design such a piece of hardware and then ruin it like that? I always wanted an ipod, and now.|
|Chris_Graham||1:01am on Thursday, April 15th, 2010|
|I had done extensive research on iPODs. I knew nothing about them, only that I wanted one. With the advise of my knowledgeable son-in-laws.|
|oopal||12:30pm on Sunday, April 11th, 2010|
|Awesome!! Easy To Set Up, Great Sound, Long Battery Life, Lots of Storage, Reliable Performance, Simple Controls, Sleek/Compact Easy to lose hearing music enywhere Easy To Set Up, Great Sound, Long Battery Life, Lots of Storage, Reliable Performance, Simple Controls, Sleek/Compact Bulky.|
|mod_critical||3:58am on Sunday, March 14th, 2010|
|This silver 16 GB is a pretty good deal considering that all the other nanos (including 8GB) cost quite a bit more. The iPod came in perfect condition, well packaged against the holiday destruction of electronics in shipping. The iPod itself is a very nice on.|
Comments posted on www.ps2netdrivers.net are solely the views and opinions of the people posting them and do not necessarily reflect the views or opinions of us.
CX-One / CX-Programmer CD-ROM contains an operation manual PDF file.
Before using this product, you must read Introduction, Safety Cautions, and Precautions for Safe Use.
Function Block/Structured Text Introduction Guide describes basic operations to use OMRON FB Library and hints to create user program with Function Blocks. Cautions and detailed explanation are available on Help and PDF Manual. * Acrobat Reader 5.0 or later is required to read the PDF file.
Chapter 1 OMRON FB Library
1. What is a Function Block? 2. An Example of a Function Block 3. Overview of the OMRON FB Library 3-1. Benefits of the OMRON FB Library 3-2. Example of using the OMRON FB Library 3-3. Content of the OMRON FB Library 3-4. File Catalog and Where to Access the OMRON FB Library
1-1 1-2 1-3 1-3 1-4 1-6 1-7
Chapter 2 How to use the OMRON FB Library
1. Explanation of the target program 1-1. Application Specifications 1-2. Specifications of the OMRON FB Part file 1-3. Input program 2. Opening a new project and setting the Device Type 3. Main Window functions 4. Import the OMRON FB Part file 5. Program Creation 5-1. Enter a Normally Open Contact 5-2. Entering an Instance 5-3. Entering Parameters 6. Program Error Check (Compile) 7. Going Online 8. Monitoring - 1 9. Monitoring - 2 Change Parameter Current Value 10. Online Editing 2-1 2-1 2-1 2-2 2-3 2-4 2-5 2-6 2-6 2-7 2-7 2-9 2-10 2-11 2-12 2-13 3-1 3-1 3-1 3-2 3-3 3-4 3-4 3-5 3-6 3-6 3-7 4-1 4-1 4-2 4-3 4-4 4-5 4-6 4-7 4-8 4-9 5-1 5-1 5-1 5-2 5-9 5-14 5-20 5-21 5-22
Chapter 3 Customize the OMRON FB Part file
1. Explanation of target program 1-1. Changing File Specifications 1-2. Changing the contents of the OMRON FB Part file 2. Copy the OMRON FB Part file 3. Add a variable to the Function Block 4. Changing the Function Block Ladder 4-1. Entering a Contact 4-2. Checking Usage Status of Variables 5. Transferring to the PLC 6. Verifying Operation 7. Online Editing of Function Blocks
Chapter 4 How to use the ST (Structured Text) language
1. What is the ST Language? 2. Explanation of the target program 3. Create a Function Block using ST 4. Entering Variables into Function Blocks 5. Entry of ST program 6. Entering the FB to the Ladder Program and error checking 7. Program Transfer 8. Monitoring the Function Block execution Reference: Example of an ST program using IF-THEN-ELSE-END_IF Reference: Example of an ST program using String Variables
Chapter 5 Advanced (Componentizing a Program Using FB)
1. Overview 2. How to Proceed Program Development 3. Application Example 4. How to Proceed Program Development 5. Entering FB Definition 6. Creating FB Definition Library 7. Entering Main Program 8. Debugging Main Program
How to delete unused Function Block definitions/ Memory allocation for Function Blocks/ Useful Functions
Chapter 6 Advanced: Creating a Task Program Using Structured Text Appendix. Examples of ST (Structured Text)
This section provides information that can be used when creating function blocks (FBs) and using the Smart FB Library with a SYSMAC CS1, CJ1-H, or CJ1M Series CPU Unit (unit version 3.0 or later) and CX-Programmer version 5.0 or higher.
Features of OMRON Function Blocks
OMRON function blocks can be written in ladder language or ST (structured text) language, and conform to the IEC 61131-3 standard. The function blocks provide functions for more efficient design and debugging of the user equipment, as well as easier maintenance.
Design Offline debugging with the Simulator FB Generation
Online Editing of FB Definitions Protecting FB Definitions Smart FB Library
FB Nesting and Support for Operations on String Variables IEC 61131-3 (JIS B3503) Compliance PLC Program Development Steps and Corresponding Functions
Smart FB Library
The Smart FB Library is a set of function block elements that improve interoperability between OMRON PLC Units and FA components. If this library is used, it is not necessary to create a ladder program to use basic Unit and FA component functions. This enables the user to reduce the time spent on previous task, such as determining how to use the devices functions. (CS1/CJ1H unit version 3.0 or later and CXProgrammer version 5.0 or higher)
Online Editing of FB Definitions
FB definitions can be changed during operation, so FB definitions can be edited quickly during debugging. In addition, FBs can be used with confidence even in equipment that must operate 24 hours/day. (CS1/CJ1H unit version 4.0 or later and CX-Programmer version 7.0 or higher)
Not only can programs be created with nested OMRON FBs, it is possible to make easy-to-understand, stress-free operations by switching windows depending on conditions and displaying structures in a directory-tree format. (CS1/CJ1H unit version 3.0 or later and CXProgrammer version 6.0 or higher)
Protecting FB Definitions
It is possible to prevent unintentional or unauthorized changes or disclosure of the program by setting passwords for the function block definitions allocated in the project file and protecting the definitions based on their purpose. (CS1/CJ1H unit version 3.0 or later and CXProgrammer version 6.1 or higher)
Offline Debugging with the Simulator
The PLC programs operation can be checked on the desktop, so program quality can be improved and verified early on. Both the ladder and ST can be executed in the computer application. (CX-Programmer version 6.1 or higher and CX-Simulator version 1.6 or higher)
String Operations for Variable Support
The functions that perform string data operations in ST language not only support string variables, they also strengthen the instructions (functions) used to communicate with string data I/O. (CS1/CJ1H unit version 4.0 or later and CX-Programmer version 7.0 or higher)
FB Generation Function
Existing PLC programs can be reused and easily converted to FBs. (CX-Programmer version 7.0 or higher)
OMRON FB Library
1. What is a Function Block? 1. What is a Function Block?
Function Blocks are predefined programs (or functions) contained within a single program element that may be used in the ladder diagram. A contact element is required to start the function, but inputs and outputs are editable through parameters used in the ladder arrangement. The functions can be reused as the same element (same memory) or occur as a new element with its own memory assigned.
Partial Ladder program for machine A Defining Inputs and Outputs Input Input
Process (algorithm) Control Device n
Control Device 1
A1 B1 X1 An An Bn Bn
Xn Xn Xn TIM n #0100
TIM 1 #0100 T1 Y1 Z1 Tn
Yn Yn Yn Zn Zn Zn
Partial Ladder program for machine A Function Block definition
EN A B
ENO X Y Z
X1 Y1 Z1
EN Allocate to Ladder program
Function Block Instance (call statement)
Control Device 2 parameters
Sets input / output
X2 Y2 Z2
Function Block definition This contains the defined logic (algorithm) and I/O interface. The memory addresses are not allocated in the Function Block Definition Function Block instance (call statement) This is the statement that will call the function block instance when used by the ladder program, using the memory allocated to the instance
3-4. File Catalog and Where to Access the OMRON FB Library 3-4-1. Catalog of OMRON FB Library files
Number of OMRON FB Part files (at the time of July 06) approx. 200
Type FA components
Target components Temperature controller, Smart sensor, ID sensor, Vision sensor, 2 dimensions bar code reader, Wireless terminal CPU unit, Memory card, Special CPU IO unit (Ethernet, Controller Link, DeviceNet unit, Temperature control unit) Position control unit Inverter Servo motor driver
Motion control components
3-4-2. CX-One / CX-Programmer installation CD
OMRON FB Library is contained on the same install CD as CX-One / CX-Programmer. Installation can be selected during CX-One / CX-Programmer installation.
3-4-3. Accessing OMRON FB Library files from Web server
The latest version OMRON FB Library files are provided by Omron on the Web server. New files will be added to support new or enhanced PLC units and FA components. The download service of the OMRON FB Library is provided as a menu of Omron Web in each country.
Web server The internet
Explanation of Explanation of target Program target Program Opening a Opening a new project new project Import Import FB Library FB Library Creating a Creating a program program Program Check Program Check
1. Explanation of the target program 1. Explanation of the target program
This chapter describes how to use OMRON FB Library using the OMRON FB Part file Make ON Time/OFF Time Clock Pulse in BCD.
1-1. Application Specifications
The target application specifications are as follows :- Pulse is generated after PLC mode is changed torun or monitor mode. - Output the pulse to address 1.00. - On time of generated pulse is set at D100. - Off time of generated pulse is 2 seconds.
1-2. Specifications of the OMRON FB Part file
The OMRON FB Part file Make ON Time/OFF Time Clock Pulse in BCD has the following specifications:-
1-3. Input program
Create the following ladder program:-
[Reference] If created as a straightforward ladder diagram, the program would be as below:-
Explanation of Explanation of target Program target Program Opening a Opening a new project new project Import ImportImport Import FB Library FB Library FB Library FB Library Creating a Creating a program program Program Check Program Check
2. Opening a new project and setting the Device Type 2. Opening a new project and setting the Device Type
Click the toolbar button [New] in CX-Programmer.
Click the left mouse button.
! To use Function Blocks, select the following PLCs: CS1G-H, CS1H-H, CJ1G-H, CJ1H-H, CJ1M
5-2. Entering an Instance
F Press the [F] key on the keyboard to open the [New Function Block Invocation] dialog.
Enter text to create an FB instance name. [WorkInputTimingGenerator]
Applies a name for the specific Applies a name for the specific process in the diagram. process in the diagram.
Shows FB call statement WorkInputTimingGenerator.
5-3. Entering Parameters
Move the cursor to the left of input parameter.
Enter the address. [d100]
Choose an address for the input parameter OnTime.
Enter the remaining parameters in the same way.
Please add the following prefix for entering constants as parameters: # (Hexadecimal/BCD) Or & (Decimal)
ENT [Generated Pulse]
6. Program Error Check (Compile)
Before program transfer, check for errors using the program compile.
Errors and addresses are Errors and addresses are displayed in the Output Window. displayed in the Output Window.
Double-click on displayed errors, Double-click on displayed errors, and the Ladder Diagram cursor and the Ladder Diagram cursor will move to the corresponding will move to the corresponding error location, displaying the error error location, displaying the error rung in red. rung in red.
Modify the error. Modify the error.
Output Window automatically opens at program check. The cursor moves to an error location by pressing J or F4 key. Output Window closes by pressing the ESC key.
Online Operation Online Online to transfer to transfer Monitoring Monitoring Online Online Edit Edit
7. Going Online
CX-Programmer provides three methods of connecting, depending on usage.
Normal online. Enables you to go online with a PLC of the device type and method specified when opening a project. Normal online. Enables you to go online with a PLC of the device type and method specified when opening a project. Auto online. Automatically recognizes the connected PLC and enables you to go online with a PLC with one button. Auto online. Automatically recognizes the connected PLC and enables you to go online with a PLC with one button. Uploads all data, such as programs, from the PLC. Uploads all data, such as programs, from the PLC. Online with Simulator. Enables you to go online with CX-Simulator with one button (CX-Simulator must be installed.) Online with Simulator. Enables you to go online with CX-Simulator with one button (CX-Simulator must be installed.)
Select the variable area where you want to add a variable in online editing, right-click to display the pull-down menu, and select Online edit reserved memory.
Edit the function block definition online. Function block definitions can be edited online only if Function block definitions can be edited online only if the PLCs CPU Unit is unit version 4.0 or later. the PLCs CPU Unit is unit version 4.0 or later. Online editing cannot be used in CX-Simulator. Online editing cannot be used in CX-Simulator.
Select the function block definition that you want to edit online, right-click to display the pull-down menu, and select FB Online Edit Begin.
It is possible that the FB It is possible that the FB definition is called from more definition is called from more than one location, so start than one location, so start editing only after checking editing only after checking the output window to verify the output window to verify how the FB definition is used. how the FB definition is used.
Click the Yes Button.
Edit the program section.
After editing the program section online, right-click to display the pull-down menu, and select FB Online Edit Send Changes.
Select the online editing transfer mode. Normal mode: The FB source information is transferred. Quick mode: The FB source information is not transferred.
The FB definition information will be transferred.
Click the Yes Button after Click the Yes Button after verifying that there will be no verifying that there will be no adverse effects even if the cycle adverse effects even if the cycle time is longer. time is longer. Input signals may be missed. Input signals may be missed. Click the Yes Button.
Explanation of Explanation of target Program target Program Create new Create new FB Definition FB Definition Entering Entering Variables Variables Creating Creating ST Program ST Program Creating Ladder Creating Ladder Program and check Program and check
1. What is the ST Language?
The ST (Structured Text) language is a high-level language code for industrial controls (mainly PLCs) defined by the IEC 61131-3 standard. It has many control statements, including IF-THEN-ELSE-END_IF, FOR / WHILE loop, and many mathematical functions such as SIN / LOG. it is suitable for mathematical processing. The ST language supported by CXProgrammer is in conformance with IEC 61131-3 standard. The arithmetic functions in CX-Programmer Ver.5/6 are as follows: sine (SIN), cosine (COS), tangent (TAN), arc-sine (ASIN), arc-cosine (ACOS), arc-tangent (ATAN), square root (SQRT), absolute value (ABS), logarithm (LOG), natural-logarithm (LN), naturalexponential (EXP), exponentiation (EXPT) Reference: The IEC 61131 standard is an international standard for programming Programmable Logic Controllers (PLC), defined by the International Electro-technical Commission (IEC). The standard consists of 7 parts, with part 3 defining the programming of PLCs.
5. Example Application in a Ladder Program
The following example shows the FB used in a ladder program. The X-axis and Y-axis target values are set in D0 and D2. If bit W0.0 is turned ON, the communications are performed in the FB and the command values are output to D10 and D12.
Program Program Design Design Entering/Deb Entering/Deb ugging FB ugging FB Definition Definition Creating FB Creating FB Definition Definition Library Library Entering Main Entering Main Program Program Debugging Debugging Main Program Main Program
This chapter describes how to componentize a user program with an example using function blocks.
2. How to Proceed Program Development
Generally shown below is a workflow to create a user program with componentization in the case of the application example below. Deliberate consideration is required especially in program design process. (1) Program Design (2) Creating Components (2-1) Entering FB Component (2-2) Debugging FB Component (2-3) Creating FB Component Library (File Save) (3) Using Components in Application (3-1) Importing Components (3-2) Using Components for Program (3-3) Debugging Program (4) Start-Up
3. Application Example
Shown here is a DVD inspection machine as an example for application. Process can be primarily categorized into inspection, packing, and assortment.
Measuring DVD thickness
4. How to Proceed Program Development
Application can be materialized by using hardware and software (program) through combination of requirements. Following sections describe how to proceed program design using an application example described before.
4-1 Overview of Design Process
Specifications should be repeatedly detailed and integrated to divide and classify them as shown in the right.
Input from Client Requirement Specifications for Device
General Specifications Detailed Specifications
Detailed Specifications General Specifications
Req. 5. Paper boxes should be classified into 2 types. Switching frequency should be counted to evaluate a life of limit switch adjacent to actuator of selection part. can be materialized by counting OFF ON switching of a limit switch as an input for ActuatorControl. This component is called WorkMoveControl_LSONcount FB. Shown below is an example of an FB to be created.
Ladder FB is called from ST. Ladder FB is called from ST.
How to call FB (function block) from ST How to call FB (function block) from ST FB to be called: MyFB FB to be called: MyFB I/O variable of FB to be called: I/O variable of FB to be called: Input: Input1, Input2 Input: Input1, Input2 Output: Output1, Output2 Output: Output1, Output2
Instance of MyFB declared in ST: MyInstance Instance of MyFB declared in ST: MyInstance I/O variable to be passed to FB in ST: I/O variable to be passed to FB in ST: Input: STInput1, STInput2 Input: STInput1, STInput2 Output: STOutput1, STOutput2 Output: STOutput1, STOutput2
In this example, calling of FB instance from ST must be described as In this example, calling of FB instance from ST must be described as MyInstance(Input1 := STInput1, Input2 := STInput2, Output1 => STOutput1, Output2 => STOutput2); MyInstance(Input1 := STInput1, Input2 := STInput2, Output1 => STOutput1, Output2 => STOutput2); When all input/output variables are described, description of variables and assignment operators in one to be When all input/output variables are described, description of variables and assignment operators in one to be called can be omitted. called can be omitted. MyInstance(STInput1, STInput2, STOutput1, STOutput2); MyInstance(STInput1, STInput2, STOutput1, STOutput2); By describing variables and assignment operators in one to be called, you can describe only a part of By describing variables and assignment operators in one to be called, you can describe only a part of input/output variables. input/output variables. MyInstance(Input1 := STInput1, Output2 => STOutput2); MyInstance(Input1 := STInput1, Output2 => STOutput2);
4-5. Total Program Description
For components (FB) investigated here to work as a program, a circuit must be created that calls a component integrated from main ladder program. * Example here limits to Req.2 and 5.
* Other instance variables than those to use FB are omitted.
Either right cylinder ON (2.00) or Either right cylinder ON (2.00) or left cylinder ON (2.01) as an left cylinder ON (2.01) as an output operates by using a limit output operates by using a limit switch (1.00, 1.01) at cylinder switch (1.00, 1.01) at cylinder drive to assort DVD and 3 drive to assort DVD and 3 measurements (D0-D5) of DVD measurements (D0-D5) of DVD thickness as inputs and by turning thickness as inputs and by turning contact 0.00 ON. contact 0.00 ON.
Either right actuator ON (4.00) or Either right actuator ON (4.00) or left actuator ON (4.01) turns ON left actuator ON (4.01) turns ON based on condition of a limit switch based on condition of a limit switch (3.00, 3.01) at actuator end when (3.00, 3.01) at actuator end when operation input (W0.00) and left operation input (W0.00) and left move input (W0.01) to move a box move input (W0.01) to move a box containing DVD to the right or left. containing DVD to the right or left. Also, switching count of the limit Also, switching count of the limit switch is provided to D10-13. switch is provided to D10-13.
5-4. Transferring Program
Connect to CX-Simulator online, transfer a program, then set PLC (simulator) to monitor mode. For how to connect online and transfer a For how to connect online and transfer a program, see page 2-10. program, see page 2-10.
5-5. Operation Check-1
Change current parameter value of FB call statement on the main ladder, then check the operation of ActuatorControl FB. Monitor the instance of ActuatorControl FB first.
Move the cursor to FB call statement, then double-click or click button.
FB ladder instance (under condition of address assigned) is monitored.
Display the main ladder and FB instance (FB ladder called by the main ladder) at the same time, then check the operation while changing current parameter value of FB call statement in the main ladder.
5-6. Operation Check-2
Enter following parameter values of FB call statement and check if expected output should be provided. In this example only (1) is shown, but all combination of conditions must be verified. (1) Initial State: Turn 0.03 ON. => 0.04 and 0.05 must be OFF. FB instance ladder monitor screen must be under state that corresponds to the value. (2) Actuator forward direction operation-1: Turn 0.00 ON => 0.04 must be turned ON. FB instance ladder monitor screen must be under state that corresponds to the value. (3) Actuator forward direction operation-2: Turn 0.03 OFF => 0.04 must be ON and 0.05 must be OFF. FB instance ladder monitor screen must be under state that corresponds to the value. (4) Actuator forward direction operation-3: Turn 0.02 ON => 0.04 must be OFF and 0.05 must be OFF. FB instance ladder monitor screen must be under state that corresponds to the value.
Move the cursor to 0.03 and press [ENT] key.
1 must be displayed. 1 must be displayed.
Enter 1 and press [Set] button. Enter 1 and press [Set] button.
5-7. Entering/Debugging Other FB Definition
Thus far, entering and debugging for ActuatorControl FB are described. Other FB definition must be entered and debugged as well.
5-8. Batch Registration to Watch Window
For debugging, you can use batch registration of FB instance address to Watch Window instead of FB ladder monitor.
Move the cursor to FB call statement you want to register, right-click, then select [Register in Watch Window] in the menu.
Select Usage and Data type if necessary.
Select a name to register, Select a name to register, then press [OK] button. then press [OK] button.
5-9. Executing Steps using the Simulation Function
Setting the simulation function breakpoint and using the Step Execution Function, you can stop the execution of the program and easily check the processing status during program execution.
When necessary, change the usage of variables and addresses (internal variable, input variable, output variable, or input-output variable) used in the program section. Select the variable and select Change usage from the pop-up menu.
Note: Note: If a variable does not exist in an address being used in the program, a variable starting with AutoGen If a variable does not exist in an address being used in the program, a variable starting with AutoGen will be added automatically. will be added automatically. When the FB is called in the program, parameters are displayed as variable names, so at a minimum we When the FB is called in the program, parameters are displayed as variable names, so at a minimum we recommend changing input, output, and input-output variables to easy-to-understand variable names. recommend changing input, output, and input-output variables to easy-to-understand variable names. To change the names, double-click the address that you want to change in the FB variable allocation To change the names, double-click the address that you want to change in the FB variable allocation Dialog Box to display a dialog box in which the name can be changed. Dialog Box to display a dialog box in which the name can be changed.
Input the FB definition name and comment, and click the OK Button.
To insert an FB call instruction created in the ladder program, click the Yes Button. The FB definition will be created.
Input the FB instance name and click the OK Button.
Note: Note: This function automatically determines the usage of This function automatically determines the usage of variables based on the addresses used in the selected variables based on the addresses used in the selected program section, but in some cases usage cannot be program section, but in some cases usage cannot be converted automatically. In these cases, refer to Registering converted automatically. In these cases, refer to Registering Variables First in 3-2-3 Defining Function Blocks Created by Variables First in 3-2-3 Defining Function Blocks Created by User of the CX-Programmer Operation Manual (Function User of the CX-Programmer Operation Manual (Function Blocks), check the created FB definition, verify operation Blocks), check the created FB definition, verify operation sufficiently, and proceed with actual operation. sufficiently, and proceed with actual operation. The FB call instruction will be inserted in the ladder program.
CASE Statement Examples Example 3 CASE a + 3 * b OF 1, 3 : b := 2; 7, 11 : c := 3.0; ELSE d := 4.0; END_CASE;
In this example, the CASE statement will be evaluated and then compared with each of the CASE statement comparison values (i.e. 1 or 3 and 7 or 11 in this example). If the value of variable "a" plus 3 multiplied by variable "b" is 1 or 3, then that statement-list will be executed (i.e. b:=2;). Control will then pass to the program steps following the END_CASE clause. If the value of variable "a" plus 3 multiplied by variable "b" is 7 or 11, then that statement-list will be executed (i.e. c:=3.0;). Control will then pass to the program steps following the END_CASE clause. If the value of variable "a" plus 3 multiplied by variable "b" is not 1, 3, 7 or 11, then the statement-list in the ELSE condition (i.e. d:=4.0;) will be executed. Control will then pass to the program steps following the END_CASE clause.
Example 4 CASE a OF -2, 2, 4 : b := 2; c := 1.0; 6.11, 13 : c := 2.0; 1, 3, 5 : c := 3.0; ELSE b := 1; c := 4.0; END_CASE;
In this example, the CASE statement will be evaluated and then compared with each of the CASE statement comparison values, i.e. (2, 2 or 4) and (6 to 11 or 13) and (1, 3 or 5) in this example. If the value of variable "a" equals -2, 2 or 4, then that statement-list will be executed (i.e. b:=2; and c:=1.0;). Control will then pass to the program steps following the END_CASE clause. If the value of variable "a" equals 6, 7, 8, 9, 10, 11 or 13 then, that statement-list will be executed (i.e. c:=2.0;). Control will then pass to the program steps following the END_CASE clause. If the value of variable "a" is 1, 3 or 5, then that statement-list will be executed (i.e. c:=3.0;). Control will then pass to the program steps following the END_CASE clause. If the value of variable "a" is none of those above, then the statementlist in the ELSE condition (i.e. b:=1; and c:=4.0;) will be executed. Control will then pass to the program steps following the END_CASE clause.
EXIT Statement Examples WHILE expression DO statement-list1; EXIT; END_WHILE; statement-list2; REPEAT statement-list1; EXIT; UNTIL expression END_REPEAT; statement-list2; FOR control variable := integer expression1 TO integer expression2 [ BY integer expression3 ] DO statement-list1; EXIT; END_FOR; statement-list2; The statement-list is a list of several simple statements. The EXIT keyword discontinues the repetitive loop execution to go to the next statement, and can only be used in repetitive statements (WHILE, REPEAT, FOR statements). When the EXIT keyword is executed after statementlist1 in the repetitive loop, the control passes to statement-list2 immediately. Example 1 WHILE a DO IF c = TRUE THEN b:=0;EXIT; END_IF; IF b > 10 THEN a:= FALSE; END_IF; END_WHILE; d:=1; Example 2 a:=FALSE; FOR i:=1 TO 20 DO FOR j:=0 TO 9 DO IF i>=10 THEN n:=i*10+j; a:=TRUE;EXIT; END_IF; END_FOR; IF a THEN EXIT; END_IF; END_FOR; d:=1;
Sends a string (CPUs serial port). Sends a string (SCBs serial port). Sends a string (SCUs serial port)
Send string: STRING Serial port number: INT, UINT, WORD Send string: STRING SCU unit number: INT, UINT, WORD Serial port number: INT, UINT, WORD Logical port number: INT, UINT, WORD Receive string: INT, UINT, WORD Receive string: INT, UINT, WORD Serial port number: INT, UINT, WORD Receive string: INT, UINT, WORD SCU unit number: INT, UINT, WORD Serial port number: INT, UINT, WORD Logical port number: INT, UINT, WORD REAL, LREAL
TXD_SCU(a, b, c, d)
RXD_CPU(<receive string>) RXD_SCB(<receive string>, <serial port number>) RXD_SCU (<receive string>, <SCU unit number>, <serial port number>, <logical port number>)
Receive string (CPU serial port) Receive string (SCB serial port) Receive string (SCU serial port)
Receives a string (CPUs serial port). Receives a string (SCBs serial port). Receives a string (SCBs serial port).
a:= RXD_SCB(b, c)
a:= RXD_SCU(b, c, d, e)
DEG_TO_RAD(argume nt) RAD_TO_DEG(argume nt)
Convert degrees to radians Convert radians to degrees
REAL LREAL REAL LREAL
Converts degrees to radians. Converts radians to degrees.
a:= DEG_TO_RAD a:= RAD_TO_DEG
Terms and Conditions of Sale
1. Offer; Acceptance. These terms and conditions (these "Terms") are deemed part of all quotes, agreements, purchase orders, acknowledgments, price lists, catalogs, manuals, brochures and other documents, whether electronic or in writing, relating to the sale of products or services (collectively, the "Products") by Omron Electronics LLC and its subsidiary companies (Omron). Omron objects to any terms or conditions proposed in Buyers purchase order or other documents which are inconsistent with, or in addition to, these Terms. 2. Prices; Payment Terms. All prices stated are current, subject to change without notice by Omron. Omron reserves the right to increase or decrease prices on any unshipped portions of outstanding orders. Payments for Products are due net 30 days unless otherwise stated in the invoice. 3. Discounts. Cash discounts, if any, will apply only on the net amount of invoices sent to Buyer after deducting transportation charges, taxes and duties, and will be allowed only if (i) the invoice is paid according to Omrons payment terms and (ii) Buyer has no past due amounts. 4. Interest. Omron, at its option, may charge Buyer 1-1/2% interest per month or the maximum legal rate, whichever is less, on any balance not paid within the stated terms. 5. Orders. Omron will accept no order less than $200 net billing. 6. Governmental Approvals. Buyer shall be responsible for, and shall bear all costs involved in, obtaining any government approvals required for the importation or sale of the Products. 7. Taxes. All taxes, duties and other governmental charges (other than general real property and income taxes), including any interest or penalties thereon, imposed directly or indirectly on Omron or required to be collected directly or indirectly by Omron for the manufacture, production, sale, delivery, importation, consumption or use of the Products sold hereunder (including customs duties and sales, excise, use, turnover and license taxes) shall be charged to and remitted by Buyer to Omron. 8. Financial. If the financial position of Buyer at any time becomes unsatisfactory to Omron, Omron reserves the right to stop shipments or require satisfactory security or payment in advance. If Buyer fails to make payment or otherwise comply with these Terms or any related agreement, Omron may (without liability and in addition to other remedies) cancel any unshipped portion of Products sold hereunder and stop any Products in transit until Buyer pays all amounts, including amounts payable hereunder, whether or not then due, which are owing to it by Buyer. Buyer shall in any event remain liable for all unpaid accounts. 9. Cancellation; Etc. Orders are not subject to rescheduling or cancellation unless Buyer indemnifies Omron against all related costs or expenses. 10. Force Majeure. Omron shall not be liable for any delay or failure in delivery resulting from causes beyond its control, including earthquakes, fires, floods, strikes or other labor disputes, shortage of labor or materials, accidents to machinery, acts of sabotage, riots, delay in or lack of transportation or the requirements of any government authority. 11. Shipping; Delivery. Unless otherwise expressly agreed in writing by Omron: a. Shipments shall be by a carrier selected by Omron; Omron will not drop ship except in break down situations. b. Such carrier shall act as the agent of Buyer and delivery to such carrier shall constitute delivery to Buyer; c. All sales and shipments of Products shall be FOB shipping point (unless otherwise stated in writing by Omron), at which point title and risk of loss shall pass from Omron to Buyer; provided that Omron shall retain a security interest in the Products until the full purchase price is paid; d. Delivery and shipping dates are estimates only; and e. Omron will package Products as it deems proper for protection against normal handling and extra charges apply to special conditions. 12. Claims. Any claim by Buyer against Omron for shortage or damage to the Products occurring before delivery to the carrier must be presented in writing to Omron within 30 days of receipt of shipment and include the original transportation bill signed by the carrier noting that the carrier received the Products from Omron in the condition claimed. 13. Warranties. (a) Exclusive Warranty. Omrons exclusive warranty is that the Products will be free from defects in materials and workmanship for a period of twelve months from the date of sale by Omron (or such other period expressed in writing by Omron). Omron disclaims all other warranties, express or implied. (b) Limitations. OMRON MAKES NO WARRANTY OR REPRESENTATION, EXPRESS OR IMPLIED, ABOUT NON-INFRINGEMENT, MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE OF THE PRODUCTS. BUYER ACKNOWLEDGES THAT IT ALONE HAS DETERMINED THAT THE PRODUCTS WILL SUITABLY MEET THE REQUIREMENTS OF THEIR INTENDED USE. Omron further disclaims all warranties and responsibility of any type for claims or expenses based on infringement by the Products or otherwise of any intellectual property right. (c) Buyer Remedy. Omrons sole obligation hereunder shall be, at Omrons election, to (i) replace (in the form originally shipped with Buyer responsible for labor charges for removal or replacement thereof) the non-complying Product, (ii) repair the non-complying Product, or (iii) repay or credit Buyer an amount equal to the purchase price of the non-complying Product; provided that in no event shall Omron be responsible for warranty, repair, indemnity or any other claims or expenses regarding the Products unless Omrons analysis confirms that the Products were properly handled, stored, installed and maintained and not subject to contamination, abuse, misuse or inappropriate modification. Return of any Products by Buyer must be approved in writing by Omron before shipment. Omron Companies shall not be liable for the suitability or unsuitability or the results from the use of Products in combination with any electrical or electronic components, circuits, system assemblies or any other materials or substances or environments. Any advice, recommendations or information given orally or in writing, are not to be construed as an amendment or addition to the above warranty. See http://www.omron247.com or contact your Omron representative for published information. Limitation on Liability; Etc. OMRON COMPANIES SHALL NOT BE LIABLE FOR SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL DAMAGES, LOSS OF PROFITS OR PRODUCTION OR COMMERCIAL LOSS IN ANY WAY CONNECTED WITH THE PRODUCTS, WHETHER SUCH CLAIM IS BASED IN CONTRACT, WARRANTY, NEGLIGENCE OR STRICT LIABILITY. Further, in no event shall liability of Omron Companies exceed the individual price of the Product on which liability is asserted. Indemnities. Buyer shall indemnify and hold harmless Omron Companies and their employees from and against all liabilities, losses, claims, costs and expenses (including attorney's fees and expenses) related to any claim, investigation, litigation or proceeding (whether or not Omron is a party) which arises or is alleged to arise from Buyer's acts or omissions under these Terms or in any way with respect to the Products. Without limiting the foregoing, Buyer (at its own expense) shall indemnify and hold harmless Omron and defend or settle any action brought against such Companies to the extent based on a claim that any Product made to Buyer specifications infringed intellectual property rights of another party. Property; Confidentiality. Any intellectual property in the Products is the exclusive property of Omron Companies and Buyer shall not attempt to duplicate it in any way without the written permission of Omron. Notwithstanding any charges to Buyer for engineering or tooling, all engineering and tooling shall remain the exclusive property of Omron. All information and materials supplied by Omron to Buyer relating to the Products are confidential and proprietary, and Buyer shall limit distribution thereof to its trusted employees and strictly prevent disclosure to any third party. Export Controls. Buyer shall comply with all applicable laws, regulations and licenses regarding (i) export of products or information; (iii) sale of products to forbidden or other proscribed persons; and (ii) disclosure to non-citizens of regulated technology or information. Miscellaneous. (a) Waiver. No failure or delay by Omron in exercising any right and no course of dealing between Buyer and Omron shall operate as a waiver of rights by Omron. (b) Assignment. Buyer may not assign its rights hereunder without Omron's written consent. (c) Law. These Terms are governed by the law of the jurisdiction of the home office of the Omron company from which Buyer is purchasing the Products (without regard to conflict of law principles). (d) Amendment. These Terms constitute the entire agreement between Buyer and Omron relating to the Products, and no provision may be changed or waived unless in writing signed by the parties. (e) Severability. If any provision hereof is rendered ineffective or invalid, such provision shall not invalidate any other provision. (f) Setoff. Buyer shall have no right to set off any amounts against the amount owing in respect of this invoice. (g) Definitions. As used herein, including means including without limitation; and Omron Companies (or similar words) mean Omron Corporation and any direct or indirect subsidiary or affiliate thereof.
Certain Precautions on Specifications and Use
1. Suitability of Use. Omron Companies shall not be responsible for conformity with any standards, codes or regulations which apply to the combination of the Product in the Buyers application or use of the Product. At Buyers request, Omron will provide applicable third party certification documents identifying ratings and limitations of use which apply to the Product. This information by itself is not sufficient for a complete determination of the suitability of the Product in combination with the end product, machine, system, or other application or use. Buyer shall be solely responsible for determining appropriateness of the particular Product with respect to Buyers application, product or system. Buyer shall take application responsibility in all cases but the following is a non-exhaustive list of applications for which particular attention must be given: (i) Outdoor use, uses involving potential chemical contamination or electrical interference, or conditions or uses not described in this document. (ii) Use in consumer products or any use in significant quantities. (iii) Energy control systems, combustion systems, railroad systems, aviation systems, medical equipment, amusement machines, vehicles, safety equipment, and installations subject to separate industry or government regulations. (iv) Systems, machines and equipment that could present a risk to life or property. Please know and observe all prohibitions of use applicable to this Product. NEVER USE THE PRODUCT FOR AN APPLICATION INVOLVING SERIOUS RISK TO LIFE OR PROPERTY OR IN LARGE QUANTITIES WITHOUT ENSURING THAT THE SYSTEM AS A WHOLE HAS BEEN DESIGNED TO 2. 3. ADDRESS THE RISKS, AND THAT THE OMRONS PRODUCT IS PROPERLY RATED AND INSTALLED FOR THE INTENDED USE WITHIN THE OVERALL EQUIPMENT OR SYSTEM. Programmable Products. Omron Companies shall not be responsible for the users programming of a programmable Product, or any consequence thereof. Performance Data. Data presented in Omron Company websites, catalogs and other materials is provided as a guide for the user in determining suitability and does not constitute a warranty. It may represent the result of Omrons test conditions, and the user must correlate it to actual application requirements. Actual performance is subject to the Omrons Warranty and Limitations of Liability. Change in Specifications. Product specifications and accessories may be changed at any time based on improvements and other reasons. It is our practice to change part numbers when published ratings or features are changed, or when significant construction changes are made. However, some specifications of the Product may be changed without any notice. When in doubt, special part numbers may be assigned to fix or establish key specifications for your application. Please consult with your Omrons representative at any time to confirm actual specifications of purchased Product. Errors and Omissions. Information presented by Omron Companies has been checked and is believed to be accurate; however, no responsibility is assumed for clerical, typographical or proofreading errors or omissions.
OMRON ELECTRONICS LLC
1 Commerce Drive Schaumburg, IL 60173 847.843.7900
For US technical support or other inquiries: 800.556.6766
OMRON CANADA, INC.
885 Milner Avenue Toronto, Ontario M1B 5V8 416.286.6465
OMRON ON-LINE Global - www.omron.com USA - www.omron247.com Canada - www.omron.ca Brazil - www.omron.com.br Latin America - www.espanol.omron.com
UNITED STATES To locate a Regional Sales Office, local Distributor or to obtain product information, call: 847.843.7900 MEXICO SALES OFFICES Mexico, D.F. Ciudad Jurez Monterrey, N.L Quertaro Sao Paulo Cono Sur 555.660.3144 656.623.7083 818.377.4281 442.135.4510 55.11.2101.6310 54.114.787.1129 firstname.lastname@example.org
R144-E1-OMRON ELECTRONICS LLC Printed in the U.S.A. Specifications subject to change without notice.
BRAZIL SALES OFFICE ARGENTINA SALES OFFICE OTHER LATIN AMERICAN SALES
DP-1060 Andreas CQ-RDP965 Omega 900 XRS 9945 XM-280GTX 3711 FOD Nissan Cube HR-XV2 Function V2 USB F85060VI Projectors LE32R71B SA-AX530 Gates Software Combo 50 CSI Quantum 9920 CLP-300N DP-5090 YZ85-2003 6 Fire Picasa 2 Idvd 08 CQ-RD25 Classic KVT-819DVD Watch B877 LP-M5600F Digital ZWF14070W1 XNV-660BT KD-DV5000 SA5245BT CDI 2012 Tube MP Minolta 7145 Guitarfx Smart-SET PRO 2100 Finepix F440 RSG5furs ER8415B L62610 AQ12NAN Digimax I5 MPK-THD CV-3720S G Powerbank II 302mkii R-207 NAS-M90HD F2380M Proxima C175 Review CMT-CP1 Ezdock YFS200M FE87E AEG-electrolux KWA9 XV-N55SL V3 40 F-2900 I845GE ST-50 Master RDV-1050 DVP3010 Lide 700F SL-315TE BAR629HG Kodak C763 Finepix F810 Driver Seville 1995 YZF-R6s-2007 F-401 KDL-46XBR9 Musso DN-X1600 400TX W2306C XV-HTD640 CQ-VA7800N WX-S2000 ME-30 SLV-675HF KDL-32V1000 Pta61E Clarion 2 KX-TG6073 FX-7400G STR-SE581 Dmx-512 GZ-HD10 KV-21CE10K 50PT85 Nexstar 6SE Tenor
manuel d'instructions, Guide de l'utilisateur | Manual de instrucciones, Instrucciones de uso | Bedienungsanleitung, Bedienungsanleitung | Manual de Instruções, guia do usuário | инструкция | návod na použitie, Užívateľská príručka, návod k použití | bruksanvisningen | instrukcja, podręcznik użytkownika | kullanım kılavuzu, Kullanım | kézikönyv, használati útmutató | manuale di istruzioni, istruzioni d'uso | handleiding, gebruikershandleiding
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101