1. Determine Program Functions
First, determine what you want your program to do.
Do you want to power on a light switch? What about turn off a conveyor belt or enable a machine to pause every three minutes? There is no right or wrong answer, but you’ll need a clear view of the output function before you begin.
2. List Program Conditions
Next, list all the conditions that will play into your program. Using the light switch example, one condition would be that when you flip the switch upward, the light comes on. Then, when you flip it downward, the light turns off.
Create a flowchart referencing these conditions for visual representation.
3. Configure Your Software
Now, you’re ready to open your handheld or PC-based device and load your programming software. Configure it with the required settings and set your language to “ladder logic language.” Finally, select the appropriate hardware processor and give your new program a name.
4. Add Your Rungs
With your power rails in place, you can begin programming your ladder “rungs.” Add your necessary number of rungs into the program, paying close attention to each input and output.
5. Scan for Errors
It’s essential to scan your program for errors at this juncture, catching them now rather than going back later.
6. Download the Program
Your last step is to download the program to your PLC. Download it to the system’s memory. When the transfer is done, you can disconnect your programming device.