Reading PLC Programming for Sorter Machine :
Step 1 :
If 0000=ON And 0001=OFF And 0002=OFF Then 1000=ON.
Step 2 :
If 0000=ON And 0001= ON ( Latching ) And 0003= OFF Then 1001=ON ( Latching ON ).
Step 3 :
If 0000=ON And 0001=ON And 0003=ON And 0005=OFF Then Pulse UP 1002.
Step 4 :
If 0000=ON And Pulse UP 1002 ( Latching ) and 0005=OFF And 1000=OFF Then 1003=ON ( Latching ON ).
Step 5 :
If 0000=ON And 0002=ON ( Latching ) and 0004=OFF Then 1004=ON ( Latching ON ).
Step 6 :
If 0000=ON And 0002=ON and 0004=ON And 0006=OFF Then Pulse UP1005.
Step 7 :
If 0000=ON And Pulse UP 1005 ( Latching ) and 0006=OFF And 1000=OFF Then 1006=ON ( Latching ON ).
Step 8 :
If 0000=ON And 1000=ON or 1003=ON or 1006=ON Then 0500=ON.
Step 8 :
a. If 0000=ON And 1001=ON Then 0501= ON.
b. If 0000=ON And 1004=ON Then 0502= ON.
See : Definition Function DIFU or PLS PLC
See : Animation Sorter Machine