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 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. More information can be obtained at our website. This includes all of the links mentioned in this video. https://accautomation.ca/omron-cp1h-data-conversion-instructions Previously in this Omron CP1H series, we looked at the following: System Hardware https://accautomation.ca/omron-cp1h-system-hardware/ CX-Programmer https://accautomation.ca/omron-cp1h-cx-programmer/ Establish Communication https://accautomation.ca/omron-cp1h-establish-communication/ Omron CP1H Setting, Forcing and Online Editing https://accautomation.ca/omron-cp1h-setting-forcing-and-online-editing/ Omron CP1H Numbering Systems and Addressing https://accautomation.ca/omron-cp1h-numbering-systems-and-addressing/ Omron CP1H Timers https://accautomation.ca/omron-cp1h-timers Omron CP1H Counters https://accautomation.ca/omron-cp1h-counters Omron CP1H Data Movement https://accautomation.ca/omron-cp1h-data-movement Omron CP1H Compare Instructions https://accautomation.ca/omron-cp1h-compare-instructions Omron CP1H Data Shifting Instructions https://accautomation.ca/omron-cp1h-data-shifting-instructions Omron CP1H Math Instructions https://accautomation.ca/omron-cp1h-math-instructions 00:00 Omron CP1H Data Conversion Instructions 01:42 BCD-TO-BINARY: BIN(023) 02:47 BINARY-TO-BCD: BCD(024) 03:20 2’S COMPLEMENT: NEG(160) 04:53 DATA DECODER: MLPX(076) 06:55 DATA ENCODER: DMPX(077) 08:53 ASCII CONVERT: ASC(086) 11:33 LINE TO COLUMN: COLM(064) 13:45 GRAY CODE CONVERT: GRY(474) There are several reasons why we are using the Omron CP1H Controller. Here are just a few. - Standalone PLC with built-in I/O - Communication ability - Ethernet Port, RS232, RS485 - support for protocols such as Modbus, Host Link, ASCII (No Protocol) - Built-in Analog inputs and outputs - 4 axis control of motion - 4 high-speed counters - powerful instruction set (similar to CS and CJ series) - Ability to expand the system with a variety of modules The Omron CP1 series of programmable logic controllers consists 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. http://www.accautomation.ca