Question: 1. Write a program that performs the following tasks: Read counter inputs from two photoeyes (PE1) and (PE2) on two conveyor belts (A and B)

1. Write a program that performs the following tasks:

Read counter inputs from two photoeyes (PE1) and (PE2) on two conveyor belts (A and B) as production of discrete items (e.g. boxes) pass.

Counters are CTR1 and CTR2 respectively

Add the number of parts counted in A and B every 10 seconds;

Stores the total in the supervisors memory location SUPERV;

Detect a bad part (simulate this by an input X10 that turns Y0 ON);

If there is a bad part the addition of the two counter inputs is skipped (use JMP LBL) and the value of any one of the counters is decremented by 1.

Write the actual program using Productivity Suite software.

2. In a process a thermocouple used is connected to a PLCs 12-bit analog channel. The thermocouple is set to read temperatures between -20 and 200 degrees F. The corresponding voltage range is 0 to 24V DC. A master solenoid SOL_M controls the whole process and is turned on by a start push button START. The process stop button is connected to STOP. There are two cooling fans in the process connected to outputs FAN1 and FAN2 respectively. Implement a program that would perform the following:

i) turn on the first cooling fan if the temperature reaches or exceeds 120 degrees F.

ii) turn on the second fan if the temperature is above 140 degrees F.

iii) automatically shut down the whole system if the temperature gets up to 180 degrees.

To keep the system ON you must implement a start-stop system or use set/reset coils.

Hint: Compute the decimal count for each case and use the decimal representation of your voltage readings in whatever functions they are required.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!