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,
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,