ABB PLC Lab Manual · Lab 06 of 20 · I/O Mapping & Program Transfer

ABB AC500-eco Digital Output Mapping for Motors, Valves and Lamps

Drive real loads the right way. Size and wire transistor outputs, name the 10 outputs of the kit, and add an output-mapping layer so that interlocks always have the last word before a contactor pulls in.

2,500+ engineers trained 4.9/5 Google rating 21+ years, Chinchwad, Pune Real AC500-eco + ACS580 trainer kits
Lab 6 of 20 · 45 minutes · Level: Beginner
Quick answer

Output mapping links internal command bits to physical output channels such as %QX0.0. Name each output in the I/O Mapping tab (DO_Motor_Run), but write machine logic on internal command bits (Cmd_Motor_Run) and copy them to outputs in one output-mapping rung or POU, where the final interlocks such as E-stop healthy and MPCB OK are applied.

  • Transistor outputs switch 24 VDC loads; use interposing relays for AC loads or high current
  • Add a freewheeling diode or suppressor on DC coils
  • Logic writes Cmd_ bits; one output-mapping section writes DO_ outputs
  • Configure outputs to switch OFF when the CPU stops
HardwareKit with contactor, tower lamp, PB lamps
SoftwareProject from Lab 5
SafetyMotor power isolated for testing

Inputs tell the PLC what is happening; outputs change the machine. Mistakes here burn output channels or start motors unexpectedly, so wiring rules and a clear mapping structure come first.

Step 1: Match Each Load to the Output Type

Load list 10 minutes
LoadSupplyConnect viaProtection
Contactor coil 24 VDC24 VDCDirect from transistor outputFreewheeling diode across coil
Contactor coil 230 VAC230 VAC24 VDC interposing relayRC suppressor on the AC coil
Solenoid valve 24 VDC24 VDCDirect if current within output ratingDiode / suppressor connector
Tower lamp 24 VDC LED24 VDCDirectNone needed
Push button lamp 24 VDC24 VDCDirectNone needed
ACS580 run command (hardwired option)Drive DIDirect to drive digital inputCommon 0 V between PLC and drive
Check the per-channel and per-group current rating of your CPU and module in the ABB datasheet. Never drive an AC load from a transistor output.

Step 2: Name the Outputs in the I/O Mapping Tab

Automation Builder 10 minutes
Tag nameAddress*ChannelLoad
DO_Motor_Run%QX0.0CPU onboard DO0Main contactor coil / drive run (hardwired mode)
DO_Motor_Rev%QX0.1CPU onboard DO1Reverse contactor coil
DO_Tower_Green%QX0.2CPU onboard DO2Tower lamp green: running
DO_Tower_Amber%QX0.3CPU onboard DO3Tower lamp amber: ready / warning
DO_Tower_Red%QX0.4CPU onboard DO4Tower lamp red: fault
DO_Buzzer%QX0.5CPU onboard DO5Buzzer / hooter
DO_Start_Lamp%QX1.0DX561 DO0Start push button lamp
DO_Reset_Lamp%QX1.1DX561 DO1Reset push button lamp (fault present)
DO_Auto_Lamp%QX1.2DX561 DO2Auto mode indicator
DO_Manual_Lamp%QX1.3DX561 DO3Manual mode indicator

* Addresses shown are the ones Automation Builder assigned on our trainer project. Your project may differ depending on CPU variant, firmware and module order, so always read the actual address from the module's I/O Mapping tab.

  1. Open onboard I/O > I/O Mapping, type the DO_ names in the Variable column for the output channels.
  2. Repeat for DX561_Slot1 outputs.
  3. Mark unused channels SPARE in the comment column.

Step 3: Build an Output Mapping Layer

Ladder POU: Output_Mapping 15 minutes

Machine logic in later labs (manual, auto, alarms) sets command bits like Cmd_Motor_Run. A single POU, Output_Mapping, is the only place that writes physical outputs. That gives you one place to apply final interlocks and one place to look when an output does not switch. Try it below.

Output mapping simulator

Turn on the command from logic, then trip the MPCB or press the E-stop: the physical output drops even though the command is still TRUE.

Inputs (click / hold)
Outputs
%QX0.0 DO_Motor_Run
%QX0.2 Tower green
%QX0.4 Tower red
001 Final interlocks applied at the outputCmd_Motor_RunDI_EStop_OK%IX0.0DI_MPCB_OK%IX1.4DO_Motor_Run%QX0.0002 Running lamp follows the real outputDO_Motor_Run%QX0.0DO_Tower_Green%QX0.2003 Fault lampCmd_FaultDO_Tower_Red%QX0.4

