Jak vám dnes můžeme pomoci?

Why does an HMI read the wrong Modbus objects when using Function Code 04 with a Modicon M580 CPU?

Issue

An HMI using Modbus Function Code 04 (FC04) may read %I / %IW objects instead of the expected %M / %MW objects from a Modicon M580 CPU.

This can occur after migrating an application from a Premium PLC or when changing the Modicon M580 CPU configuration.

Product Line

  • Modicon M580
  • EcoStruxure Control Expert

Environment

The issue has been identified in configurations using:

  • BMEP58xx20 CPU
  • CPU firmware OS 3.0 or OS 3.1
  • EcoStruxure Control Expert V15.0

Resolution

The behavior depends on the number of configured %I and %IW objects.

When the number of configured %I and %IW objects is 0, Modbus FC04 accesses the %M / %MW area.

When %I or %IW objects are configured, Modbus FC04 accesses the %I / %IW area.

With a BMEP58xx20 CPU using OS 3.0 or OS 3.1 in EcoStruxure Control Expert V15.0, the minimum number of %I and %IW objects cannot be configured to 0. As a result, an HMI using FC04 may receive %I / %IW objects instead of the expected %M / %MW objects.

%MW, %M, configuration

The case information states that this behavior is planned to be addressed in EcoStruxure Control Expert V15.1.

Applicable Conditions

This FAQ applies when all of the following conditions are met:

  • The HMI communicates with a Modicon M580 CPU using Modbus.
  • The HMI uses Function Code 04 to access objects expected to be %M or %MW.
  • The CPU configuration contains %I or %IW objects.
  • The application depends on the legacy addressing behavior used with Premium CPUs.

Schneider Electric Česká republika

Zjistěte více

Zjistěte více

Potřebujete pomoc?

Nástroj pro výběr produktů

Rychle a snadno vyhledávejte správné produkty a příslušenství pro vaše aplikace.

Získejte nabídku

Poptejte se nás online a náš lokální specialista se s vámi spojí!

Kde nakoupit?

Jednoduše najděte nejbližšího distributora výrobků Schneider Electric ve vašem okolí.

Centrum nápovědy

Zdroje podpory pro všechny své potřeby najdete na jednom místě.