Omron CX-PROGRAMMER - INTRODUCTION GUIDE Introduction Manual
Omron CX-PROGRAMMER - INTRODUCTION GUIDE Introduction Manual

Omron CX-PROGRAMMER - INTRODUCTION GUIDE Introduction Manual

Advertisement

Advertisement

Table of Contents
loading

Summary of Contents for Omron CX-PROGRAMMER - INTRODUCTION GUIDE

  • Page 2 - You can display the PDF files from the [Start] menu on your desktop after installing the CX-Programmer. - The screen views used in this guide may be different from the actual view, and be subject to change without notice.
  • Page 3: Table Of Contents

    • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • • 1-10...
  • Page 4: Available Pc

    The download page is automatically displayed if an HLP help file is opened while the user is connected to the Internet. http://support.microsoft.com/kb/917607/en-us *2: Required memory (RAM) size depends on the size of your programs to be created. If the required memory (RAM) size is larger than your PC’s memory (RAM) size, operation of CX-Programmer might be slowed down.
  • Page 5: Available Device Types

    (one license (limited to micro PLCs)), only these PLC types are available. *2: CX-Programmer does not support SFC. *3: To connect with SYSMAC Board, specify the PLC types in parentheses. Only when selecting these PLC types, you can select “SYSMAC Board” as a network type.
  • Page 8: Installation

    • Installation takes about 5 to 20 minutes depending on your PC. (5 minutes for a PC with • Installation takes about 5 to 20 minutes depending on your PC. (5 minutes for a PC with CPU: Celeron2.2GHz, main memory: 512MB, and CD-ROM drive: 48x)
  • Page 9 CX-Programmer setup wizard is started. Click [Next]. [License Agreement] dialog box is displayed. Read the software license agreement carefully. If you agree with all items, select [I accept the terms of the license agreement] radio button and click [Next] button. Select the radio button.
  • Page 10 [Complete]. Click [Next]. Read the message and click [Next]. If OMRON FB Library is selected, [Choose Destination Location] dialog box of OMRON FB Library is displayed. [Ready to Install the Program] dialog box is displayed. Click [Install]. CX-Programmer installation is started.
  • Page 11 Startup new project settings to Startup new project settings program A dialog box (left) is displayed. Click [Finish] button to finish the installation wizard. Now installation is completed. By checking [Online registration] check box, you can proceed to Click [Finish].
  • Page 12: Online Registration

    *1: If you click [Exit] button to cancel online registration, [Online Registration] dialog box is displayed every time CX-Programmer is started. *2: If you do not have Internet environment, or you do not want to register online, fill and send the user registration card that comes with the product.
  • Page 13 MEMO...
  • Page 14: Startup Of Cx-Programmer

    Device type program to Startup new project settings to Startup new project settings program 2. Startup of CX-Programmer Windows task bar [Start] ↓ [Programs] ↓ [OMRON] ↓ [CX-One] ↓ [CX-Programmer] ↓ [CX-Programmer] The initial screen when starting up CX-Programmer is displayed.
  • Page 15: New Project Opening And Device Type Settings

    Startup new project settings to Startup new project settings program 3. New Project Opening and Device Type Settings Click the toolbar button [New] in CX-Programmer. Click Click the left mouse Click the left mouse button. button on the “Settings”...
  • Page 16: Main Window

    Dragging toolbars enables you to change the display positions by the group. Section Enables you to divide one program into a given number of blocks. Each can be created and displayed. Project Workspace Controls programs and data.
  • Page 17: Compatible Syswin Key Allocation

    SYSWIN. When SYSWIN key allocation is selected, a key operation guide will be displayed at the bottom of the display. When SYSWIN key allocation is selected, a key operation guide will be displayed at the bottom of the display.
  • Page 18 4-2. Section Section is a function to create/display a “block” of a program divided per function. It improves not only the visibility of a program but also the development productivity by reusing components if the program consists of similar controls, because copy and paste on the program tree are available.
  • Page 19 It is possible to go to each section (a ladder block) from a section list. As checking the global image (control flow) of a program on the section list, you can go to a specified section. Double-click a section that...
  • Page 20: Deletion And Display Of Unnecessary Windows

    4-3. Deletion and Display of Unnecessary Windows Normal screen To delete Project Workspace, Press from a keyboard Press [Alt]+[1] to show Project Workspace again. To delete Output Window, Press from a keyboard [ESC] or Press [Alt]+[2] to show Output Window again.
  • Page 21: Program Creation

    5. Program Creation Coding of a simple program is explained here.
  • Page 22: Entry Of Normally Open Contact

    Startup new project settings program After checking the cursor position at the upper left of Ladder Window, start programming. 5-1. Entry of Normally Open Contact Press [C] from a keyboard to open the [New Contact] dialog. 0 of the upper...
  • Page 23: Entry Of Coil

    Useful Function: Automatic check of duplicated coils Useful Function: Automatic check of duplicated coils If a duplicated coil is entered during program creation, the following message is If a duplicated coil is entered during program creation, the following message is displayed and you can notice that the coil is duplicated right away.
  • Page 24 2. Click the toolbar button [Show Program/Section Comments] to switch the display of the comments shown in the head row. Click 3. Select [Tools] | [Options] from the CX-Programmer menu. You can set hiding of the comment entry dialog. [Tools] -> [Options]...
  • Page 25: Edit Of Symbol Comment

    Copy&Paste and deletion of one or more comments are possible by the cell. Copy&Paste and deletion of one or more comments are possible by the cell. Drag the mouse with the Example of copying &...
  • Page 26: Entry Of Rung Comment

    Move the cursor to this position. (The rung is inverted in blue.) The entry screen shows up. [Process_at_Startup] Enter a rung comment. 5-5. Entry of Normally Closed Contact Press “/” from a keyboard to show the [New Closed Contact] dialog. Sensor 1...
  • Page 27: Entry Of Attached Comments

    Coil 1 5-6. Entry of Attached Comments This function is very useful for keeping change histories at maintenance and notes of debug bits at startup. Move the cursor to the contact to which you want to write an annotation.
  • Page 28: Entry Of Differential Contact

    5-7. Entry of Differential Contact…Up Click Click [Up]. This entry method is available only for CS/CJ and CV series PLCs. For the other series PLCs, use DIFU (13). 5-8. Entry of Differential Contact…Down Click Click [Down]. This entry method is available only for CS/CJ and CV series PLCs.
  • Page 29: Entry Of Vertical

    Device type Creating a Creating a Installation Opening a Device type program to Startup new project settings to Startup new project settings program 5-9. Entry of Vertical…Up ↑ Ctrl Coil 2 Coil 3 5-10. Entry of Vertical…Down ← ↓ Ctrl...
  • Page 30: Entry Of Advanced Instructions 1 - Entry Of Strings

    Startup new project settings program 5-11. Entry of Advanced Instructions 1 - Entry of Strings Show the [New Instruction] dialog. Enter an instruction and its operand. ++ d0 See the next page for the contents of instructions.
  • Page 31: Entry Of Advanced Instructions 1 - Useful Functions

    Startup new project settings to Startup new project settings program 5-12. Entry of Advanced Instructions 1 - Useful Functions Click Instruction Help Function Click The reference guide screen of the instruction shows up. Find Instruction Function Click The list of advanced instructions per function shows up.
  • Page 32: Entry Of Auxiliary Relay - 1.0 Second Clock Pulse Bit

    Installation Opening a Device type program to Startup new project settings to Startup new project settings program 5-13. Entry of Auxiliary Relay - 1.0 Second Clock Pulse Bit Show the [New Contact] dialog. Click Select [P_1s] from the pull-down menu.
  • Page 33 Refer to the former pages to execute coding. 5-14. Entry of Advanced Instructions 2 - Entry of Differential Instructions Differential Instructions…Instructions executed in only one scan when running a program. Show the [New Instruction] dialog. Enter @MOV D100 Attach @ (at mark) Attach @ (at mark) before instructions.
  • Page 34: Entry Of Or Rung

    Startup new project settings program Refer to the former pages to execute coding. 5-15. Entry of OR Rung Entry of comments is omitted here. ↑ ↑ Refer to the section 5- Refer to the section 5- 6 to enter annotations.
  • Page 35: Entry Of Advanced Instructions 3 - Entry By Fun No

    Startup new project settings program 5-16. Entry of Advanced Instructions 3 - Entry by Fun No. Show the [New Instruction] dialog. Show the [New Instruction] dialog. The instruction The instruction corresponding to the corresponding to the entered Fun No.
  • Page 36: Entry Of Timer Instructions

    Refer to the former pages to enter pages to enter rungs and rungs and comments. comments. 5-17. Entry of Timer Instructions Entry of a Timer bit *T0: Indicates TIM0. Enter a comment. Timer 1 Entry of a Timer instruction TIM 0 #30...
  • Page 37: Entry Of Counter Instructions

    Refer to the former Refer to the former pages to execute pages to execute coding. coding. 5-18. Entry of Counter Instructions Entry of a Counter instruction CNT 0 #5 Move the cursor by using arrow keys or a mouse. Enter a bit for reset.
  • Page 38: Edit Of Rungs

    You do not need to enter an END You do not need to enter an END instruction. instruction. Note: The END section is not generated when you load a program created with CX-Programmer V2 or the former versions.
  • Page 40: Program Error Check (Compile)

    Output Window automatically opens at program check. Modify the error. Modify the error. The cursor moves to an error location by pressing J or F4 key. Output Window closes by pressing the ESC key.
  • Page 41: Going Online

    CX-Programmer provides three kinds of connecting methods 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.
  • Page 42: Monitoring

    Transfer Force Off Check Edit 3. Monitoring Change the PLC Change the PLC The on/off statuses of contacts and coils are monitored. (simulator) to (simulator) to Monitor Mode. Monitor Mode. Click If your program has a large volume of data, the scroll speed of the screen may become slow when monitoring.
  • Page 43: Monitoring - 2 Monitoring Many Locations In Program At Once

    Force Off Check Edit 4. Monitoring - 2 Monitoring Many Locations in Program at Once You can split Ladder Window and monitor more than one location in a program at once. Move the mouse Move the mouse pointer to the arrow...
  • Page 44: Monitoring - 4 Watch Window

    Edit to Transfer Force Off Check Edit 6. Monitoring - 4 Watch Window I/O monitoring of the addresses specified in Watch Window is executed. Display Watch Window. Enter a bit number that you want to monitor. Press the ENT key continuously for auto increment of addresses.
  • Page 45 Present Value Change and Binary Monitoring in Watch Window The present values of bits and words are changed in Watch Window. In Watch Window, binary monitoring is possible for the data that can be treated by the word. Double-click the mouse.
  • Page 46: Useful Functions Of Watch Window

    Watch Window has a function that classifies and displays data in sheets like MS- EXCEL and names each sheet given names. This function is useful for debug or startup if you gather and manage the bits and words you want to check as one block in one sheet.
  • Page 47: Monitoring - 6 Watch Window

    Transfer Force Off Check Edit 9. Monitoring - 6 Watch Window - 2 Drag & Drop from Ladder Diagram enables you to add an address to be monitored. Move the mouse Move the mouse cursor to this cursor to this position.
  • Page 48: Monitoring - 7 Rung-Wrap Of Long Rung On Display

    Force Off Check Edit 10. Monitoring - 7 Rung-wrap of Long Rung on Display This function makes a rung longer than the right bus bar as shown in the below figure wrap when displayed. Select [View] -> [Show in RungWrap].
  • Page 49: Monitoring - 8 Differential Monitor

    The function detects differential up/down of a specified bit and indicates that differential conditions are satisfied by sound or display. The function eliminates the use of a trap rung for checking operation and improves the efficiency of programming and debug operations.
  • Page 50: Force On/Off

    13. Displaying List of Forced-on/off Bits Ctrl+K: Force Off The bits forced on/off can be listed in a table. This function enables you to check the forced statuses of more than one bit at a glance. Display Project Workspace. [Alt] + 1 Double-click [Memory].
  • Page 51: Changing Set Value Of Timer

    Check Edit 14. Changing Set Value of Timer The set value of a timer is changed while CPU is running (in the Monitor mode only). Move the cursor to the set value of a timer. Enter the new set value #100.
  • Page 52 16. Find Function - 1 Find from Address Reference Tool Display Address Reference Tool. Reference Enter a bit number that you Enter a bit number that you want to find in the [Address] want to find in the [Address] Click field.
  • Page 53: Find Function - 2 Retrace Find Of Ladders

    The function retraces ladder rungs so that you can find the causes of the coils not turned on. (1)The reason why the coil 3.00 is not turned on is that its contact 2.00 is not turned on. Therefore, the function retraces rungs to find the coil 2.00.
  • Page 54 Press the [Space] key to jump from a coil to a contact having the same address as the coil or from a contact to a coil in reverse. Press the [N] key for another jump from a contact or coil at the cursor position to a next one having the same address.
  • Page 55: Find Function - 3 Find By Keyword In Comment

    18. Find Function - 3 Find by Keyword in Comment If you enter an operator’s name or an operation date in annotations as a note at startup or maintenance, this function finds the bit or word that the name or date is used and displays the result on Output Window.
  • Page 56: Find Function - 4 Go To Rung Comment

    19. Find Function - 4 Go To Rung Comment This is a function that displays a list of rung comments on the screen and moves the cursor to the position where a selected rung comment is used in the ladder.
  • Page 57: Find Function - 5 Find Bit Addresses

    Force Off Check Edit to Transfer Force Off Check Edit 20. Find Function - 5 Find Bit Addresses Click the right mouse button on Ladder Window. Select [Find Bit Addresses] from Find Addresses and Find the popup menu. Mnemonics are also available.
  • Page 58 (2) Select [Program] -> [Online Edit] -> [Begin] from the CX-Programmer menu. Double-click Double-click (3) Enter a bit number (4.11 in this example) you want to edit to. (4) Select [Program] -> [Online Edit] -> [Send Changes] from the menu.
  • Page 59: Useful Functions

    Useful Functions You can select either vertical or horizontal display of output instructions. Vertical display of output instructions [Tools(T)] -> [Options(O)] Check the [Show Check the [Show output instructions output instructions horizontally (Z)] box. horizontally (Z)] box. Horizontal display of output instructions...

This manual is also suitable for:

Cx-programmer

Table of Contents