Alarm addition
Posted: Tue May 13, 2014 3:44 pm
Hi all,
Regarding the attached flowsheet, I find I need another RC3 momentary, latched push button to enable LOCAL checking of the binary data that is normally received from remote locations via the RS232 input and displayed on the Port B LEDs.
Normal operation without this addition is:- Unit powered up, will receive any alarm via the RS232 input which is then displayed as a binary number on the LEDs and any further signals from RS232 are locked out.
When the NEW push button is pressed and released, it needs to display binary number 17 on the LEDs and each subsequent button operation adds 17 to the count until binary 238 is reached when the last and final push button operation increases the count by just 2 to give binary number 240. At ALL times, however, the basic alarm should not be affected and an incoming RS232 alarm signal should override/ignore this operation which is just for checking purposes.
Although the counting part is ok I cannot seem to incorporate it into the existing flowchart without messing it up and I cant seem to get the interrupt data in place or get RC3 to be recognised - only if I give it an RA3 LED to light!! So, I have had to come back to the forum after spending a long time trying but not very successfully - maybe Martin (as you had a lot of useful input into this originally and very kindly) or someone might be able to help.
Cheers,
Chris
Regarding the attached flowsheet, I find I need another RC3 momentary, latched push button to enable LOCAL checking of the binary data that is normally received from remote locations via the RS232 input and displayed on the Port B LEDs.
Normal operation without this addition is:- Unit powered up, will receive any alarm via the RS232 input which is then displayed as a binary number on the LEDs and any further signals from RS232 are locked out.
When the NEW push button is pressed and released, it needs to display binary number 17 on the LEDs and each subsequent button operation adds 17 to the count until binary 238 is reached when the last and final push button operation increases the count by just 2 to give binary number 240. At ALL times, however, the basic alarm should not be affected and an incoming RS232 alarm signal should override/ignore this operation which is just for checking purposes.
Although the counting part is ok I cannot seem to incorporate it into the existing flowchart without messing it up and I cant seem to get the interrupt data in place or get RC3 to be recognised - only if I give it an RA3 LED to light!! So, I have had to come back to the forum after spending a long time trying but not very successfully - maybe Martin (as you had a lot of useful input into this originally and very kindly) or someone might be able to help.
Cheers,
Chris