
KEEP Operates like a latching relay.
SET turns the operand bit ON when the execution condition is ON. After this, the specified contact will remain ON regardless of ON/OFF of the input condition.
RSET turns the operand bit OFF when the execution condition is ON. After this, the specified contact will remain OFF regardless of ON/OFF of the input condition.
DIFU(013) turns the designated bit ON for one cycle when the execution condition goes from OFF to ON (rising edge).
DIFD(014) turns the designated bit ON for one cycle when the execution condition goes from ON to OFF (falling edge).
Copies the same word to a range of consecutive words.
SETA(530) turns ON the specified number of consecutive bits.
RSTA(531) turns OFF the specified number of consecutive bits.
OUTB(534) outputs the status of the instruction's execution condition to the specified bit.
Interlocks all outputs between IL(002) and ILC(003) when the execution condition for IL(002) is OFF.
TIM or TIMX(550) operates a decrementing timer with units of 0.1-s.
CNT/CNTX(546) operates a decrementing counter.
TIML(542)/TIMLX(553) operates a decrementing timer with units of 0.1s.
Compares 16 consecutive words with another 16 consecutive words and turns ON the corresponding bit in the result word where the contents of the words are not equal.
TTIM(087)/TTIMX(555) operates an incrementing timer with units of 0.1-s.
CMP : Compares two unsigned binary values (constants and/or the contents of specified words) and outputs the result to the Arithmetic Flags in the Auxiliary Area.
CMPL : Compares two double unsigned binary values (constants and/or the contents of specified words) and outputs the result to the Arithmetic Flags in the Auxiliary Area.
Compares 16 consecutive words with another 16 consecutive words and turns ON the corresponding bit in the result word where the contents of the words are not equal.
Compares the source data to the contents of 16 consecutive words and turns ON the corresponding bit in the result word when the contents of the words are equal.
Transfers a word of data to the specified word.
Transfers the specified bit.
Transfers the specified digit or digits. (Each digit is made up of 4 bits.)
Exchanges the contents of the two specified Words
Transfers the specified number of consecutive words.
ASL : Shifts the contents of Wd one bit to the left.
ASR : Shifts the contents of Wd one bit to the right.
SLD : Shifts data by one digit (4 bits) to the left.
SRD : Shifts data by one digit (4 bits) to the right.
NASL : Shifts the specified 16 bits of word data to the left by the specified number of bits.
NASR : Shifts the specified 16 bits of word data to the right by the specified number of bits.
Increments the 4-digit hexadecimal content of the specified word by 1.
Decrements the 4-digit hexadecimal content of the specified word by 1.
In this project, you will be introduced to the application of edge instructions practically.
In this project, we write a program for a pick and place robot. Also, we used the NB HMI to communicate with PLC.
in this example we solve a problem about Automatic Control Of Warehouse Door and also simulate it on Omron NB HMI.
in this example we solve a project about control 3 conveyor with 3 sensor for working when needed.
High-speed counters are used to measure high-speed pulse input signals that cannot be measured by counter (CNT) instructions.
Applications
• Detecting the position or length of a workpiece with input from an incremental rotary encoder.
• Measuring the speed of a workpiece from its position data using frequency measurement and rotational speed conversion.
• High-speed processing according to the workpiece’s position data.
The present value of the high-speed counter is stored in the Auxiliary Area and can be used as position data. When it reaches preset values, interrupts can be generated. The count can be started and stopped. Depending on the instruction, the frequency (speed) can be read from the present value of the high-speed counter.
PRV(881) reads the data specified in C for the port specified in P. The possible combinations of data and ports are shown in the following table.
Reading Pulse Output or High-speed Counter Frequency
Pulse Frequency Calculation Methods
CTBL(882) is used to register a comparison table and perform comparisons for a high-speed counter PV.
CTBL(882) registers a comparison table and starts comparison for the port specified in P and the method specified in C. Once a comparison table is registered, it is valid until a different table is registered or until the CPU Unit is switched to PROGRAM mode.
Each time CTBL(882) is executed, comparison is started under the specified conditions. When using CTBL(882) to start comparison, it is normally sufficient to use the differentiated version (@CTBL(882)) of the instruction or an execution condition that is turned ON only for one scan.
CTBL(882) is used to register a comparison table and perform comparisons for a high-speed counter PV.
CTBL(882) registers a comparison table and starts comparison for the port specified in P and the method specified in C. Once a comparison table is registered, it is valid until a different table is registered or until the CPU Unit is switched to PROGRAM mode.
Each time CTBL(882) is executed, comparison is started under the specified conditions. When using CTBL(882) to start comparison, it is normally sufficient to use the differentiated version (@CTBL(882)) of the instruction or an execution condition that is turned ON only for one scan.
In this course, you'll dive into working with Omron PLCs using the CX-Programmer software, part of the CX-One package. You'll learn how to program PLC models like:
CP1E, CP2E, CP1L, CP1H, CJ2M, CS1
Through step-by-step lessons, you'll discover how to upload and download programs, test them using CX-Simulator (no need for a physical PLC), and apply key instructions that are widely used in real-world industrial automation projects.
This course is practical and dynamic — I continuously add new lessons and instructions based on what learners need most. You’re always welcome to request specific topics or instructions you'd like to learn, and I will record and add them to the course.
Additionally, the course includes a bonus section covering NB-Designer, Omron’s HMI design tool. You'll learn how to build interfaces, use components, and connect your HMI to the PLC. If you want to go deeper into HMI development, I also offer a dedicated NB HMI course on Udemy.
This training is designed to help both beginners and advanced users build confidence and gain hands-on experience with Omron systems.
Who This Course Is For
Engineers, technicians, or students working in industrial automation
Beginner and intermediate users of Omron PLC
Anyone interested in servo systems, HMI, and PID control
People preparing for real-world projects with Omron PLCs and HMIs