
Quick Start Instruction
OMRONE
Cx Programmer QS

Quick start instruction OMRON
OMRON equipment is manufactured for use in accordance with the appropriate procedures by a qualified user and only for the purposes described in the product manuals.
The goal of this quick start instruction is to help you as a user quickly on your way. This manual pays attention to installing Cx-Programmer and entering, downloading and testing an application.
It is assumed that you are using a CQM1-CPU21 PLC. If the examples in this manual are used on PLCs other than a CQM1 then examples cannot work. Used examples enable and disable outputs of the PLC. Never test these programs in an already installed PLC. This can cause damage to your installation.
It is assumed that you have some experience in using an OMRON PLC. No explanation is given about shown PLC preview programs. For information on the operation of the instructions used, please refer to the relevant PLC documentation.
Names of OMRON products start with a capital letter in this manual.
The word unit is used to designate an OMRON product, regardless of whether the word unit appears in the name of the product.
Letters from Hotkeys or menu options of Cx-Programmer are included in Italic The following table shows the results of this study:
Cx-Programmer is a new software package for programming OMRON PLCs. This manual will help you get started using Cx-Programmer. Various OMRON manuals describe the PLC programming structure and the instructions set in detail. For detailed information on Cx-Programmer, you need to use the manual of Cx programmer. This manual is only meant to help you get on the road quickly and does not intend to give all information about Cx-Programmer.
CX-Programmer is equipped with a context sensitive on-line help system that complements the manual and helps you quickly get back on track if you run into something while using it and do not have the manual.
It is assumed that the user of this manual has some experience with Microsoft Windows and knows how:
− Keyboard and mouse should be used. − Options from the menu must be selected. − Windows Dialogues work. − Files must be found, opened and saved. − Things can be edited, cut, copied and pasted. − The main features of Windows work.
When Microsoft Windows has not been used before, it is recommended that the user spend some time reading Microsoft documentation before starting using Cx- Programmer.
This manual assumes that you have some practical knowledge of OMRON PLCS.
Section 2: installing Cx-Programmer.
Section 3: This section explains how a new project should be set up, how to implement, send, test and modify a program to the PLC.
Section 4: import a SYSWIN program and the options available to optimally configure Cx-Programmer for your use.

OMRON Quick start instruction
© OMRONE 2000, OMRONE ELECTRONICS, FOR EXAMPLE All rights reserved.
OMRON Cx-Programmer Quick Start instruction Publication November 2000
Document reference NLMAN-Cx-Programmer fast start Revision 1
The information contained in this document has been thoroughly verified. However, OMRON cannot accept any liability for any incorrectness or incompleteness of this manual. Furthermore, OMRON has the right to make changes to the product and manual unannounced in order to improve reliability, functionality and design of the manual and/or product. OMRON shall not be liable for any damage which may result from the use of this manual, nor may it transfer any patent license or rights of others.
OMRON is a registered trademark of OMron Corporation.
This guide has been given the greatest possible care. If any inaccuracies or uncertainties are mentioned despite this concern, we expressly do not hold ourselves liable for any consequences. We are not recommending any suggestions for improvement.

1 Nice to meet you 5 1.1 CX-Programmer features 5 1.2 System supplies 6 1.3 Technical support 6
Install 2 Cx-Programmer 7 2.1 Install 7 2.2 Start-up and first introduction 8
3 Writing a program 9 3.1 Example programme 9 3.2 The introduction of the Programme 9
3.2.1 Entering contacts and exits 10 3.2.2 Horizontal and vertical lines 11 3.2.3 Instructions 11 3.3 Work Online 11
3.3.1 Setting up a program 12 3.3.2 PLC mode 13 3.3.3 Testing the program 14 3.4 Other functions 14
3.4.1 Inserting contacts 14 3.4.2 Undoing operations 15 3.4.3 Contact comments 15 3.4.4 Network comment 15 3.5 Functions for testing a program 15
3.5.1 Managing numbers and bits 15 3.5.2 Online Edit 17
4 Other functions 18 4.1 Importing a SYSWIN program 18 4.2 Setting up Cx-Programmer 18 4.3 Setting function keys 19 4.4 Cross reference 19 4.5 Memory 20
Contents OMRON

