Omron CP1H Data Conversion Instructions

We will now look at data conversion instructions in the Omron Cp1H Controller. 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 … Read more

Omron CP1H PLC – Math Instructions

Programmable logic controllers are not typically known for their math ability. Modern PLC controllers now come with several math instructions to expand the ability to perform math routines. Every controller has different methods to handle math with different numbering systems. Binary, BCD (Binary Coded Decimal), and floating-point single and double are examples of some numbering … Read more

Omron CP1H Data Shifting Instructions

We will now look at data shifting instructions in the Omron CP1H controller. PLC programming is all about how we can manipulate the information stored in the PLC. We have already looked at timers, counters, moves, and comparison instructions. Data shifting is a different concept that will move bits and words around in memory. This … Read more

Create an Analog Voltage Input Tester for a PLC

Create an Analog Voltage Input Tester for a PLC

We will create a simple and inexpensive analog voltage tester for a PLC using a potentiometer and a 9VDC battery. The potentiometer will be 5K ohms. This should be enough impedance for most analog inputs of the programmable logic controller. (PLC) Voltage impedance for analog voltage inputs is in the megaohm range where the current … Read more

Omron CP1H PLC Compare Instructions

We will now look at the compare instructions available on the Omron CP1H controller. Just about every program usually has some data comparison instruction. This is the ability to compare information from one area of the controller to another and act on results. The Omron CP1H series of programmable logic controllers provide several different ways … Read more

Wiring Interposing Relays – NPN PNP Isolation

Wiring Interposing Relays - NPN PNP Isolation

We will now look at wiring interposing relays to connect an NPN and PNP sensors into the PLC. Interposing relay means a device that will separate two different circuits. The isolation can be for current consumption, voltage differences, voltage references, or a combination of both current and voltage. We can use these relays to help … Read more