0
0
FreertosHow-ToBeginner · 4 min read

How to Use RSLogix 500 for MicroLogix in PLC Programming

Use RSLogix 500 software to create, edit, and download ladder logic programs to MicroLogix PLCs. Connect your PC to the MicroLogix controller via serial or USB, write your ladder logic, then download and test the program using RSLogix 500's interface.
📐

Syntax

RSLogix 500 uses ladder logic programming for MicroLogix PLCs. The basic syntax involves creating rungs with instructions like XIC (Examine If Closed), OTE (Output Energize), and timers/counters.

  • XIC: Checks if a bit is ON (true).
  • OTE: Turns an output ON or OFF.
  • TON: Timer On Delay instruction.
  • CTU: Count Up instruction.

Each rung represents a logical operation executed by the PLC.

plaintext
Rung 1: XIC I:1/0 OTE O:2/0
Rung 2: TON T4:0 PRE 1000 ACC 0
Rung 3: CTU C5:0 PRE 10 ACC 0
💻

Example

This example shows a simple start-stop motor control using RSLogix 500 ladder logic for a MicroLogix PLC.

plaintext
Rung 1: XIC I:1/0 OTE O:2/0  ; Start button turns motor ON
Rung 2: XIO I:1/1 OTE O:2/0  ; Stop button turns motor OFF
Rung 3: XIC O:2/0 OTE B3:0/0 ; Motor status bit for feedback
Output
When input I:1/0 (start) is ON, output O:2/0 (motor) energizes. When input I:1/1 (stop) is ON, motor output de-energizes.
⚠️

Common Pitfalls

Common mistakes when using RSLogix 500 for MicroLogix include:

  • Not setting the correct communication port or baud rate before downloading.
  • Forgetting to put the PLC in program mode before downloading.
  • Using incorrect address formats (e.g., confusing input/output addresses).
  • Not saving the project before downloading, risking loss of changes.

Always verify your ladder logic with the online test mode before running.

plaintext
Wrong: Downloading without setting PLC to program mode
Right: Put PLC in program mode via RSLogix 500 before download
📊

Quick Reference

InstructionDescriptionExample Address
XICExamine If Closed (check if bit is ON)I:1/0
XIOExamine If Open (check if bit is OFF)I:1/1
OTEOutput Energize (turn output ON/OFF)O:2/0
TONTimer On DelayT4:0
CTUCount UpC5:0

Key Takeaways

RSLogix 500 programs MicroLogix PLCs using ladder logic with instructions like XIC, OTE, TON, and CTU.
Always connect your PC to the MicroLogix controller and set the correct communication settings before downloading.
Put the PLC in program mode before downloading your ladder logic to avoid errors.
Verify your program with online test mode to catch logic errors before running.
Use correct address formats for inputs (I:), outputs (O:), timers (T:), and counters (C:).