Determine which HW-interrupt is triggerd

Hello everyone,


I'm currently working on a project where i'm using a Siemens 319F 3PN/DP CPU in combination with a FM350-2 counter module. In this project the counter module is giving a hardware interrupt each time when he has counted 400 pulses. When the counter value is in over/underflow I'm giving also a HW-interrupt. My problem is, since I'm quite new at PLC programming, how can I know which of these 2 have triggerd the hardware interrupt? This is necessary because I need to execute different code when i'm reaching overflow then when the 400 pulses are reached.

Kind regards,
 

Similar Topics

Hello fellow PLC enthusiasts! I work at a relatively small company that has 30 or so industrial machines and I have been tasked with getting a...
6
Replies
1,015
Views
Hello guys, completely noob in the Rockwell/Allen-Bradley ecosystem here. I'm setting up to experiment in the future with different redundancy...
6
Replies
3,764
Views
Hi y ´all! I have two arrays consisting of 200 bools each. One is for alarms, second for info. I now need to determine which of the bools that are...
21
Replies
4,027
Views
Hi, I have been asked to head out to a number of sites to upload programs from a number of Rockwell Controllers (L24ER, L30ER, L5x, L6x, L7x...
8
Replies
3,696
Views
Hello, AVEVA OI system drivers such as ABCIP and MBTCP provide a discrete register called $SYS$STATUS, which can be tied to a Discrete tag in...
4
Replies
2,610
Views
Top