User manual OMRON WS02-CXPC1-V8

Lastmanuals 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... DON'T FORGET : ALWAYS READ THE USER GUIDE BEFORE BUYING !!!

If this document matches the user guide, instructions manual or user manual, feature sets, schematics you are looking for, download it now. Lastmanuals provides you a fast and easy access to the user manual OMRON WS02-CXPC1-V8. We hope that this OMRON WS02-CXPC1-V8 user guide will be useful to you.

Lastmanuals help download the user guide OMRON WS02-CXPC1-V8.


Mode d'emploi OMRON WS02-CXPC1-V8
Download

You may also download the following manuals related to this product:

   OMRON WS02-CXPC1-V8 V8.1 REV 02-2009 (3166 ko)

Manual abstract: user guide OMRON WS02-CXPC1-V8

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

[. . . ] W447-E1-08 SYSMAC CX-Programmer Ver. 8. 1 WS02-CXPC1-V8 OPERATION MANUAL Function Blocks/ Structured Text CX-Programmer Ver. 8. 1 WS02-CXPC1-V8 Operation Manual Function Blocks/Structured Text Revised February 2009 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. [. . . ] Compile the function block that has been saved. Save the function block as a function block definition file (. cxf). Read the file into another PLC project. Transferring the Program to the PLC Refer to 3-2-17 Downloading/Uploading Programs to the Actual CPU Unit. Monitoring and Debugging the Function Block Refer to 3-2-18 Monitoring and Debugging Function Blocks. 81 Procedures Section 3-2 3-2 3-2-1 Procedures Creating a Project Creating New Projects with CX-Programmer 1, 2, 3. . . Start the CX-Programmer and select New from the File Menu. In the Change PLC Window, select a Device Type that supports function blocks. These are listed in the following table. Device CJ2H CS1G-H CS1H-H CJ1G-H CJ1H-H CJ1M CP1H CP1L NSJ CPU CPU68/67/66/65/64/68-EIP/67-EIP/66-EIP/65-EIP/64-EIP CPU42H/43H/44H/45H CPU63H/64H/65H/66H/67H CPU42H/43H/44H/45H CPU65H/66H/67H/64H-R/65H-R/66H-R/67H-R CPU11/12/13/21/22/23 CP1H-XA/X/Y CP1L-M/L G5D (Used for the NSJ5-TQ0@-G5D, NSJ5-SQ0@-G5D, NSJ8TV0@-G5D, NSJ10-TV0@-G5D, and NSJ12-TS0@-G5D) M3D (Used for the NSJ5-TQ0@-M3D, NSJ5-SQ0@-M3D, and NSJ8-TV0@-M3D) FQM1-CM002 FQM1-MMA22 FQM1-MMP22 FQM1-CM FQM1-MMA FQM1-MMP 3. Press the Settings Button and select the CPU Type. For details on other settings, refer to the CX-Programmer Operation Manual (W446). 3-2-2 Creating a New Function Block Definition 1, 2, 3. . . When a project is created, a Function Blocks icon will appear in the project workspace as shown below. Function Blocks will appear under the PLC. 2. Function block definitions are created by inserting function block definitions after the Function Blocks icon. Creating Function Block Definitions Function blocks can be defined by the user using either ladder programming or structured text. 82 Procedures Section 3-2 Creating (Inserting) Function Block Definitions with Ladders 1. Select Function Blocks in the project workspace, right-click, and select Insert Function Blocks - Ladder from the pop-up menu. (Or select Function Block - Ladder from the Insert Menu. ) Creating (Inserting) Function Block Definitions with Structured Text 1. Select Function Blocks in the project workspace, right-click, and select Insert Function Blocks - Structured Text from the pop-up menu. (Or select Function Block - Structured Text from the Insert Menu. ) FunctionBlock1 is displayed as the Icon under the Function Blocks Icon ( ). 2. A function block called FunctionBlock1 will be automatically inserted either after the for ladder programming language (default) or the for ST language. This icon contains the definitions for the newly created (inserted) function block. Whenever a function block definition is created, the name FunctionBlock@ will be assigned automatically, where @ is a serial number. All names must contain no more than 64 characters. Using OMRON FB Library Files Use the following procedure to insert OMRON FB Library files (. cxf). Select Function Blocks in the project workspace, right-click, and select Insert Function Blocks - Library File from the pop-up menu. (Or select Function Block - Library File from the Insert Menu. ) 2. The following Select Function Block Library File Dialog Box will be displayed. Note To specify the default folder (file location) in the Function Block Library File Dialog Box, select Tools - Options, click the General Tab and the select the default file in the OMRON FB library storage location field. 3. [. . . ] 0 Use serial port 2 P_ComInstEnable (* Communications Port Enable Flag *)*) AT A202. 07 Use port 7 (* Use the following: Unit number: 0, Serial port number: 2, Logical port number: 7 *) (* Receive data when P_DoRecvData is ON and iProcess is 0 *) IF (P_DoRecvData = TRUE) AND (iProcess = 0) THEN iProcess := 1; P_DoRecvData := FALSE; END_IF; (* Execute receive processing according to process number *) CASE iProcess OF 1: (* Reception function executed if Communications Enabled Flag and Reception Completed Flag are ON. *); IF (P_ComInstEnable = TRUE) AND (P_RXDU_Recv = TRUE) THEN RXD_SCU(Message, 16, 0, 2, 7); iProcess := 2; END_IF; 2: (* Reception has been completed if Communications Port Enable Flag is ON *) IF P_ComInstEnable = TRUE THEN iProcess := 0; END_IF; END_CASE; 199 Function Descriptions Appendix C Related Auxiliary Area Flag Communications Instruction Enable Flag Address A202. 00 to A202. 07 ON when network communications can be executed. The bit numbers correspond directly to the internal logic port numbers Bits 00 to 07: Internal logic ports 0 to 7 Related CPU Bus Unit Area bits n = CIO 150 + 25 x unit number 06 Port 1: n+9 Port 2: n+19 n = CIO 150 + 25 x unit number 07 Port 1: n+9 Port 2: n+19 n = CIO 150 + 25 x unit number --Port 1: n+10 Port 2: n+20 Bit ON when reception has been completed in no-protocol mode. ON when a data overflow occurred during reception in no-protocol mode. Contains the number of characters received in no-protocol mode. For further information and precautions on related Auxiliary Area flags, refer to the section on RXDU Serial Communications Instruction in the CS/CJ-series Instruction Reference Manual. Angle Conversion Functions DEG_TO_RAD: Convert Degrees to Radians · Function Converts an angle in degrees to radians. [. . . ]

DISCLAIMER TO DOWNLOAD THE USER GUIDE OMRON WS02-CXPC1-V8

Lastmanuals 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...
In any way can't Lastmanuals 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. Lastmanuals, for instance, does not offer a translation service.

Click on "Download the user manual" at the end of this Contract if you accept its terms, the downloading of the manual OMRON WS02-CXPC1-V8 will begin.

Search for a user manual

 

Copyright © 2015 - LastManuals - All Rights Reserved.
Designated trademarks and brands are the property of their respective owners.

flag