Siemens PLC Interrupt

Join Date
Mar 2012
Location
Cork
Posts
7
Hello all!

I am trying to set up a high speed counter to count pulses from a sensor. I believe I need to set up an "interrupt". Can anyone explain what this is. I have searched through manuals and online but cannot find an explanation of how an interrupt routine works. Can anyone help?

I am using a S7 1200 with TIA portal V10.5.

Thanks in advance.
 
Hello all!

I am trying to set up a high speed counter to count pulses from a sensor. I believe I need to set up an "interrupt". Can anyone explain what this is. I have searched through manuals and online but cannot find an explanation of how an interrupt routine works. Can anyone help?

I am using a S7 1200 with TIA portal V10.5.

Thanks in advance.

In the CPU "Device configuration" > "General" > "High Speed Counters" you can set an Interrupt when the counter value is equal to a reference value. This is a hardware interrupt and will create an OB.

A "Hardware interrupt" OB will interrupt cyclic program execution in reaction to a signal from a hardware event. The events must be defined in the properties of the configured hardware
 

Similar Topics

i want to know about interrupt subroutines in siemens s7 200 detaily
Replies
9
Views
9,968
Good morning fellow sea captains and wizards, I am being asked to do the above and obtain 4 values from each slave, I know about the MRX and MWX...
Replies
20
Views
187
Hey guys, I have to take an upload of a program on an S71200 PLC to change a hardware config option and then redownload the program with this...
Replies
3
Views
103
Hello Guys, I want to establish profinet communication between siemens plc and my system using python programming. Which python lib can i use to...
Replies
12
Views
300
When you download a DB, the values get overwritten by what is in the "actual" column in offline DB. Does this happen at the start of the PLC...
Replies
6
Views
139
Back
Top Bottom