Green contact = passing power. Orange moving wire = rung is true and the output is energised.

Why not write outputs everywhere?

If two POUs write the same output, the last one executed wins. This “double coil” bug is the most common reason an output flickers or ignores a command.

Step 4: Test Outputs Safely

Motor power isolated 10 minutes
  1. Isolate motor power (contactor load side open) and warn people near the machine.
  2. Download (Lab 8) and log in.
  3. Use write or force on each Cmd_ bit (Lab 10) and check the output LED and the load.
  4. Stop the CPU and confirm all outputs switch OFF.
  5. Remove all forces before leaving the machine.
0 of 4 checks recorded
IDCheckHow to checkPass criterionResult
Outputs
O-01ContactorWrite Cmd_Motor_Run TRUEContactor pulls in, DI_Contactor_FB TRUE
O-02InterlockTrip MPCB with command TRUEDO_Motor_Run drops
O-03Tower lampsWrite each lamp bitCorrect colour lights
O-04CPU STOPStop the CPUAll outputs OFF

Practice Exercise

Exercise

Add DO_Motor_Rev to Output_Mapping with an interlock so forward and reverse can never be ON together. Prove it on the kit with motor power isolated.

Troubleshooting

SymptomLikely causeFix
Output LED on but load offNo output process supply or blown load fuseMeasure 24 VDC at UP/ZP and at the load
Output channel failed after contactor testNo suppression on inductive loadFit diode/suppressor; replace channel/module
Output flickersWritten in two placesSearch cross-references; write only in Output_Mapping
Output stays on when CPU stopsModule set to hold last valueSet output behaviour on STOP to OFF

Frequently asked questions

Can AC500-eco transistor outputs switch a 230 VAC contactor?

No. Transistor outputs switch 24 VDC only. Use a 24 VDC interposing relay, or a relay-output CPU or module, for AC loads.

Why use command bits instead of writing outputs directly?

It gives one place where final interlocks are applied and avoids the same output being written in several places.

Do I need a diode across a 24 VDC contactor coil?

Yes, a freewheeling diode or suppressor protects the transistor output from the voltage spike when the coil switches off.

What should outputs do when the PLC stops?

Switch OFF. Set this in the module or CPU parameters so a stopped controller never leaves a load running.

Reviewed by Bhawesh Kumar SinghIndustrial Automation Trainer and Industry 4.0 Consultant · Softwell Automation · 21+ years industry experience

Get the full ABB PLC syllabus + free demo class

Share your details. A Softwell training advisor will call you within 24 hours with batch dates, fees and AC500 hardware access options.

No spam. Used only to share course details for this enquiry.

Practise every lab on real ABB hardware

AC500-eco PLC, ACS580 drive and HMI trainer kits: live online, Pune classroom or corporate in-plant training.

Request Course Details
Verified learning pathway

Discuss This Technical Course

Explore practical curriculum, software, hardware and batch options for this technology.

Content reviewed: 14 October 2026

ABB PLC & Automation Builder Learning Path

Follow the full 20-lab ABB AC500-eco practical series in order, or start from the ABB PLC Lab Manual hub.

  1. Lab 1: Automation Builder Installation & AC500-eco Setup
  2. Lab 2: Connect AC500-eco PLC via Ethernet
  3. Lab 3: Create a New Automation Builder Project
  4. Lab 4: AC500-eco IO Configuration
  5. Lab 5: Digital Input Mapping
  6. Lab 6: Digital Output Mapping
  7. Lab 7: First Ladder Program: Start/Stop
  8. Lab 8: Download a Program to AC500-eco
  9. Lab 9: Upload a Program from AC500-eco
  10. Lab 10: Online Monitoring, Force & Write
  11. Lab 11: Timers & Counters in Ladder
  12. Lab 12: Network & Tag Mapping
  13. Lab 13: Alarm Mapping & Fault Latching
  14. Lab 14: Tower Lamp Logic
  15. Lab 15: Emergency Stop & Interlocks
  16. Lab 16: Manual Mode Logic
  17. Lab 17: Auto Mode Sequence Logic
  18. Lab 18: Structured Text (ST) Programming
  19. Lab 19: AC500-eco to ACS580 Modbus RTU Setup
  20. Lab 20: Control ACS580 via Modbus RTU
  21. ABB AC500 PLC Selection Guide
☎ Call WhatsApp ✉ Email Enquire Now