Professional Documents
Culture Documents
Enp-255-2 Mechatronics Lab Report: Shri Ramdeobaba College of Engineering and Management, NAGPUR 2021-22
Enp-255-2 Mechatronics Lab Report: Shri Ramdeobaba College of Engineering and Management, NAGPUR 2021-22
EXPERIMENT – 12
B02-Apoorva Pardhi Experiment no:12
EXPERIMENT - 4
AIM: Development of logic of subroutine ladder logic
SOFTWARE USED: LogixPro
Subroutines improve Ladder Logic code re-usability and readability. They do this by allowing you to
break apart your code into manageable pieces. Subroutines can then be used multiple times inside a
program and easily brought into new programs.
Subroutines act as a separate Ladder Logic that can be called whenever needed. Many times you’ll
need to provide it data from the calling routine. To do this, you setup input Tags for the Subroutine
that will receive data from the Calling Routine. Wherever you call the Subroutine you match up the
Tags you want to pass from the Calling Routine to the Tags in the Subroutine that will receive the
data.
Ladder Logic:
B02-Apoorva Pardhi Experiment no:12
Ladder description
RUNG 000: In this rung we attached two NO switches and one NC switch and one
OUTPUT coil
RUNG 001: In this rung we attached one NO switch and one JSR instruction
RUNG 002: In this rung we attached one NO switch and one JSR instruction
RUNG 003: In this rung we attached one NO switch and one JSR instruction
RUNG 004: In this rung we attached one NO switches and one REST for counter
RUNG 005: In this rung we attached one NO switches and one REST for counter
B02-Apoorva Pardhi Experiment no:12
Results;
B02-Apoorva Pardhi Experiment no:12
B02-Apoorva Pardhi Experiment no:12
Conclusion :
Successfully implemented program wherein we used 3 different subroutine for 3 different tasks