Tag Archives: plc basics tutorial

Omron CP1H PLC to CMore HMI EA9 RHMI


The C-More EA9 Series of human-machine interfaces (HMI) provides a way for the operator to control and will perform a lot of additional items. The free programming software is very user friendly and fully featured. Here are some of the additional items that this robust and powerful HMI can do besides communicating to programmable logic controllers (PLCs).
Send Email – This includes authentication for the email client protocol
Log Data – This can log data files to the internal memory or an external thumb drive (32G)
FTP Server – Use file transfer protocol to retrieve information from the HMI to a network. This can be done automatically with a batch file.
Web Server – This HMI can be a web server on your network
Remote Internet Access – Windows, Android, and IOS operating systems have the ability to take advantage of this remote access to the HMI. The programs are free and fully functional.
omron plc to cmore hmi
Our sample CP1H PLC program will use buttons and indicators to control a start/stop jog circuit. An analog input into the PLC will be scaled and displayed on a gauge and numeric display on our HMI screen. We will also write information to our 7 segment display on the CPU from our HMI screen. Omron serial host link protocol will be used to communicate over an RS485 serial cable. We will demonstrate remote access using our windows and android device. Let’s get started. Continue Reading!

Capacitive Pushbutton Sensor Switch /Indicator


We will now look at the capacitive pushbutton sensor switch and indicator.
Normal pushbuttons on a panel are usually a mechanical device. They can become “sticky” when too much dirt or oil is present. Capacitive push buttons do not have moving parts to stick, so the life expectancy is increased. Disinfectant sprays can be applied directly to a capacitive pushbutton and left to dry so it can be more effective for the safety of your operators.
capacitive pushbutton sensor switch
capacitive pushbutton sensor switch

Captron pushbutton sensor switches use capacitive sensing to detect when a hand or body part nears the device surface; built-in or stand-alone indicators provide multi-color signaling options. The robust IP69K design provides wear-free operation, plus resistance to water, oil, and harsh environments. These PNP NO DC-operated devices are available in 22mm, 50mm, and 60mm mounting diameters. Construction materials include plastic and stainless steel, aluminum, or polycarbonate. The corresponding 22mm LED signal indicator lights are also IP69K rated and have a 20mm diameter illuminated area; green, red, yellow, white, orange, and magenta signal colors are available.
capacitive pushbutton sensor switch
We will be wiring a 22mm captron pushbutton to a click plc. Upon activating the sensor for half a second output on the click plc will turn on. The green LED on the captron will turn solid green. When the sensor is selected again, the output will turn off. The Green LED will then blink indicating that the output is off.
Let’s get started! Continue Reading!

Wiring 3 Wire DC NPN and PNP Sensors




I recently received a question on PNP and NPN sensors. They wanted an explanation of what a sink is and how to wire one. Confusion over the Normally Open and Normally Closed function of the sensor is also a common question. Several diagrams will show a resistor attached to the blue wire and a load across the others, what does it all mean?

It is quite confusing sometimes the language we use for these devices. Sometimes it is the way we talk about the sensor and sometimes about the device we are connecting. (PLC)
We will break it down and go over the wiring to a PLC input. Let’s get started. Continue Reading!

Universal Signal Conditioner and Isolator

Signal conditioners are used with analog current and voltage signals. They have the ability to change your input analog signal to another output analog signal. As an example, we can have 4-20mA analog input and change it to a 0-10VDC output signal so we can wire this into our PLC. Typically signal conditioners will also electrically isolate the input and output signals. This is either done by magnetic or optical isolation. You would usually specify the input and output signals that are required in your circuit to choose the signal conditioner required. Using a universal signal conditioner will take a variety of signals and is a great product to use in troubleshooting analog circuits.

We will be using a universal signal conditioner to convert a thermocouple temperature input into a 0-10VDC linear output. This will be wired into the analog card of the Click PLC.
Let’s get started. Continue Reading!

Wiring an Ultrasonic Proximity Sensor to the Click PLC

An ultrasonic sensor (switch) is able to detect object presence without physical contact (limit switch). No physical contact means that the switch has no parts that will wear out. The life span of the sensor is increased with less maintenance.
An ultrasonic sensor will use sound waves to detect objects. These sound waves are at a level that we cannot hear. Distance is measured by the time it takes to send and receive the ultrasonic wave. Objects can be measured the same no matter what the colour, transparency, shininess, or lighting conditions of the application.

We will be wiring an ultrasonic sensor into the input of our Click PLC. This will include a discrete and analog input signal. The UK1F-E7-0A is an 18mm diameter sensor that has a PNP N.O./N.C. selectable output with analog output of 0 -10 VDC. The sensing distance is 200mm to 2200mm and has a one-hertz switching capacity. A 4-pin M12 quick disconnect is available but we will be wiring in our 2m wired version. Let’s get started. Continue Reading!

Wiring a Capacitive Proximity NPN PNP Sensor to the Click PLC

A proximity sensor (switch) is able to detect object presence without physical contact like a limit switch. No physical contact means that the switch has no parts that will wear out. The life span of the sensor is increased with less maintenance.
A capacitive proximity sensor will detect ferrous and non-ferrous objects. The sensor works by oscillating the charge on the plates in the sensor. When an object is placed in front of the surface, the amount of current flow is detected. (Capacitance) The dielectric of objects will determine the distance that the object can be detected.

We will be wiring a capacitive proximity switch into the input of our Click PLC. The CK1-00-2H is an 18mm diameter, NPN/PNP N.O./N.C. selectable output with a 12mm sensing distance. That means that the sensor can be wired as positive (Sourcing) or negative (Sinking) switch. This unshielded 10 Hz switching frequency sensor also has a 4-pin M12 quick disconnect. Let’s get started. Continue Reading!

Wiring an Inductive Proximity NPN PNP Sensor to the Click PLC

A proximity sensor (switch) is able to detect object presence without physical contact like a limit switch. No physical contact means that the switch has no parts that will wear out. The life span of the sensor is increased with less maintenance.
An inductive proximity sensor will detect ferrous metals. The sensor develops an electric field when metal (sensing object) is introduced usually killing the oscillation circuit of the sensor triggering the output.

We will be wiring an inductive proximity switch into the input of our Click PLC. The AM1-A0-4A is an extended range 12mm tubular sensor that can be wired into the PLC as a sink or source input. Let’s get started. Continue Reading!

Wiring Push Buttons and Selector Switch to Click PLC

A push button (pushbutton) is a simple human interface for controlling some aspect of a machine or process. The push button requires a force to push the button to change the electrical operation from off to on or vice versa. The condition of the output is usually momentarily. Some common everyday pushbuttons we use are keyboards keys.

A selector switch is also a mechanical device that will require a force to turn the electrical operation from off to on or vice versa. The selector switch usually locks into a position.

We will be wiring two illuminated pushbutton switches into our Click PLC. A selector switch will also be wired in. Let’s get started. 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 Control Instructions

The data control instructions in the Omron CP1H programmable logic controller are used to manipulate the outputs based upon control conditions. Control is the main purpose of these instructions within the PLC. Instructions include PID (Proportional, Integral and Derivative), PID with Autotuning, Dead Band Control, Limit, Dead Zone Control, Time Proportional Output, Scaling, etc.
We will be looking at some of these instructions in the Omron CP1H PLC. Examples of the instructions will be presented. Continue Reading!