OMRON Nice to meet you.
This section describes the general operation of Cx-Programmer software and provides information about the environment to be used and minimum configuration required for Cx programmer to work satisfactorily.
OMRON CX Programmer CX-Programmer is a program for the creation, testing and maintenance of OMRON CS1 series, CV Series and C Series PLCs. The programme provides the facilities necessary to support these PLCs and the various networks that can be used to communicate with these PLCCs.
CX-Programmer is the successor to SYSWIN. The list below describes important features as they are present in Cx-Programmer.
. Support for the new CS1 series PLCs. . Support for C series and CV series PLCs. . Communication is handled entirely by the CX-Server application.
This makes it possible that two applications communicate with the same PLC at the same time. . • Cx-Programmer can be started more than once at the same time. . A project may consist of more than one PLC program. . It is possible to use multiple windows on the program within a project
having an open mind. . Symbol data types. This allows to the komate of a PLC address
declare, so that a program check can be performed at inconsistent address usage. . On-line editing of multiple rungs in one operation. . . Automatically assigning addresses for auxiliary bits. . The content of a project is shown as a hierarchy of objects
(symbols, IO tables, PLC settings, Memory Card, Error Log, PL C memory). . . User-friendly Microsoft Windows 95 interface with configurable
buttonbar, drag/drop, default system menu and where frequently used options are located in a right click menu. . .Full . and .Junior . functionality modes. To ensure full functionality
You must have a license code to use. Without this license code, Cx-Programmer only supports the CPM1, CPM2* and SRM1 PLCs. . Cross referencing can be switched on continuously so you can navigate quickly
to an exit or other contact with the same address of the contact on which the cursor is located. . The created object code can be written to a file. In a
CS1 is easy to transfer this code through a compact flash card to the PLC. . A programme can be divided into • sections • A big program
is easier to read this way. . Search and replace is improved. It is possible to give up wildcards and
to give up series. . An improved ladder and mnemonic editor with good zoom functions. . It is possible to set the format and amount of information that are in
the ladder diagram is shown. Showing comments can be turned on and off quickly. . The ladder editor automatically aligns the networks to the right as the network
is correct and abandoned. . . Using color - global and local symbols can change color
get into the ladder / mnemonic editors. . . Errors in a ladder diagram are defined by the user
color shown. . The shortcut keys and toolbars can be set to your own wishes.

