You can hit the ‘X’ in the top left corner of the output window to close it or you can hit Alt+2. It also will show you the amount of memory used. The output window is now displayed indicating that the program has no errors and warnings. You will now be asked if it is OK to return the PLC to run mode. When the download is finished, the download window will indicate if it was successful. This will stop the execution of the existing program. If an existing program is running, it will ask if it is OK to go into program mode. The following Download Options window will now appear.Īdditional warnings may appear depending on the current mode of the PLC. Select from the main menu PLC | Transfer | To PLC…. Let’s transfer our program and verify that it is the same as what we see on the computer. We have established communication with the PLC. Transfer the Program – Omron CP1H Communication Note: When online to the PLC you will see the project tree will show the PLC condition. That is you will see the ladder rungs being monitored and will be shown in a specified color.
The icon that looks like glasses with a lightning symbol will toggle the on/off of the PLC monitoring. You will get a warning message that you are about to connect to the PLC. This button will automatically recognize connected PLC and will upload all data such as programs from the PLC. The icon with the binoculars and triangle is the auto online. This will enable you to go online with the PLC of the device type and method specified in the Change PLC window. The first icon triangle is the normal online. We are now set to communicate to the PLC. Now hit OK to save and get out of the Change PLC window. Hit OK to save and get out of network settings. You can see the port number by going to your device manager in windows and looking at the communication port settings. 9600 baud, Even parity, 2 stop bits, and 7 data bits.
Omron equipment using serial communication will usually have the following as the default values. Leave the baud rate and data format to the default settings. Set the Connection Port Name to the port when installing the USB to RS485 adapter.
Now select the Driver tab at the top of the window. Please ensure that the Host link Unit Number is set at zero.
Under ‘Network Settings ’ we will leave everything at the default settings. Alternatively, you can go to the main menu and select PLC | Change Model.Ĭhange the Network Type to ‘SYSMAC WAY’. Under the project tree, double click on the PLC (AccPLC Offline). We will start by calling up the Start-Stop Jog program that we made last time in CX programmer. Here is a link to explain the installation of this unit.
The USB to RS-485 PC Adapter that we are using is from Automation Direct.
NOTE: Serial adapters such as this must have the software installed prior to connecting the adaptor to your computer. When you see a ‘Not used’ on an Omron dip switch, it is best to leave this in the off position. In our case we will have everything on except pins 1 and 4. In our case we will be communicating RS-485 so we will wire the terminal up as follows: Dip switches are located on the back of the unit and are used to set up 2 (RS-485) or 4 (RS422) wire communication. The unit has a communication status indication and a terminal strip on the front. This option board can be mounted on either board slot on the PLC CPU. We will set the hardware and then the software. Let us start with establishing communication using the CP1W-CIF11 RS-422A/485 Option Board. You can now get your copy from many online stores such as Ebay at a reduced cost. Here is the URL link for this free literature:Ī copy of this guide is a good tool to use when you learn to program using the CX-Programmer.ĬX-One software has been around for a number of years. Setting, Forcing and Online Editing – VideoĪs mentioned before, the CX-Programmer Introduction Guide provides step by step for the process of using the software. Previously in this CP1H series, we have discussed: We will then verify that the program in the PLC is the same as the program logic in CX-Programmer. The Start-Stop and Jog circuit that we developed last time will be transferred to the PLC unit. We will be using the USB connection (Built into the CPU) as well as an RS485 connection using the CP1W-CIF11 module. We will now establish communication with our CP1H PLC using CX-Programmer. CX-Programmer is part of the Omron CX-One Factory Automation Integrated Tool Package.
The Omron CP1H series of programmable logic controllers are programmed from CX-Programmer. CX-Programmer will be used to communicate.
We will now establish Omron CP1H communication using the built-in USB connection.