You are on page 1of 2

Information on Numbers for Parking Information using PLC :

1. Parking Information
2. "FULL" display
3. "EMPTY" display
4. Ultrasonic sensor for OUT detection
5. Ultrasonic sensor for IN detection
6. Parking Area

Number Of Inputs and Output PLC applied :


1. Number Of Inputs PLC is 2 Input :
--- 1 Unit Input from Ultrasonic sensor for IN detection.
--- 1 Unit Input from Ultrasonic sensor for OUT detection.
--- Total Number Of Inputs PLC is Minimum 2 Input Unit.

2. Number Of Output PLC is 2 Output :


--- 1 Unit Output to "FULL" display.
--- 1 Unit Output to "EMPTY" display.
--- Total Number Of Outputs PLC is Minimum 2 Output Unit.

Sequence PLC Programming for Parking Information :

1. "FULL" display => ON


a. If Ultrasonic sensor IN => ON Then Increments the Data by 1(one).
b. If Data equal or more 5 (five) Then "FULL" display => ON and "EMPTY" display => OFF.

2. "EMPTY" display => ON


a. If Ultrasonic sensor OUT => ON Then Decrements the Data by 1(one).
b. If Data is less than 5(five) Then "FULL" display => OFF and "EMPTY" display => ON.

3. Setting Data
a. Setting data with the number 5(five) and data can be set in accordance with the capacity of
parking areas.

PLC Type KV-10(16) Keyence , Name Input / Output PLC :

INPUT PLC :
0000 ; Ultrasonic sensor for IN detection.
0001 ; Ultrasonic sensor for OUT detection.

OUTPUT PLC :
0500 ; Output for "FULL" display.
0501 ; Output for "EMPTY" display.
PLC Programming for Parking Information using PLC Keyence

Reading Ladder PLC Programming for Parking Information using PLC Keyence :

Step 1 :
Setting Data equal capacity of parking areas
a.If 1100 = OFF Then DM0001 = 15.
Remarks :
a.1. If capacity of parking areas = 0 Then DM0001 = 10.
a.2. If capacity of parking areas = 5 Then DM0001 = 10 + 5 = 15.
a.3. If capacity of parking areas = 1000 Then DM0001 = 10 + 1000 = 1010.

Step 2 :
"FULL" display => ON
a.If 0000 = ON Then Increments the DM0000 by 1(one).
b.If DM0000 equal or more than 15 ( capacity of parking areas = 5 ) Then 1000 = ON.
c.If 1000 = ON Then 0500 = ON.

Step 3 :
"EMPTY" display => ON
a.If 0001 = ON Then Decrements the DM0000 by 1(one).
b.If DM0000 less than 15 ( capacity of parking areas = 5 ) Then 1001 = ON.
c.If 1001 = ON Then 0501 = ON.

Step 4 :
Minimum and Maximum Limits
Minimum Limits :
a.If DM0000 less than 10 ( LDB 1100 => LDA DM0000 => CMP #00010 => LD 2009 ) Then
DM0000=10 ( DW #00010 DM0000 ).
Maximum Limits :
b.If DM0000 more than DM0001/capacity of parking areas ( LDB 1100 => LDA DM0000 =>
CMP DM0001 => LD 2011 ) Then DM0001=DM0000 ( LDA DM0001 => STA DM0000 ).

You might also like