1772-6.8.2, 9 - programming applications, Programming applications – Rockwell Automation 1772-LV Mini-PLC - 2/15 Programmable Controller (Series B) Programming and Operations User Manual

Page 118

Advertising
background image

Chapter

9

9Ć1

Programming Applications

This chapter illustrates generic programming applications which demonstrate a
suggested use for the following instructions:

Timer/counters
Arithmetic
Data manipulation
Program control

Do not program these examples using on-line production equipment. These
examples are used only for demonstration purposes.

Refer to Figure 9.1.

This application illustrates the conversion of temperature from Celsius to
Fahrenheit.

Suppose that a thermocouple is connected to a thermocouple input module
which records the Celsius temperature of a motor bearing. For the operator’s
ease we would like to convert the recorded Celsius temperature in the data table
to Fahrenheit values for display. This temperature must maintain certain range
values for your application.

You would like to:

Monitor the temperature between 87

0

to 100

0

C

Count the times the value falls below 190

0

F

Count the times the values stay at 212

0

F

Now we will look at each rung:

Formula: F = (9/5 C) + 32

Objectives

Application One

Advertising