Password Using PLC Keyence

PLC Type KV, Name Input / Output PLC :

INPUT PLC :
0000 ; Numeric 0 from KeyPad
0001 ; Numeric 1 from KeyPad
0002 ; Numeric 2 from KeyPad
0003 ; Numeric 3 from KeyPad
0004 ; Numeric 4 from KeyPad
0005 ; Numeric 5 from KeyPad
0006 ; Numeric 6 from KeyPad
0007 ; Numeric 7 from KeyPad
0008 ; Numeric 8 from KeyPad
0009 ; Numeric 9 from KeyPad
0010 ; ENTER Key from KeyPad

OUTPUT PLC :
0500 ; Output to Green Light for Correct Password
0501 ; Output to RRed Light for Wrong Password


Download PDF File:
password using plc keyence(.pdf)


Reading Ladder PLC Programming for Password using PLC Keyence :

Step 1 :
Password Data using DM0020
a.If 2002 = ON (Always ON) Then DM0020 = 5500 (can be modified and 4 Digits Decimal)

Step 2 :
Numeric 0 to 9 is pressed
Using DM0000 for temporary data storage
a.If 0000 = ON (Numeric 0) Then DIFU 1000 = ON AND DM0000 = 0
b.If 0001 = ON (Numeric 1) Then DIFU 1000 = ON AND DM0000 = 1
c.If 0002 = ON (Numeric 2) Then DIFU 1000 = ON AND DM0000 = 2
d.If 0003 = ON (Numeric 3) Then DIFU 1000 = ON AND DM0000 = 3
e.If 0004 = ON (Numeric 4) Then DIFU 1000 = ON AND DM0000 = 4
f.If 0005 = ON (Numeric 5) Then DIFU 1000 = ON AND DM0000 = 5
g.If 0006 = ON (Numeric 6) Then DIFU 1000 = ON AND DM0000 = 6
h.If 0007 = ON (Numeric 7) Then DIFU 1000 = ON AND DM0000 = 7
i.If 0008 = ON (Numeric 8) Then DIFU 1000 = ON AND DM0000 = 8
j.If 0009 = ON (Numeric 9) Then DIFU 1000 = ON AND DM0000 = 9
Note : DIFU = Single-scan of target relay ON at rising edge of previous state

Step 3 :
Count the number keypad is pressed
Using DM0030 for Count data storage
a.If 1000 = ON Then INC DM0030 (Increment target device value)

Step 4 :
Enter Released for Value DM0030 = 0 (Count data RESET)
a.If 0010 = ON (ENTER key is pressed) Then DIFD 1001 = ON (Single-scan of target relay ON at falling edge of previous state)
b.If 1001 = ON Then Value DM0030 = 0

