Skip to content
Industrial Error Code Fixes
Go back

Schneider Modicon M340 PLC Common Error Codes

⚡ Quick Answer

Schneider Modicon M340 PLC error codes and diagnostic LEDs explained. Learn how to identify I/O faults, communication errors, CPU faults, and power supply problems.

Schneider Modicon M340 PLC Error Codes

The Schneider Electric Modicon M340 is a mid-range PLC platform using the Unity Pro (now EcoStruxure Control Expert) programming environment. Faults are indicated through front-panel LEDs, Unity Pro diagnostic screen, and system words accessible in the ladder/FB program.

M340 CPU LED Indicators

LEDStateMeaning
RUNGreen solidApplication running normally
RUNGreen blinkingStandby or stopped
ERRRed solidFatal error — CPU stopped
ERRRed blinkingNon-fatal error (application continues)
I/OYellow solidI/O module fault
I/OYellow blinkingI/O communication intermittent
ETHGreen solidEthernet link active
ETHGreen blinkingEthernet activity
BATRedBattery low (backup battery)
MEMYellowMemory card issue

Common M340 Error Codes (via Unity Pro / Control Expert)

CPU Faults

Fault CodeDescriptionAction
1Internal CPU faultPower cycle, check firmware version
2Memory faultCheck application download, replace SDRAM
3Configuration errorRe-download application from Control Expert
4I/O configuration mismatchVerify rack hardware matches project config
5Communication module faultCheck module seating, replace if needed
10Watchdog timeoutProgram scan time exceeded — optimize code
11Task overflowMast/fast task overrun — reduce scan load
20Power supply faultCheck 24VDC supply to CPU bus

I/O Module Faults

FaultCauseFix
Module not presentModule removed or looseReseat module, check card guides
Module configuration errorWrong module type in slotUpdate hardware configuration in project
Channel faultIndividual I/O channel failureTest wiring on channel; replace module if channel is burned
Bus communication lostBackplane fault or module hardware failureReplace module; check backplane ribbon

Ethernet/Communication Faults

FaultMeaning
IP conflictTwo devices with same IP on network
No heartbeat from masterEtherNet/IP or Modbus TCP scanner not polling
Time-out on remote I/ODistributed Quantum or X80 remote I/O not responding

Accessing Faults in Control Expert (Unity Pro)

Online fault display:

  1. Connect to the PLC with Control Expert (online mode)
  2. Open Diagnostic Viewer (View → Diagnostic Viewer)
  3. Review the fault table — faults listed by type, module, and timestamp

System words:

Watchdog / Task Overflow (Code 10/11)

Task overflow is common after large program changes. The M340 Mast task has a watchdog timeout (default 250 ms). If the scan takes longer, the CPU stops and ERR LED flashes.

Fix options:

  1. Increase watchdog timeout in project settings (CPU properties → Tasks → Mast → Watchdog)
  2. Move non-critical logic to Event or Fast tasks
  3. Optimize loops — avoid large FOR loops inside Mast task
  4. Check for runaway indirect addressing

Battery Replacement (BAT LED)

The M340 CPU uses a CR2032 or similar lithium cell to retain program data during power loss. When BAT LED illuminates:

  1. Download the application from Control Expert as backup
  2. Power the PLC on
  3. Replace battery while powered (hot-swap within 1 minute on most models)
  4. M340 battery: Schneider P/N TSX MBP 100 or equivalent CR2032 3V lithium

Firmware Updates

M340 CPUs run embedded firmware. Firmware mismatch between CPU and I/O modules can cause intermittent faults. Use Control Expert → Tools → Firmware Update to check and update.

Emergency Recovery

If the CPU won’t start (ERR solid, no RUN):

  1. Clear memory: hold CLEAR button (if present) during power cycle
  2. Transfer application from Control Expert in PROGRAM mode first, then switch to RUN
  3. If SDRAM failure is suspected, contact Schneider Electric technical support — memory cannot be field-replaced on most M340 CPUs

Share this post on:

Previous Post
Rheem Water Heater Error Codes — Complete Guide
Next Post
Emerson Sensi Thermostat Error Codes — Complete Guide