MorphuisOGrady
Member
Hi all,
Can someone please advise me on this.
I have an application which is quite small in programming terms but requires a lot of monitoring of switches.
I'm hoping a smaller S7 will do the trick 312 or 313. I was going to use an FB as a standard block for switch handling and then another FB for multi instance so I would have all instances in a single DB.
I require some delay/debounce timers for each switch. Usually I use a one second pulse to increment a integer for my timers but seen a post here on the use of IEC timers SFB 4 & 5 within the FB. I've added these but notice they are 28 Bytes in size!
Surely these are not the most memory efficient way of approaching this or am I missing something?
Can someone please advise me on this.
I have an application which is quite small in programming terms but requires a lot of monitoring of switches.
I'm hoping a smaller S7 will do the trick 312 or 313. I was going to use an FB as a standard block for switch handling and then another FB for multi instance so I would have all instances in a single DB.
I require some delay/debounce timers for each switch. Usually I use a one second pulse to increment a integer for my timers but seen a post here on the use of IEC timers SFB 4 & 5 within the FB. I've added these but notice they are 28 Bytes in size!
Surely these are not the most memory efficient way of approaching this or am I missing something?