4–5Write Ladder Logic
Publication
65566.5.1 - October 1996
Follow these guidelines when writing ladder logic for your C/B
interface in PF15. We present programming examples afterwards.
1. Install your programming software on your hard drive. Use
instructions in the manual that accompanied your software.
2. Execute the following procedure to install program files onto
your hard drive (from the diskette in your Application Package).
a. Insert the diskette into drive A.
b. Change to “a” drive.
c. To install program files: at the “a” prompt, type
Install C:
If using 6200 Software, installs to C:\IPDS\ARCH\PLC5
If using AI5 software, installs to C:\PLC5\PROGS
3. Rename our program files only if using AI5 software as follows:
(If using 6200 series software, skip this step. You can download a
PLC-5/86 program to a PLC-5/26 or -5/46 processor.)
If Processor A
Is This Type:
Make This the
Default File:
By Renaming
It:
If Processor B
Is This Type:
Make This the
Default File:
By Renaming
It:
PLC5/26 Pxxx_A26.x5 Pxxx_A.x5 PLC5/26 Pxxx_B26.x5 Pxxx_B.x5
PLC5/46 Pxxx_A46.x5 Pxxx_A.x5 PLC5/46 Pxxx_B46.x5 Pxxx_B.x5
PLC5/86 Pxxx_A.x5 n/a PLC5/86 Pxxx_B.x5 n/a
Important: With AI5 software, you can download a program
file of designated type only to that type of processor. Select the
program for your designated processor and rename it so you can
download and view the program with comments and symbols.
4. List all operations that you must program, and assign them to:
your interface program file (PF15)
main program file (PF3) We do NOT provide examples for this.
subroutines to PF3 We do NOT provide examples for this.
5. Identify and map the program and data files that we provide (see
appendix E) that your application requires.
6. For clutch/brake logic, review programming examples and command-
bit descriptions to be sure that you understand associated logic.
7. Write your own ladder logic. If adding other press-control functions,
use the pre-assigned subroutines. Attention: Be sure to program the
scanning of your subroutines in the correct sequence. Otherwise,
possible unexpected motion could cause damage, injury, or death.
8. Thoroughly check your ladder logic, data and I/O addresses.
9. Check your ladder logic against the worksheet in chapter 2 to
verify that you programmed all required functions.
10. When your programming is free of errors, make a back-up copy
of your software diskette.
Steps to Write
Ladder Logic