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

Search This Blog

Loading...
Copyright © 2009- All Rights Reserved