From the course: PLC Sequencer Logic

Unlock the full course today

Join today to access over 22,600 courses taught by industry experts or purchase this course individually.

Three-machine truth table

Three-machine truth table - Ladder Logic Tutorial

From the course: PLC Sequencer Logic

Start my 1-month free trial

Three-machine truth table

- [Narrator] The first thing we do is to come up with a truth table for the sequence. This is the table we are going to use to compare the input data. We have three machines. For the truth table we need to put any two that are ready or when the three of them are ready. For step one is when all are on, so simply placing one for each machine. Then for step two is when two of the machines are on. Let's say machine A and C. And the same for the rest of the steps in any two combination. Making the link four. We take the values of the truth table and place them inside the binary table starting from #B3:0. Remember that #B3:0 is when all is off so everything is zero. The binary number for the mask is 0111. Which means seven in hexa or seven in decimal. The three machines are connected to input one. So, the values that are coming from the machines are read in source and the instruction compares them to the ones inside the…

Contents