Step 5 :
Password from the KeyPad
Using DM0012 for Password from the KeyPad
a.Keypad is pressed first, multiplied by 1000
(1000 = ON) AND (LDA DM0030) AND (CMP#0001) AND (2010) AND (LDA DM0000) AND (MUL #01000) AND (STA DM0001)
b.Keypad is pressed second, multiplied by 100
(1000 = ON) AND (LDA DM0030) AND (CMP#0002) AND (2010) AND (LDA DM0000) AND (MUL #00100) AND (STA DM0002)
c.Keypad is pressed three, multiplied by 10
(1000 = ON) AND (LDA DM0030) AND (CMP#0003) AND (2010) AND (LDA DM0000) AND (MUL #00010) AND (STA DM0003)
d.Keypad is pressed four, multiplied by 1
(1000 = ON) AND (LDA DM0030) AND (CMP#0004) AND (2010) AND (LDA DM0000) AND (MUL #00001) AND (STA DM0004)
e.Sum all the data
(1000 = ON) AND (LDA DM0001) AND (ADD DM0002) AND (STA DM0010)
(1000 = ON) AND (LDA DM0010) AND (ADD DM0003) AND (STA DM0011)
(1000 = ON) AND (LDA DM0011) AND (ADD DM0004) AND (STA DM0012)

Example :
Keypad is pressed :
first : Numeric 9 => 9 multiplied by 1000 = 9000
second : Numeric 6 => 6 multiplied by 100 = 600
three : Numeric 5 => 5 multiplied by 10 = 50
four : Numeric 7 => 7 multiplied by 1 = 7
Sum all the data = 9000 + 600 + 50 + 7 = 9657
So,Password from the keypad is 9657

Step 6 :
Check the number of digits
a.If DM0030 = 4 (4 times the keypad is pressed) Then 1002 = ON

Step 7 :
Correct Password
a.If 0010 = ON (ENTER key is pressed) AND 1002 = ON AND Value(DM0012 = DM0020) Then SET 1003 = ON
b.If 1003 = ON Then 0500 = ON (Correct Lamp)

Step 8 :
Wrong Password and Not 4 digits
a.If 0010 = ON (ENTER key is pressed) AND 1002 = ON AND Value(DM0012 not same DM0020) Then SET 1004 = ON
b.If 0010 = ON (ENTER key is pressed) AND 1002 = OFF AND 1003 = OFF AND 1004 = OFF Then SET 1005 = ON (Not 4 digits)
c.If 1004 = ON OR 1005 = ON Then 0501 = ON (Wrong Lamp)

Step 9 :
Green Light = OFF OR Red Light = OFF
a.If 1000 = ON AND 1003 = ON OR 1004 = ON OR 1005 = ON Then RES 1003 (1003 = OFF) AND RES 1004 (1004 = OFF) AND RES 1005 (1005 = OFF)

Please Download Programming for KV Builder :
Password Using PLC Keyence

See : Password PLC

Hopefully this article can add your insights.
Please follow me:

ShareTo
Share on Facebook Tweet this Share to Google Plus Stumble this article
CLOSE

Enter Your Email Address




All Labels

  1. ABB PLC
  2. Allen Bradley PLC
  3. Analog Input
  4. Android
  5. Android and PLC
  6. Android Bluetooth
  7. Audio and PLC
  8. Automatic Gates using PLC
  9. Baldor PLC
  10. Battery Level Indicator using PLC Analog
  11. BMS
  12. Building Management System
  13. Car Ticketing Machine using PLC
  14. CIMON PLC
  15. Click Series PLC
  16. Computer Vision
  17. Computer Vision and PLC
  18. Control Seven Segment Display with PLC
  19. Conveyor Control Using PLC
  20. CPU PLC
  21. CV and PLC
  22. CX-One
  23. DCS
  24. DDC
  25. DELMIA V5
  26. DeltaV
  27. Digital Input
  28. DirectLogic PLC
  29. DirectSOFT PLC
  30. Eaton PLC
  31. Elevator with PLC Program
  32. EPICS PLC
  33. Fatek PLC
  34. Festo PLC
  35. Fieldbus
  36. Forex Trading and PLC
  37. FPGA PLC
  38. GE Fanuc PLC
  39. GP proface
  40. GX Developer
  41. Heater Controller with PLC
  42. Hitachi PLC
  43. HMI
  44. Home Automation
  45. Honeywell PLC
  46. IDEC PLC
  47. Keyence PLC
  48. Koyo PLC
  49. LED Display
  50. LG PLC
  51. Lock Unlock Door Using PLC
  52. Logixpro PLC
  53. Maple OIT
  54. Matsushita PLC
  55. MELSEC A
  56. MELSEC Q
  57. Memory PLC
  58. Micro PLC
  59. MicroSmart PLC
  60. Mitsubishi PLC
  61. Mobile Application
  62. Modbus
  63. Modicon PLC
  64. Momentum PLC
  65. Motion Control
  66. National Instruments PLC
  67. Omron PLC
  68. OPC
  69. PAC
  70. Panasonic PLC
  71. Parking Information using PLC
  72. Password Using PLC
  73. PLC
  74. PLC Analog Input Module
  75. PLC and Arduino
  76. PLC and CNC
  77. PLC and Computer
  78. PLC and Facebook
  79. PLC and PC
  80. PLC and Servo
  81. PLC and Visual Basic
  82. PLC Battery
  83. PLC Beginner Guide
  84. PLC Book
  85. PLC Cable
  86. PLC Codesys
  87. PLC Companies List
  88. PLC Computers
  89. PLC Design
  90. PLC for 3 Movement
  91. PLC for Assembly Line
  92. PLC for Automatic Welding
  93. PLC for Binding Machine
  94. PLC for Cutting Machine
  95. PLC for Filling Machine
  96. PLC for Fountain Application
  97. PLC for Injection Molding
  98. PLC for Marking
  99. PLC for Packing
  100. PLC for Rotary Bottle Washing
  101. PLC for Snack Vending Machine
  102. PLC for Sorter Machine
  103. PLC for Water Treatment
  104. PLC Hardware
  105. PLC Hybrid
  106. PLC Information
  107. PLC Knowledge
  108. PLC Language
  109. PLC Link Model
  110. PLC Mitsubishi Download
  111. PLC Model
  112. PLC Modules
  113. PLC Simulator
  114. PLC Software
  115. PLC Supplier
  116. PLC Types
  117. PLC Wiring
  118. PLC WorkShop
  119. PLC-ANALYZER
  120. PLCSIM
  121. Power Supply for PLC
  122. Profibus
  123. ProSafe PLC
  124. Push ON Push OFF with PLC
  125. Quickpanel Operator Interfaces
  126. Raspberry Pi
  127. Raspberry Pi and PLC
  128. RTU
  129. RTU and PLC
  130. SAS
  131. SCADA
  132. Schneider PLC
  133. SHARP PLC
  134. Siemens PLC
  135. SINUMERIK CNC
  136. Small Modular PLC
  137. Standard Sequence Programming for PLC
  138. Substation Automation System
  139. Teco PLC
  140. Telemetry
  141. TEP PLC
  142. Texas Instruments PLC
  143. Timer Countdown with PLC
  144. Toshiba PLC
  145. Touch Screen PLC
  146. Traffic Light with PLC
  147. TWIDO PLC
  148. Types of PLC
  149. Unitary PLC
  150. Unitronics PLC
  151. VIPA PLC
  152. Vision PLC
  153. Weighing Machine Using PLC
  154. Yokogawa PLC
  155. Zelio PLC

Search This Blog

Loading...
Copyright © 2009- All Rights Reserved