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
10,059
Hello, good morning, I have been having two problems with the Tia Portal software. The first is that I have installed it on my computer and...
Replies
5
Views
122
The past week we received a new piece of equipment from Germany which utilizes siemens controls. Typically in our company we use A.B. controls for...
Replies
12
Views
330
i have two plc 1. s7-1212dc/dc/dc ip; 192.168.0.1 2. s7-1500 1513-1pn ip; 192.168.3.2 i need to get data from plc1 to plc2. any idea how to do...
Replies
5
Views
140
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
32
Views
901
Back
Top Bottom