Preparation of the Lower Omron PLC Interrupt Program

The interrupt program belongs to a higher priority class, so it is also more commonly used in the application. Omron PLC beginners will inevitably encounter many difficulties, here to explain the next Omron PLC interrupt program preparation, this article takes Omron CP1E PLC as an example, hoping to help beginners solve the small problem of beginner Omron PLC interrupt program preparation.

First of all, we need to open the Omron software CX-Programmer, create a new project, click the new option in the file or click the New button.

Click New after the pop-up menu, according to your existing PLC to choose, we are here is the Omron PLC CP1E NA series, remember that you need to correctly choose the PLC you need to program, or can not communicate.

After selecting the PLC model, enter the programming interface. At this time, we need to open the interrupt, so we have to click Settings to enter the setting interface, enter the design interface and select the built-in input settings, there is an interrupt input below the menu, select the interrupt we need to open Options, change the "Normal" drop-down to "Break" and choose according to your own needs.

After setting, close the setup menu and enter the programming interface. Right-click on the program to select the new ladder diagram. The program name can be changed by itself. Select the interrupt task in the task type. According to your own choice, we open the settings. Is the interrupt task 2, so the type of task selected here is interrupt task 2 After selecting the main program, enter the main program, according to your own needs for the preparation of interrupt conditions, interrupt program preparation instructions to pay attention, according to your own choice Interrupt tasks to write, Omron PLC CP1E series maximum support 6-channel interrupt program, we take interrupt task 2 as an example, MSKS instruction needs to be used twice, one is interrupt task selection, one is to select the interrupt open flag (rising edge or falling edge The first interrupt instruction MSKS 102 #0000 indicates that interrupt task 2 is enabled, MSKS 102 #0001 indicates masked interrupt task 2; the second interrupt instruction MSKS 112 #0000 indicates a rising edge open interrupt, and MSKS 112 #0001 indicates a falling edge is enabled. Interrupted.

Next, connect the PLC, click PLC, select the online work pop-up confirmation menu, select "Yes", connect the PLC, and then click PLC to transfer to the PLC. Import the program into the PLC. After the import is completed, power down the PLC for about 10 seconds. Start up, be sure to turn off the power after 10S, or you may get an error. Finally, if you need simulation, click Simulation and select Online Simulation.

Elf Bar 600 PUFF

The Elf Bar 600 Puffs Disposable Vape is a stylish and portable pre-filled pod system. Integrated with a 550mAh battery, the Elf Bar 600 PUFFS features a 2ml pre-filled E-juice,Coming with 2% nic salt strength, the ELF BAR 600 PUFFS is a perfect choice for your daily vaping. Choose from any one of Flum Vapor's tasty flavors and find out what's your favorite.

Elf Bar 600 PUFF, E-Cigarette,elf bar

Shenzhen Essenvape Technology Co., Ltd. , https://www.essenvape.com

Posted on