Excuse me, how to write Mitsubishi plc priority program, such as queuing to sing after the song is ordered by the song ordering machine.
Jukebox is not the principle of plc. If you want the program to be executed first, try to divide the program into several subroutines, and then call the subroutines reasonably, so that you can execute the corresponding programs according to your own requirements! But plc has a disadvantage, which is different from single chip microcomputer. It executes the program first and then outputs the result!