Capstone PLC Project Lab 7 BCD Conversion Temperature App ✓ Solved

```html

Capstone PLC Project Lab 7 BCD CONVERSION TEMPERATURE APPLICAT

Capstone PLC Project Lab 7 BCD CONVERSION TEMPERATURE APPLICATION Objectives: Upon completion of this laboratory, you will be familiar with FRD (convert from BCD) and TOD (convert to BCD) instructions and comparison instruction (Greater than or equal) and its use within the ladder logic to control a process. BCD I/O LogixPro HMI Simulator courtesy of The Learning Pit LogixPro 500 Process Description: Study and experiment with the LogixPro BCD I/O simulator. Design a PLC program to perform the conversion from positive degree Fahrenheit (F) to the equivalent degree Centigrade (C). The degree F is limited to two BCD digits (00 to 99) in order to match the simulator thumb wheel switch setting. The formula for the conversion is given by the following equation: C = (F - 32) * 5 / 9 Laboratory Requirements: 1. Design the specification for the temperature HMI and specify the input / output range allowed by the given simulator. 2. Write the ladder logic program to capture the BCD degree F entered form input I: 0 and display the output O: 2 in degrees centigrade using the BCD format. 3. Flash output O: 2 for negative degree C and maintain it for positive values? 4. Modify the program design to allow for input in hexadecimal, which accommodate degree F from 0 to 255. Display the degree C in BCD format.

Paper For Above Instructions

In this paper, we will explore the essential components and steps needed to design a Programmable Logic Controller (PLC) program for converting Fahrenheit to degrees Centigrade using Binary-Coded Decimal (BCD) format. The challenge of this project lies in the conversion process itself and the constraints set forth by the simulator's input limits. This includes understanding both the BCD to decimal conversion and implementing ladder logic in a way that utilizes the specified functions efficiently.

Understanding BCD and the Conversion Formula

Binary-Coded Decimal (BCD) is a class of binary encodings of decimal numbers where each decimal digit is represented by a fixed number of binary digits, normally four or eight. In our project, we are tasked with converting temperatures given in Fahrenheit (°F) to Centigrade (°C) using the formula:

C = (F - 32) * 5 / 9

Given that our Fahrenheit input will be limited to two BCD digits (00 to 99), this means the maximum Fahrenheit temperature we will be working with is 99, which converts to approximately 37.22°C. Therefore, the outputs must be represented within this range in BCD format.

Phase 1: Designing the Temperature HMI Specification

To begin, a comprehensive design specification for the temperature Human-Machine Interface (HMI) is needed. This HMI must allow users to enter temperatures in Fahrenheit and receive outputs in Centigrade. The following input/output specifications should be implemented:

  • Input: A switch or keypad to set Fahrenheit values from 00 to 99, represented as BCD.
  • Output: A display output that shows the equivalent Centigrade value in BCD format.

Phase 2: Writing the Ladder Logic Program

The ladder logic for this application will consist of several rungs, which will manage the BCD input and perform the calculations for the conversion. For capturing the BCD degree F entered from input I:0, the first rung would be designated to read the input and execute the conversion calculations. Let's break down the implementation process:

  1. Read the Binary-Coded input F from I:0.
  2. Implement the conversion formula in the logic. This can involve a series of arithmetic operations, using the FRD and TOD commands as needed to convert between decimal and BCD formats.
  3. Display the result on output O:2.
  4. Add logic to flash output O:2 for negative degree C results; if any value calculated is less than zero, this output should indicate so.
  5. Modify the input section to handle hexadecimal up to a maximum of 255, updating the conversion process to reflect this broader input range and appropriately calculating Centigrade as needed.

Phase 3: Implementation Challenges

When implementing this project, several factors need thorough consideration:

  • BCD Conversion: Attention must be placed on ensuring accurate conversion between binary and decimal representations, especially given the constraints of working with limited digits.
  • Ladder Logic Design: The design must be kept clean and efficient to minimize execution time and ensure reliability during operation.
  • Hexadecimal Input: Addressing hexadecimal inputs will greatly expand the input range, compelling the use of additional conversion logic for values exceeding the original BCD two-digit limit.

Conclusion

The Capstone PLC project to develop a conversion application from Fahrenheit to Centigrade presents an opportunity to not only grasp BCD functionalities effectively but also to enhance one’s knowledge of ladder logic programming. Successfully navigating through the specifications and requirements will provide an excellent understanding of how PLCs interact with HMI for real-world applications, particularly in the domain of temperature conversion.

References

  • LogixPro 500. (n.d.). The Learning Pit.
  • Meier, H., Christofides, N., & Salkin, G. (2001). Capital budgeting under uncertainty—an integrated approach using contingent claims analysis and integer programming. Operations Research, 49(2), 196-200.
  • Fried, G., DeSchriver, T., & Mondello, M. (2013). Sport Finance (3rd ed.). Champaign, IL: Human Kinetics.
  • Brown, M. T., Rascher, D. A., Nagel, M. S., & McEvoy, C. D. (2015). Financial management in the sport industry (2nd ed.). Scottsdale, AZ: Holcomb Hathaway.
  • Capital budgeting in sports. (n.d.). Retrieved from [Link to relevant source]
  • PLC Basics. (n.d.). Retrieved from [Link to relevant source]
  • Designing PLC Programs. (n.d.). Retrieved from [Link to relevant source]
  • Understanding Ladder Logic. (n.d.). Retrieved from [Link to relevant source]
  • Binary Coded Decimal Resource. (n.d.). Retrieved from [Link to relevant source]
  • Temperature Conversion Techniques. (n.d.). Retrieved from [Link to relevant source]

```