cmac2425
Lifetime Supporting Member
I am new to Mits PLC programming so I am unsure on a few functions. I am trying a really basic sequencer, making an individual coil high for a determined amount of time, then waiting 1 minute, then turning on the next coil for a determined amount of time, repeated indefinitely, and want to know how to do it. Here is a flow of the program:
Coils A, B, and C are outputs and Coil D is the 1 minute wait timer
Coil A is HIGH for 10 seconds
Coil A is LOW, Coil D is HIGH for 1 minute
Coil B is HIGH for 15 seconds
Coil B is LOW, Coil D is HIGH for 1 minute
Coil C is HIGH for 20 seconds
Coil C is LOW, Coil D is HIGH for 1 minute
Repeat
I have been using SM412 for the 1s clock to [INC D110], then [= D110 K10] to shut it off, but the sequence is missing something and doesn't seem like it's an efficient way to do it. Does anybody have any ideas for me out there? I just want to do this simple sequencer to get my feet wet and then I can move on to learn more about the Mits PLC.
Thanks
Coils A, B, and C are outputs and Coil D is the 1 minute wait timer
Coil A is HIGH for 10 seconds
Coil A is LOW, Coil D is HIGH for 1 minute
Coil B is HIGH for 15 seconds
Coil B is LOW, Coil D is HIGH for 1 minute
Coil C is HIGH for 20 seconds
Coil C is LOW, Coil D is HIGH for 1 minute
Repeat
I have been using SM412 for the 1s clock to [INC D110], then [= D110 K10] to shut it off, but the sequence is missing something and doesn't seem like it's an efficient way to do it. Does anybody have any ideas for me out there? I just want to do this simple sequencer to get my feet wet and then I can move on to learn more about the Mits PLC.
Thanks