Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Automation & Robotics ROBO - 2 4 2 PLC / Pneumatic Interfacing Lab 7 : Allen - Bradley Math and Data Handling Program Objective: To
Automation & Robotics
ROBO PLCPneumatic Interfacing
Lab : AllenBradley Math and Data Handling Program
Objective: To explore the operation of Math and Data Handling instructions.
Upon successful completion of this lab, the learner will be able to:
Use the MOV instruction to place integer data into data memory
Program Math & Compare functions on the AB PLC
Procedure:
In this lab:
Data is the last digits of the Student number of the oldest group member.
Data is the last digits of the Student number of the youngest group member.
Write a program to accomplish the following tasks:
When the SW is turned ON:
a Place Data A into integer word N:
b Place Data B into integer word
When the SW is OFF:
a Press PB to place sum of Data A & Data B into integer word
b Press PB to place result of Data A Data B into integer word
When SW is ON:
a Press PB to place quotient of the larger of the Data values divided by the smaller into integer word
b Press PB to place product of Data A and Data B into integer word
Use the data table for Data File S to find the actual quotient and remainder results from step a above.
Use the data table for Data File N to change the values in integer words and directly. Replace your larger value with and your smaller value with and verify correct operation of parts and Observe the CPU after the MUL instruction is executed. Explain.
For step a program will automatically divide larger by smaller Data value. Division must work even if both Data values are the same.
Use Fill File FLL instruction to load zero values to all N words that were used in your program. Activate it with SW
Evaluation:
Minimum: Demonstrate functions from items to
Standard: Demonstrate functions from item
Expert: Demonstrate functions from items and
Ensure that your participation is marked on the Lab Attendance form.
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started