Category Archives: RS232

ACC Automation 2017 Review

ACC Automation


We would like to take a few minutes and reflect on the past, current and future of ACC Automation. 2017 has been our best year yet thanks to you. Your questions, comments and suggestions have helped us to build the site that you see today.
Thank you. Continue Reading!

Omron CP1H AdvancedHMI Communication

Advanced HMI is a powerful, adaptable HMI/SCADA (Supervisory Control and Data Acquisition) development package that takes advantage of Visual Studio. There is no coding required and you can simply drag and drop items onto the page. The best thing is that the software is free. We will look at using AdvancedHMI with the Omron CP1H PLC.
Our sample CP1H PLC program will use button and indicators to control a start/stop jog circuit. An analog input into the PLC will be scaled and displayed on a gauge on our AdvancedHMI screen. We will also write information to our 7 segment display on the CPU from our AdvancedHMI screen. This communication will be done using Omron serial host link protocol over a RS485 serial cable. The AdvancedHMI package will run on a windows PC and communicate out the port using a USB to RS485 adapter. Let’s get started. Continue Reading!

Omron CP1H Data Conversion Instructions

Programmable logic controller programming is all about manipulating the bits within the memory of the controller. Sometimes we need to convert from one form to another. This is where we will use data conversion instructions. BCD to Binary, Line to Column, Grey Scale and Multiplexing are just some of the data conversion instructions. We will be looking at some of these instructions in the Omron CP1H PLC. Examples of some of the instructions will be presented. Continue Reading!

Omron CP1H Setting, Forcing and Online Editing

The Omron CP1H series of programmable logic controllers is capable of online programming. This is when the PLC is solving logic and at the end of the scan, programming logic is added or modified. The next scan will now solve the new or modified logic in the PLC. CX-Programmer can also set or force inputs and outputs in the controller. This is usually used for troubleshooting and testing of the PLC logic. We will use the Start Stop and Jog circuit that we have developed to test the program in the PLC. Forcing and setting the inputs and outputs will demonstrate to us the operation of the logic. Online programming (online editing) will also be done with our CP1H controller. Continue Reading!

Omron CP1H System Hardware

The Omron CP1 series of programmable logic controllers consist of three different units. CP1E is the cost effective unit, CP1L is the high performing controller that can come with embedded Ethernet and the CP1H is the position control and comprehensive programmable logic controller.
We will be looking a the CP1H for this series, but a majority of the information can be applied to the CP1E and the CP1L controllers as well.
Let’s start by looking at the CP1H hardware.

The CP1 series is designed with the same basic architecture as the CS and CJ Series. The special I/O units and CPU bus units of the CJ series can then be used. Always use CPM1A expansions units and CPM1A expansion I/O units when expanding the I/O capacity. The following diagram indicates the position of the unit with respect to the CJ and CS series. Continue Reading!

Horner XL4 System Hardware

The Horner XL4 OCS is an All-in-one controller. This means that this modern unit combines a logic controller, operator interface, I/O and networking all into one package. This OCS (Operator Control Station) family was first released in 1998. New features to the line-up have been added over the years. Today the OCS family has a very competitive advantage as you will soon see.
Programming is done with a single programming software package. Cscape (Control Station Central Application Programming Environment) is designed to be easy to use and maintain.

This series on the Horner XL4 all-in-one controller (PLC) will go step by step through learning how to use this innovative unit. Continue Reading…

Click PLC System Hardware

Many people ask me what I do when looking at a new PLC model or system. My approach is very straight forward and we will view this in action with this Click PLC series. This series will go from examining the hardware to programming and communicating to the PLC in several ways. If you have questions along the way, please let me know. Keep on Reading!

USB to RS485 PC Adapter Installation

The USB-485M is a 2-wire USB to RS-485 serial communication adapter for RS485 use. It does not require an external power supply or complicated configuration.

It has a Type A (plug) USB connector for the computer side and a universal female RJ45/RJ12 modular connector. This will accept RJ12 and RJ45 plugs.  The USB-485M supports multiple baud rates and is USB V2.0 Compliant.

Installing the Driver
Do NOT connect the USB-485M to your PC before installing the driver file.

Go to the Automation Direct website and download the latest drivers for this device. I would not use the mini CD that came with the converter because it may be out of date.
USB-485M Serial Converter Support Resources

Download and extracted the zip file. (Right click on the zip file and select Extract All…. )
If you have a 64bit computer double click on the following file:
CP210xVCPInstaller_x64.exe
If you have a 32bit computer double click on this file:
CP210xVCPInstaller_x86.exe

If you are unsure as to 32 bit or 64 bit computer then go to control panel and look under system. Under System type it will display either a 32-bit Operating or 64-bit Operating system.
Alternatively on Windows 7 you can click start and right click on Computer.

Selecting properties will call up the system information for you.

This will now start the installation of the CP210x USB to UART Bridge Driver. Select Next.

You must accept the license agreement before the software will install. Select ‘I accept this agreement’ and hit Next.

You will now get a message that the installation is complete. The Silicon Laboratories Driver is now installed. Click Finish.

We will now configure the device driver for our hardware.
Connect the USB-485M to your PC.
The driver software installation will begin by searching for the CP2103 USB to UART Bridge Controller. It will start by searching windows update…

Once the software has been configured a message will be displayed as follows. If it cannot find the driver software you can manually select the x64 (64bit) or x86 (32bit) folders from the downloaded driver files.

You can now call up device manager and view the ports on your computer. The Silicon Labs CP210x USB to UART Bridge is on communication port 5.

We are now ready to connect to our equipment. Since this is a serial device and is a 1 : N connection. This means that we will have a master and at least one slave unit. All communication must have the same parameters when communicating. What separates the communication is that each slave is assigned an unique number.
Example:

Device Computer ‘Master’ Solo Process Controller
‘Slave’
Do-More PLC
‘Slave’
Additional Devices
‘Slaves’
Station Address / Unit number N/A 1 2
Baud Rate 9600 9600 9600 9600
Data Bits 8 8 8 8
Parity Even Even Even Even
Stop Bits 1 1 1 1

Protocol is the actual communication (Information format that is transferred) that takes place over the network. (Master to Slaves)

Watch on YouTube : USB to RS485 PC Adapter Installation
If you have any questions or need further information please contact me.
Thank you,
Garry



If you’re like most of my readers, you’re committed to learning about technology. Numbering systems used in PLC’s are not difficult to learn and understand. We will walk through the numbering systems used in PLCs. This includes Bits, Decimal, Hexadecimal, ASCII and Floating Point.

To get this free article, subscribe to my free email newsletter.


Use the information to inform other people how numbering systems work. Sign up now.

The ‘Robust Data Logging for Free’ eBook is also available as a free download. The link is included when you subscribe to ACC Automation.