Battery Level Indicator using PLC with Analog Input PLC and Digital Output PLC

For this application, I use Omron PLC CP1L with external analog input and digital output as digital battery level indicator with 4 levels for 6 volt battery.
See the video for this application:


A. Wiring Diagram between Battery, Analog Input PLC, and Digital Output PLC of Omron PLC CP1L
A.1.Preparation
1. Omron PLC CP1L-L10 with external analog input
External Analog Input Omron PLC CP1L-Ll10

2. External Analog Cable
External Analog Cable
Remarks:
Black color to negative battery
White color to positive batteryy

3. Battery DC 6 Volt for Testing
For this application, I use battery dc 1.5 volt as many as 4 pieces.
Battery DC 1.5Volt 4 pieces






A.2. Installation
1. Battery to Analog Input PLC
Battery to Analog Input PLC

2. Accumulator to Analog Input PLC
Accumulator to Analog Input PLC

B. Information about External Analog Input of Omron PLC CP1L
Analog voltage values ​​0 volts to 10 volts can be digitized with 0 to 255. Digitized values are sent to the A643 of Omron PLC CP1L. The following is relationship between Voltage Values and A643.
Voltage and A643 Value of Analog Input PLC CP1L

C. 6 volt and 4 levels battery indicator to digitized
The following descriptions:
1. 10 Volt digitized = 255
2. 6 Volt digitized = (255/10) X 6 = 153

3. 6 Volt per 4 Levels (Per Level) digitized = 153/4 = 38.25
In PLC Programming: Because per Level there is 2 digits after point, and then 153 multiplied by 100. And Value for per Level = (153 X 100) / 4 = 15300 / 4 = 3825 (this value no point and suitable for PLC programming)

4. The values of each level become:
4. a. Level 1: (153 X 100)/4 = 3825 is the digital value of analog 1.5 Volt of battery
4. b. Level 2: (153 X 100)/3 = 7650 is the digital value of analog 3 Volt of battery
4. c. Level 3: (153 X 100)/2 = 34425 is the digital value of analog 4.5 Volt of battery
4. d. Level 4: (153 X 100)/1 = 15300 is the digital value of analog 6 Volt of battery

5. PLC Programming for per levels of Battery Level Indicator
5. a. BufferA643 = A643 X 100
5. b. Level 1: If (BufferA643) >= 3825) Then Digital Output 100.00 = ON
5. c. Level 2: If (BufferA643) >= 7650) Then Digital Output 100.01 = ON
5. d. Level 3: If (BufferA643) >= 34425) Then Digital Output 100.02 = ON
5. e. Level 4: If (BufferA643) >= 15300) Then Digital Output 100.03 = ON

The following is relationship between battery level indicator and Digital Value (A643) of Omron PLC CP1L.
between battery level indicator and digital value

D. Digital Output Light Lit for each Level
Digital Output Light Lit Level1

Digital Output Light Lit Level2

Digital Output Light Lit Level3

Digital Output Light Lit Level4

E. Ladder Program for Battery Level Indicator
Ladder PLC Program for Battery Level Indicator


Download PLC Program File: Click Here

F. Video about make ladder program for Battery Level Indicator




G. For other battery voltage
Battery voltage greater than 10 volt should use additional resistors, e.g. 12VDC, etc.
In this case use Kirchhoff's Voltage Law (KVL), See the picture below:
Kirchhoff's Voltage Law for Analog Input PLC
Example Battery Voltage (V) =12volt
Defined:
V=12 volt
R2=1000 ohm
V2=10 volt
Then:
I=V / (R1+R2)
I=V2/R2
V2/R2 =V / (R1+R2)
V2(R1+R2)=V*R2
V2*R1+V2*R2=V*R2
V2*R1=V*R2 – V2*R2
R1= ((V-V2)*R2)/V2
R1=((12-10)*1000)/10
R1=2000/10
R1=200 ohm
Watt Resistor (Standards: 1/8W, 1/4W, 1/2W, etc.)
I=V/(R1+R2)
I=12/(200+1000)
I=0.01A
Watt R1=I*I*R1=0.01*0.01*200 = 0.02watt = 1/8W
Watt R2 =I*I*R2=0.01*0.01*1000=0.1watt = 1/4W
For Battery Voltage=12volt uses R1=200 ohm 1/8W and R2=1000 ohm 1/4W
For other battery voltage, you can try with way the above.

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

Search This Blog

Loading...
Copyright © 2009- All Rights Reserved