我们今天能为您提供什么帮助?

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.

施耐德電機Taiwan

探索更多

系列:

探索更多

系列:

需要協助?

產品選型工具

快速輕鬆地為您的應用找到合適的產品和附件。

取得報價

立即線上提交您的銷售需求,專業團隊將主動聯繫您。

購買地點

輕鬆在您所在地區找到最近的施耐德電機經銷商。

支援中心

在同一位置找到滿足您所有需求的支援資源。