Nice to meet you OMRON
. Improved •ga to •opportunities. Go to an entrance or exit with
a certain address and go back or head to a particular rung or some commentary rung. . . Monitoring can be paused or frozen to the logic of a
The Commission has also proposed a programme for the study of this subject. . Comment can be entered in ladder diagram elements as a
contact or exit. . . Addresses included in the PLC I/O table are shown with an I /
Q prefix in the programming room. . It is possible to determine what is shown on the separation of a
editing window . . the same type of view, ladder/mnemonic, or local symbol table. . . Easy import and export of symbols to spreadsheets or
word processor.
CX-Programmer works on an IBM compatible personal computer with a Pentium or better processor. Cx-Programmer works in a Microsoft Windows environment (Microsoft Windows 95, 98 or Microsoft WindowS NT 4.0 Service Pack 3 or later).
The following configuration is recommended as a minimum system environment to work with Cx-Programmer:
. IBM PC-AT compatible or NEC PC-98 compatible computer; . . Pentium class CPU operating at 90 Megahertz (MHz) or faster; ." Minimum 16 Megabytes (Mb) Random Access Memory (RAM), depending on
The size of the program can be increased; . . hard disk with a minimum of 40 Mb free space; . 800 x 600 SVGA or higher resolution display is recommended; ♪ Microsoft Windows 95, 98 or NT 4.0 (Service Pack 3+).
Although all keyboard actions can be performed, using a mouse is recommended.
Please refer to the on-line help for a list of keyboard shortcut commands.
The amount of RAM and hard disk space depends on the size of the written PLC program, a rule of thumb is about 1Kb per instruction.
When installation instructions for this application have been followed (please consult chapter Install 2 Cx Programmer On page 7, there will be no problems. However, do not hesitate to run a problem while installing Cx- Programmer consult the helpdesk. If a problem occurs, check that the error has no cause outside Cx-Programmer. First check the following items:
. The computer works correctly. . The PLC works correctly. . The communication is well set and properly connected. . The errors in the PLC have been erased.
When the helpdesk is consulted, keep the following information at hand:
. A clear and concise description of the problem together with its exact
text of encountered error messages . . The four digit version number as shown at the bottom of the About dialog
becomes . . The registration number as shown in the About dialog.

OMRON Cx Programmer Install
This section describes how to install Cx-Programmer. This description assumes that you will install the English version of Cx-Programmer on a PC running the English versions of Windows 95. If your PC works on another Operating System or if the language you select is different from that of texts and images, it may vary here and there.
Cx-Programmer comes on a CDROM. Installing Cx-Programmer will be automatically started when the CDROM is inserted into the drive. If this feature is disabled on your PC, it will be explained in the first steps of this section how to install the program manually. The steps below explain the most important phases during installation. Some dialogs you will see during installation are not shown here. These dialogues only include a Next button that you can use to get the next dialog displayed or the purpose of the dialog is so clear that no further explanation is required.
1, 2, 3… 1. Place the CD in CDROM drive.



Cx Programmer Install OMRON
Cx Server After installing Cx-Programmer, it will automatically start installing CX-Server. When your computer works under Windows 95, an older version of (DCOM) will probably be installed.
After installing, Cx-Programmer can be started. The method is to reduce the Start button from the Task bar to use. Choose the Programs option, then choose the OMRON folder and in it the Cx-Programmer folder. Then click on the icon of the program Cx-Programmer from this folder. The following figure shows the different parts of Cx-Programmer.

Global Symbols PLC Setup Function Mapping Memory (data display) Program Sections (blocks)
Ladder Editor Output Window
Project Workspace Toolbars

OMRON Writing a Program
This section does not explain how to write a program but how to enter it into Cx-Programmer. You are expected to have experience with SYSWIN. In a number of places in the text, you can see what the differences between Cx-Programmer and SYSWIN are.
The function key definitions used by Cx-Programmer are different from those of SYSWIN. If you want to use the keys as used in SYSWIN, please read chapter 4.3 Setting function keys Read on page 19 how to do this.
000.02 000.03 100.01
TIM000
000.07 000.08
CNT511
END(01)
Start a new project The first action when introducing a program is to start a new project. This is realized by using the menu File the option New select or the icon new project. After selecting this option, the next window will appear.

In this window, the CPU and way of communicating can be selected. Also a name can be given to the PLC. With the button Settings next to the PLC
#0010 · #0010

Writing a program OMRON
choice opens a next window. This window should capture the exact PLC type that is programmed. In SYSWIN, it was possible to connect with the PLC if the selected PLC and the existing PLC did not match. This is not possible in Cx-Programmer.

When saving a program, the selected settings are stored in the project. So the choices only need to be made once. Of course, it is possible to change the institutions that have been created afterwards. This is done by right clicking on the CPU icon and using the option change te kiezen.
Create Network After starting a new project, there is only one (empty) network present. The pilot programme consists of five networks. It is possible to start programming new networks, but Cx-Programmer automatically creates a new network when working in the bottom network. It is only necessary to add networks if they are inserted.
Mouse/Speechboard In this manual, the keyboard will be used as much as possible. In the margin of the text is usually shown the drawing that is on the button with which to obtain the same effect.
If the first contact with the keyboard is entered, then the cursor must be placed on the left against the . After operating C and entering the contact number will place the contact on screen at the location of the cursor.
To place a contact on the mouse screen, click the button with the contact on your instruction bar. The first contact of the network must be placed on the bus line. To place a contact on the screen, click with mouse at the location where you need to get in touch. A new window will appear in the screen.

Instead of the buttons OK and Cancel can test the enter (OK) and escape (Cancel) of the keyboard.

OMRON Writing a Program
Name or Address On the field Name or address the address of first contact (this is 0.00 or 0) can be entered. After entering the address, you can place first contact on the screen with the enter key.
Place Output The output behind the contact is drawn in the same way. For selecting an output, the O is used. Outputs must be placed immediately following the condition. This is basically true for all instructions that can be placed on the screen. Opening lines on the screen is allowed, but will be marked as error by the compiler.
Program test If the first network is entered, if it is going to the next network and the network is correct, then the bus bar will not be red anymore.
The keyboard can be used with Shift+R or R a new network is created above or below the current one, respectively.
Vertical Horizontal and vertical lines are found in the networks to be programmed. The vertical line is drawn with the V. This vertical line is drawn on the screen at the beginning of the cursor from top to bottom. To remove a vertical line, the same line can be drawn over the existing one. With Shift+V a vertical line is drawn but upwards.
Horizontal Horizontal lines are drawn with the H. A horizontal line is drawn on the screen at the cursor location. Horizontal lines are removed by drawing a horizontal line over them.
In the second network a TIM instruction is placed. Instructions are programmed with the button I(i) on the keyboard. In SYSWIN, timers and counters have their own button in the button bar. This is not the case in Cx-Programmer. Timers and counters are also programmed as Instruction. After importation of the I the next window will appear.

Entering a function On the field Instruction the number or name of the desired function can be entered. For the timer instruction this is the text TIM. If the name or number of the function is not known, you can use a button to create this feature. Find Instruction to be visited. After selecting the desired function, fill in the operands present.
After the program is entered it must be sent to the PLC. This is called downloading. Before downloading can be started, check that the communication is set up correctly.
Work Online This can be done initially by using the PLC menu option Work Online to be carried out. At that time, it is checked whether under the last used

Writing a program OMRON
settings (for this program) a PLC is found. If the PLC is not found among these settings then the communication settings must be checked.

Configure Communication The Project workspace contains the PLC. By double-clicking on this, it opens Change PLC window. With Network Type is to specify how communication is to be communicated. And with the button Settings In addition, the port settings can be made.
Default Setting The default setting for OMRON PLC is SYSMAC WAY, 9600 Baud, 1 start-, 7 data-, 2 stopbits and even parity. If this is set, it can be confirmed with OK.
Connect to PLC By choosing Work Online from the PLC menu, you can connect to the PL C. This can also be done by right-clicking on the relevant PLC in the project workspace and then Work Online select whether the Work Online use icon in the buttonbar.
Wrong PLC selected When Cx-Programmer detects that another type of PLC is hanging on the RS232 port then a notification . . The connected PLC type xxxxx does not match the project . PLC Type .
3.3.1 Downloading a program.
When the PLC is on-line, you can download it. This is done with the option Transfer in the pull-down menu PLC or right-click on the relevant PLC in the project workspace and then Transfer select or use the icon Transfer to PLC. Before downloading, some options need to be set.

Programs It's the ladder program.
Expansion Functions If the PLC expansion functions are modified, they must be sent to the PL C.
Settings These are the CPU settings and do not always need to be sent along. Only if changes have been made to this system and are not yet made to the PLC

OMRON Writing a Program
The Commission has already sent a report to the Council on this matter. The serial port settings and optional cards are also set here.
I/O Table With the CV and CS1 models, the I/O configuration can be pre-configured and then sent to the PLC.
Symbols Some PLCs allow the symbols to be sent to the PLC. Uploading from the PLC will then retain them.
Shows the default Some PLCs allow the network comments to be sent to the PLC.
Clear Program memory When the program is downloaded, this option will automatically be enabled. Cx-Programmer will erase PLC's program memory for downloading the program. This prevents parts of previous programs from still being stored in PLC memory.
Mode For downloading, the PLC must be in program mode. If the PLC is not in program mode, Cx-Programmer will ask if it can be put into program mode before downloading. After downloading, the question arises as to whether the PLC should be put back in the mode it had before downloading.
After setting the desired options, the program is compiled and sent to the PLC. During downloading the program a window is shown with a percentage message.

When the download of the program is complete, the accompanying notification will appear. After operating the OK button, the program can be executed.

Change mode After downloading, the PLC must be put back in RUN or MONITOR mode so that the program is running. When the PLC was not in program mode before downloading, after downloading it will be asked whether to put the PLc back into old mode (run or monitor).
When the PLC was in program mode before downloading, it will have to change its mode after downloading. This has to happen with the buttons. This can also be done via the keyboard with key combinations Ctrl+1 (Program), Ctrl+2 (Debug), Ctrl+3 (Monitor) and Ctrl+4 (Run). Also with the choice Operating Mode in the menu PLC or the right-click PLC in Project Workspace can be changed.

Writing a program OMRON
The PLC can be in 4 modes: Run In run mode, the program is executed in PLC. From the software package you can see what the program does, but nothing must be changed. Monitor In the monitor mode, the program is also executed in the PLC. From the software package you can see what the program does and changes to the program and data in the PLC can be made. Debug The CV series has a special debug stand for finding errors. Program In program mode the program is not executed in PLC. In this mode, the program can be changed in PLC and data in PLc. Downloading a program is only possible in programme mode.
3.3.3 Testing the program.
After entering the program it can be tested. During testing, it is possible to view the status of contacts in the PLC on screen. This is done by the option Monitoring in the menu Online The Commission has also proposed to the Council that it be amended accordingly. Below is an example of monitoring (networks other than the sample program in this manual).

When monitoring, active contacts are colored on the screen. During the test, it is possible to run a program with PageUp and PageDown and the cursor keys on the keyboard.
There may always be contacts in a program between them. This can be a single contact or a row of contacts. If there is no room at the location where contact should be made then this space must be created. This is done by operating the Ctrl+ALT key in combination with one of the cursor keys

OMRON Writing a Program
Ctrl+ALT+Open a column. At the location of the cursor a vertical orbit on the screen is released. All drawn lines on the screen are then pulled through.
Ctrl+ALT+Ð Open a row. At the location of the cursor, a horizontal path is released on the screen. All drawn lines on the screen are then pulled through.
Ctrl+ALT+I Delete a column. At the location of the cursor, a vertical orbit is removed on the screen. All contacts, lines, outputs and functions drawn in this runway are removed.
Ctrl+ALT+¡ Remove a row. At the location of the cursor, a horizontal path is removed on the screen. All contacts, lines, outputs and functions drawn in this runway are removed.
Undo With the control of the key Undo can be undone an action committed in the package.
Redo With the Redo function can actions that include the Undo undo the keys are recovered.
The symbols dialog can provide contacts with symbols. Double-click on the symbols icon under the PLC in the project workspace. New symbols can be entered in the window that is shown. Right-click in the list. Choose Insert Symbol and enter the desired address with the name.
There are two ways to comment on a network. With the mouse, right-clicking on the bus bar and choosing Properties in the menu shown. By putting the cursor on the bus bar (for first contact) and by placing it in a Alt+Enter press. The dialogue that appears can include the comments of the network.

For testing a program we can use some features of Cx- Programmer.
When monitoring is on (menu PLC option Monitor) can be manipulated numbers and bits in the PLC. In the example program used earlier, a counter instruction is programmed in the fourth network. Right click on the counter value, this is the middle field of the instruction. A menu appears, choose the option Set and then Value, a dialogue appears in which a new value can be entered. See figure below.

Writing a program OMRON

Type the value 123 and control the Set button. The value 123 is then written to the PLC as a new current value of the counter.
Note This method adjusts the current value of the counter. When the counter is reset, the counter takes its original set value. In this program, that is #0010. Also of timers can be adjusted in this way the current value. However, timers are reset when the execution condition is low. So timers can only be adjusted if the execution condition is high.
When right mouse clicks on a bit address, as found with contacts, outputs and functions with bit parameters, a menu will appear, which allows the options Set or Force The Commission has already made a number of proposals.
Option Force:
On, forces a bit high and blocks it - the set position. Off, forces a bit layer and blocks it - the reset position. Cancel, frees a forced bit from its blocked state. Cancel All Forces, frees all forced bits from their blocked
condition. Option Set:
On, set a bit high until the status is changed by program Off, put a bit layer until the status is changed by the program
The example below shows the setting, resetting of a contact:


OMRON Writing a Program
Working online on networks gives you the opportunity to change a network directly. It is one of the fastest ways to complete or control a project. When the PLC is in monitor mode you are able to make all kinds of changes to the program, as if you are not working online. The difference is that, when the network is finished, it has to be downloaded to the PLC. If necessary, the previous version of the network will be replaced while the PLC executes the program.
In our example program, we will change a counter value in the fourth network from #0010 to #0040.
To be able to use online edit in Cx-Programmer, it must Program •Online edit •Start Activate command. The network in which the cursor is located can then be edited, it is desirable to edit more networks at once and select them first and then choose online-edit.
If the operations are finished, then we must Program •Online edit •Send changes the changes are sent to the PLC.
If operations have been carried out, but should not be sent to the PLC, then you can use Program .Online Edit .Cancel the online edit action is aborted.

In this section some other commonly used (or useful) options are explained in the program.
Importing a SYSWIN program is very easy in Cx-Programmer. Select the menu File .Open. With Files or type is SYSWIN 3.x Project (*.SWP) selected. Select the desired SYSWIN file and open it.
Cx-Programmer can be customized. The default windows shown can all be resized, turned off or floated. If a window is removed and must be put back again, you will find it in the menu View .Windows. In addition, a number of cases have been identified through the Tools .. Set menu. The main issues are shown below.

Show network separation Monitor data always hexadecimal Cross refencing always active
(slower program but data found faster) Show right busbar
(Ladder diagram is also directly aligned right) Width of the ladder diagram
Always align the program to maximum width

Safety mode, confirm all operations
which affect PLC
indicate the sections
to comment
Other functions OMRON · Download marking instructions to · Downloading CMNT instructions


Click on the element to change
to adjust it
Font used for the ladder diagram Width of cells
(These institutions will also be
used for printing)

Show the name of a bit or word
and where to place it
Show the address of a bit or word
and where to place it
Show the comment of a bit or word and where to place it
The function key definitions used in Cx-Programmer are different from those used in SYSWIN. In the menu Tools .. these keys can be set.

One or more shortcuts may be allocated to each macro. Select a macro, control the key Create shortcut, press the keyboard on the keys you want to assign to this macro and confirm it.
The cross reference can be used to quickly find locations where a particular word or bit has been used. In the option menu cross referencing can always be enabled
OMRON Other functions

The Commission has already taken a decision on this matter. If this option is disabled, cross referencing is only active if the cross refence window is open.

In the cross reference window, all locations where the word or bit on which the cursor is located are displayed in the program. Via the menu Edit .Goto you can control the options of the cross reference window. (You can also simply click to list the contacts). From the menu you can choose next reference, next input, next output or go back to your previous location.
The memory dialog can be used to view and change data in the PLC. To be able to work in the memory dialog online, Cx-Programmer must be online.

Data can be sent to the PLC read out from the PL C via menu, but also by right-clicking on screen. When sending data to the PLC, you can choose between everything, a sequence or only that data selected.
Other functions OMRON



OMRONE OMRON ELECTRONICS B.V. Tel. (023) 568 11 00 Fax (02 3) 568 II 88 / 568 11.50 (sale) E-mail: omron-en@eu.omron.com Internet: www.omron.nl
Your Supplier
Pages referenced in this manual — manufacturer, support and downloads.
Owners and our team usually reply within a day — and your question helps the next person too.
Be the first to ask — other owners or our team will answer.