How can we help you today?

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 India

Explore more
Range:
Users group

Discuss this topic with experts

Visit our community and get advice from experts and peers on this topic and more
Explore more
Range:
  • Products Documentation
  • Software Downloads
  • Product Selector
  • Product Substitution and Replacement
  • Help and Contact Centre
  • Where to buy
  • Get a Quote
  • Find our Offices
  • Schneider Electric Community
  • Careers
  • Company Profile
  • Report a misconduct
  • Accessibility
  • Newsroom
  • Investors
  • EcoStruxure
  • Job Search
  • Blog
  • Contact support - +1800-103-0011
  • Price List
  • Privacy Policy
  • Cookie Notice
  • Terms of use
  • Change your cookie settings