write my assignment 7215
I need help designing a PLC ladder logic program in RSlogix to control the operation of an alarm system using the following sequence:
– An ALARM must be energized and stay energized (latched) when a limit SWITCH is activated once or when a motion SENSOR is activated three (3) times within a space of 30 seconds.
– The ALARM can only be de-energized (unlatched) by pushing a hidden normally-open momentary-contact BUTTON.
– Hint: latch the timer with a sensor activation and use a count-up instruction to count the number of sensor activations. Reset the count and unlatch the timer if the timer is done.
– Program SWITCH, SENSOR, and BUTTON using bits 0, 1, and 2 of the input module respectively.
– Program ALARM using bit 0 of the output module.