Anda di halaman 1dari 3

SORTING PROGRAM

Step 1 :
If 000.00=ON And 000.01=OFF And 000.02=OFF Then 010.00=ON.

Step 2 :
If 000.00=ON And 000.01= ON ( Latching ) And 000.03= OFF Then 010.01=ON ( Latching
ON ).

Step 3 :
If 000.00=ON And 000.01=ON And 000.03=ON And 000.05=OFF Then Pulse UP 010.02.

Step 4 :
If 000.00=ON And Pulse UP 010.02 ( Latching ) and 000.05=OFF And 010.00=OFF Then
010.03=ON ( Latching ON ).

Step 5 :
If 000.00=ON And 000.02=ON ( Latching ) and 000.04=OFF Then 010.04=ON ( Latching ON ).

Step 6 :
If 000.00=ON And 000.02=ON and 000.04=ON And 000.06=OFF Then Pulse UP 010.05.

Step 7 :
If 000.00=ON And Pulse UP 010.05 ( Latching ) and 000.06=OFF And 010.00=OFF Then
010.06=ON ( Latching ON ).

Step 8 :
If 000.00=ON And 010.00=ON or 010.03=ON or 010.06=ON Then 005.00=ON.

Step 8 :
a. If 000.00=ON And 010.01=ON Then 005.01= ON.
b. If 000.00=ON And 010.04=ON Then 005.02= ON.

Purpose:
DIFU(13) turns ON the designated bit (B) for one scan on reception of the leading (rising) edge
of the input signal.

How to Work DIFU or PLS With Scan PLC :


Scan 1 :
Input 0000 = OFF , DIFU 1000 = OFF , Input 1000 = OFF , And Output 0500 = OFF
Scan 2 :
Input 0000 = ON , DIFU 1000 = ON , Input 1000 = ON , And Output 0500 = ON

Scan 3 :
Input 0000 = ON , DIFU 1000 = OFF , Input 1000 = OFF , And Output 0500 = OFF

Anda mungkin juga menyukai