Table of Contents
Prev
Start: of Posts Show
Next

PLC Real Time Clock Using Android

How to PLC has a clock? one way is to use the clock in android and send clock data from android to PLC. In this way, the PLC has a real time clock. Real time clock in the PLC can be used for applications such as data logging, automatic garden sprinklers, control equipment based on time, and other applications that use time.

Here is the process of get clock data from android and send it to the PLC:
1. Read Calendar data from android
2. Filter Calendar data, only time (second,minute,hour), date(date,month,year) and day name/day of week
3. Send calendar data using android bluetooth and PLC communication
4. Receive data in PLC use PLC data memory
5. PLC data memory used for PLC Real Time Clock
Here's the diagram:
Diagram of PLC Real Time Clock using Android

This application uses the hardware:
1. Android Phone with SPP Bluetooth specification
2. Bluetooth to Serial/RS232
3. PLC RS 232/Serial Cable
4. Siemens PLC S7-200, this PLC does not have a real time clock
5. Android charger
6. Electrical outlet for automatic charging
Detail of hardwares for PLC Real Time Clock:
Hardware of PLC Real Time Clock Using Android

Hardware Setting and Connect:
For all setting and connect, click Android Bluetooth And PLC
Set bluetooth communication use 9600,Even,8,1

Software Installed and how to use them:
1. Download file, click here
2. After completion of the download, then install on android phone
3. How to use them:
Android Apps for PLC Real Time Clock
Description:
1.A. Connection Status
1.B. Choose bluetooth with dropdown
1.C. Auto Start Up/Run After Booting
1.D. Default set button for Items 1A and 1B (Saved in memory phone)
1.E. Battery Manager/Information, level per scale
1.F. Quit Button for quit and if error then press this button
2.A. Click Dropdown and select/choose bluetooth
2.B. Click Bluetooth name, I use HC-06 (bluetooth is connected to PLC)
3.A. await Connecting
4.A. Connection is successful, display a clock with the ever-changing number of seconds
4.B. Connection notification
4.C. Click Default Set Button

Download Ladder PLC Programming to PLC:
1. Download file, click here
2. And Download Ladder programming to PLC
3. Result Check, see this video

4. Clock Data in PLC data memory
VB0 = SECOND : 0 to 59
VB1 = MINUTE : 0 to 59
VB2 = HOUR OF DAY : 0 to 23
VB3 =DATE : 1 to 28/29/30//31
VB4 = MONTH : 1 to 12
VB5 = DAY OF WEEK : 1=SUNDAY, 2=MONDAY, 3=TUESDAY, 4=WEDNESDAY, 5=THURSDAY, 6=FRIDAY, 7=SATURDAY
VW6 = YEAR
VB8 = BATTERY SCALE : 100
VB9 = BATTERY LEVEL : 0 to 100
For Charging, I use:
If VB9 greater and equal to 75 then charging is ON and after VB9 greater 100 then charging is OFF
PLC Ladder programming for charging of android phone


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 Android
  76. PLC and Arduino
  77. PLC and CNC
  78. PLC and Computer
  79. PLC and Facebook
  80. PLC and PC
  81. PLC and Servo
  82. PLC and Visual Basic
  83. PLC Battery
  84. PLC Beginner Guide
  85. PLC Book
  86. PLC Cable
  87. PLC Codesys
  88. PLC Companies List
  89. PLC Computers
  90. PLC Design
  91. PLC for 3 Movement
  92. PLC for Assembly Line
  93. PLC for Automatic Welding
  94. PLC for Binding Machine
  95. PLC for Cutting Machine
  96. PLC for Filling Machine
  97. PLC for Fountain Application
  98. PLC for Injection Molding
  99. PLC for Marking
  100. PLC for Packing
  101. PLC for Rotary Bottle Washing
  102. PLC for Snack Vending Machine
  103. PLC for Sorter Machine
  104. PLC for Water Treatment
  105. PLC Hardware
  106. PLC Hybrid
  107. PLC Information
  108. PLC Knowledge
  109. PLC Language
  110. PLC Link Model
  111. PLC Mitsubishi Download
  112. PLC Model
  113. PLC Modules
  114. PLC Real Time Clock
  115. PLC Simulator
  116. PLC Software
  117. PLC Supplier
  118. PLC Types
  119. PLC Wiring
  120. PLC WorkShop
  121. PLC-ANALYZER
  122. PLCSIM
  123. Power Supply for PLC
  124. Profibus
  125. ProSafe PLC
  126. Push ON Push OFF with PLC
  127. Quickpanel Operator Interfaces
  128. Raspberry Pi
  129. Raspberry Pi and PLC
  130. RTU
  131. RTU and PLC
  132. SAS
  133. SCADA
  134. Schneider PLC
  135. SHARP PLC
  136. Siemens PLC
  137. SINUMERIK CNC
  138. Small Modular PLC
  139. Standard Sequence Programming for PLC
  140. Substation Automation System
  141. Teco PLC
  142. Telemetry
  143. TEP PLC
  144. Texas Instruments PLC
  145. Timer Countdown with PLC
  146. Toshiba PLC
  147. Touch Screen PLC
  148. Traffic Light with PLC
  149. TWIDO PLC
  150. Types of PLC
  151. Unitary PLC
  152. Unitronics PLC
  153. VIPA PLC
  154. Vision PLC
  155. Weighing Machine Using PLC
  156. Yokogawa PLC
  157. Zelio PLC

Search This Blog

Loading...
Copyright © 2009- All Rights Reserved