Speak with authority, quality is trustworthy.

Write - under the interruption of omron PLC program

by:Coolmay     2020-08-16
Belong to higher priority interrupt program, so also corresponding more commonly used in practice. Omron PLC beginners will inevitably encounter many problems, here about the omron PLC to write interrupt program, based on the omron CP1E PLC as an example, the hope can help beginners to solve beginners interruption of omron PLC programming of small problems.

first of all, we need to open the CX - omron software Programmer, the establishment of the new project, click the new option in the file or click the new button.

after click new pop-up menu, choose according to your existing PLC, we are here to choose the omron PLC CP1E NA series, remember to choose right you need programming of PLC, communication can't be done.

choose PLC controller model into the programming interface, after this time we need is open, so we have to click on the Settings into the interface, enter the design interface, built-in input Settings, below the menu with the interrupt input, select options we need to open the interrupt, will 'normal' down to 'break', according to your own needs and tastes.

after the set up close the Settings menu, enter the programming interface, right click on the select insert new ladder diagram program, the program name can change by oneself, choose interrupt tasks in task type, according to your need to choose, we open is interrupted the task 2 in Settings, so choose here after the completion of the task type to interrupt task 2 choice in writing into the main program, interrupt condition according to you need to write, writing instruction should pay attention to the interrupt program, according to write your own interrupt the selected task, omron PLC CP1E series largest support no. 6 interrupt program, we take the interrupt task 2 cases, MSKS instruction need to use two, one is the interruption task to choose, one is to choose the interrupts enabled marked, Rising edge or falling edge) 102 # 0000, the first interrupt instruction MSKS said open interrupt task 2, MSKS 102 # 0001 said shielding interrupt task 2; The second interrupt instruction MSKS 112 # 0000 said rising along the open cut, MSKS 112 # 0001 said drop along the open interrupt.

next, PLC connection, click on the PLC, choose online work pop-up confirmation menu, select 'yes', connecting the PLC controller, then click the PLC PLC selection, where the program import PLC, import will be after the completion of the PLC power around 10 s to start again, be sure to power electric start again after 10 s, otherwise there may be errors. Finally, click need simulation simulation, select the online simulation.


Shenzhen Coolmay Technology Co., Ltd. are maintaining a consistent bottom-line profit and that you've shown steady growth over the past few years.
Shenzhen Coolmay Technology Co., Ltd. will continue to bring our industry nuances of style and approaches to plc manufacturers which are consistent with our evolving aspirations.
Choose the right platform for selling plc manufacturers and we'll reach the right customers. But if we have the right idea in the wrong platform, that still adds up to the wrong idea.
Chat Online
Chat Online
Chat Online inputting...
Sign in with: