1. Basic Program Design Examples 1.12 First-in Priority Circuit X2 Y1 X5 主持人 Host Control Purpose: z There are 3 groups participating in the quiz game: pupils, high school students and professors. If they want to get the chance of answering the question from the host, they group gets the chance successfully must press the answer button on their table first . Other groups’ pressing will be invalid if any z There are 2 answer buttons for the pupil group and professor group and 1 answer button for the high school student group. In order to give preferential treatment to the pupil group, Y0 will be ON if any one of X0 or X1 is pressed.
However, in order to limit the professor group, Y2 will be ON when X3 and X4 are pressed at the same time. For the high school student group, Y1 will be ON when X2 is pressed. z If the host presses X5 (Reset button), Y0, Y1 and Y2 will be OFF. Devices:
DVP-PLC Application Examples 1-13 X3 Y2 Pro教fe授ss组o X4 r Group X0 Y0 X1 小Pu学p生il G组roup 小Pu学p生il G组roup H中ig学h S生c组hool Student Group Device Function X0 Answer button for pupil group X1 Answer button for pupil group X2 Answer button for high school student group X3 Answer button for professor group X4 Answer button for professor group X5 Reset button for host Y0 Indicator for pupil group Y1 Indicator for high school student group Y2 Indicator for professor group