Programming Considerations for PLC-5 ProcessorsF–8
Publication
65566.5.1 - October 1996
You may add subroutines to the clutch/brake ladder program.
For example, the program scan for the following program files is
shown in Figure F.3.
• Main Program, PF2
• Call Subroutines, PF3
• Clutch/Brake Interface, PF15
• Clutch/Brake Code, PF16
• Auxiliary Press Function, PFxx
• Automation Function, PFyy
Figure F.3
Scan
of the AllenBradley Clutch/Brake Ladder Program
SBR
][ ][
][
( )
][
RET
Main Program (PF2)
JSR
to SBR3
Call Subroutines (PF3)
][
(
)
][ ][
( )
][ ][
][ ][
( )
][
( )
][ ][
3
JSR
to SBRxx
SBR
][ ][
(
)
][
][ ][
RET
Auxiliary Press Function, PFxx
End
xx
SBR
][ ][
(
)
][
][ ][
( )
RET
Automation function, PFyy
End
22
(
)
][
( )
][ ][
][
( )
( )
][
JSR
to SBRyy
][
(
)
End
( )
I/O Image T
able
Data T
able
End
SBR
][ ][
( )
RET
Clutch/Brake Code, PF16
End
16
SBR
][ ][
(
)
RET
Clutch/Brake
Interface, PF15
End
15
][
][
][
JSR
to SBR16
][ ][
(
)
][
JSR
to SBR15
][
][
(
)
][
( )
][ ][