Help
  • Get started
  • Ask the Community
  • How-To & Best Practices
  • Contact Support
Login / Register
Brand Logo
Help
  • Get started
  • Ask the Community
  • How-To & Best Practices
  • Contact Support
close
  • Community Home
  • Forums
    • By Topic
    • By Topic
      EcoStruxure Building
      • Field Devices Forum
      • SmartConnector Forum
      EcoStruxure Power & Grid
      • Gateways and Energy Servers
      • Metering & Power Quality
      APC UPS, Critical Power, Cooling and Racks
      • APC UPS Data Center & Enterprise Solutions Forum
      • APC UPS for Home and Office Forum
      EcoStruxure IT
      • EcoStruxure IT forum
      • EcoStruxure IT™ Advisor CFD
      Remote Operations
      • EcoStruxure Geo SCADA Expert Forum
      • Remote Operations Forum
      Industrial Automation
      • Alliance System Integrators Forum
      • AVEVA Plant SCADA Forum
      • CPG Expert Forum DACH
      • EcoStruxure Automation Expert / IEC 61499 Forum
      • Fabrika ve Makina Otomasyonu Çözümleri
      • Harmony Control Customization Forum
      • Industrial Edge Computing Forum
      • Industry Automation and Control Forum
      • Korea Industrial Automation Forum
      • Machine Automation Forum
      • Modicon PAC Forum
      • PLC Club Indonesia
      Schneider Electric Wiser
      • Schneider Electric Wiser Forum
      Power Distribution IEC
      • Eldistribution & Fastighetsautomation
      • Elektrik Tasarım Dağıtım ve Uygulama Çözümleri
      • Paneelbouw & Energie Distributie
      • Power Distribution and Digital
      • Solutions for Motor Management
      • Specifiers Club ZA Forum
      • Електропроектанти България
      Power Distribution NEMA
      • Power Monitoring and Energy Automation NAM
      Power Distribution Software
      • EcoStruxure Power Design Forum
      • LayoutFAST User Group Forum
      Energy & Sustainability Services
      • Green Building Scoring and Certification Forum
      Light and Room Control
      • SpaceLogic C-Bus Forum
      Solutions for your Business
      • Solutions for your Business Forum
      Support
      • Ask the Community
  • Knowledge Center
    • Building Automation Knowledge Base
    • Remote Operations Devices Knowledge Base
    • Geo SCADA Knowledge Base
    • Industrial Automation How-to videos
    • Digital E-books
    • Success Stories Corner
  • Events & Webinars
    • All Events
    • Innovation Talks
    • Innovation Summit
    • Let's Exchange Series
    • Partner Success
    • Process Automation Talks
    • Technology Partners
  • Ideas
    • EcoStruxure Building
      • EcoStruxure Building Advisor Ideas
      Remote Operations
      • EcoStruxure Geo SCADA Expert Ideas
      • Remote Operations Devices Ideas
      Industrial Automation
      • Modicon Ideas & new features
  • Blogs
    • By Topic
    • By Topic
      EcoStruxure Power & Grid
      • Backstage Access Resources
      EcoStruxure IT
      • EcoStruxure IT™ Advisor CFD
      Remote Operations
      • Remote Operations Blog
      Industrial Automation
      • Industrie du Futur France
      • Industry 4.0 Blog
      Power Distribution NEMA
      • NEMA Power Foundations Blog
      Energy & Sustainability Services
      • Active Energy Management Blog
      Light and Room Control
      • KNX Blog
      Knowledge Center
      • Digital E-books
      • Geo SCADA Knowledge Base
      • Industrial Automation How-to videos
      • Remote Operations Devices Knowledge Base
      • Success Stories Corner
  • companyImpact

M340/M580 reading Input Registers / Coils / Contacts (1, 10001, 30001 etc) using DTM Browser configuration

Modicon PAC Forum

A forum for topics related to the scope of Modicon PAC offers and ecosystem along the whole lifecycle: Modicon M580 and 340, EcoStruxure Control Expert, EcoStruxure Process Expert (Unity Pro) and more.

cancel
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
Showing results for 
Show  only  | Search instead for 
Did you mean: 
  • Home
  • Communities
  • Industrial Automation
  • Modicon PAC Forum
  • Re: M340/M580 reading Input Registers / Coils / Contacts (1, 10001, 30001 etc) using DTM Browser configuration
Options
  • Subscribe to RSS Feed
  • Mark Topic as New
  • Mark Topic as Read
  • Float this Topic for Current User
  • Bookmark
  • Subscribe
  • Mute
  • Printer Friendly Page
Invite a Co-worker
Send a co-worker an invite to the Exchange portal.Just enter their email address and we?ll connect them to register. After joining, they will belong to the same company.
You have entered an invalid email address. Please re-enter the email address.
This co-worker has already been invited to the Exchange portal. Please invite another co-worker.
Please enter email address
Send Invite Cancel
Invitation Sent
Your invitation was sent.Thanks for sharing Exchange with your co-worker.
Send New Invite Close
Top Experts
User Count
AlastairF
Lieutenant AlastairF Lieutenant
5
RoozeeR
Lt. Commander RoozeeR Lt. Commander
5
Bastian_Schmitz
Commander Bastian_Schmitz Commander
4
BevanWeiss
Spock BevanWeiss
4
View All

Invite a Colleague

Found this content useful? Share it with a Colleague!

Invite a Colleague Invite
Solved Go to Solution
Back to Modicon PAC Forum
Solved
BevanWeiss
Spock BevanWeiss
Spock

Posted: ‎2019-12-09 09:22 PM

1 Like
10
7200
  • Mark as New
  • Bookmark
  • Subscribe
  • Mute
  • Subscribe to RSS Feed
  • Permalink
  • Print
  • Email to a Friend
  • Report Inappropriate Content

Posted: ‎2019-12-09 09:22 PM

M340/M580 reading Input Registers / Coils / Contacts (1, 10001, 30001 etc) using DTM Browser configuration

Hi all,

 

We've recently tried to use the DTM Browser to communicate with a ModbusTCP device which has data available for reading on register 30001 upward, and data for writing to at 40001 and upward.  I would have expected this to be a common situation, where the DTM Browser Generic ModbusTCP Device would be suitable, however on investigation, the ModbusTCP DTM Browser Generic Device is only able to access 40001 Holding Registers.

 

Has anyone come across the same issue?

Was there a workaround found (which didn't involve the use of DATA_EXCH / READ_VAR)?

 

Regards,

Bevan


Lead Control Systems Engineer for Alliance Automation (VIC).
All opinions are my own and do not represent the opinions or policies of my employer, or of my cat..
Labels
  • Labels:
  • Smart Design & Engineering
  • Tags:
  • DTM browser
  • m340
  • m580
  • modbustcp
Reply
  • All forum topics
  • Previous Topic
  • Next Topic

Accepted Solutions
RoozeeR
Lt. Commander RoozeeR Lt. Commander
Lt. Commander

Posted: ‎2019-12-16 07:31 AM

2 Likes
8
7151
  • Mark as New
  • Bookmark
  • Subscribe
  • Mute
  • Subscribe to RSS Feed
  • Permalink
  • Print
  • Email to a Friend
  • Report Inappropriate Content

Posted: ‎2019-12-16 07:31 AM

As far as I know IO-scanning (DTM browser) only allows for reading/writing 4XXXX (%MWxxx) registers, meaning only the Modbus function codes 3, 16 and 23 are supported.

Other Modbus function codes, reading/writing 0xxxx, 1xxxx and 3xxxx are supported by function blocks only.

R.Roozee
Sr Solution Architect (SAE Master)

See Answer In Context

Reply
AlastairF
Lieutenant AlastairF Lieutenant
Lieutenant

Posted: ‎2022-01-17 12:46 PM

In response to aamjad52114
1 Like
0
4172
  • Mark as New
  • Bookmark
  • Subscribe
  • Mute
  • Subscribe to RSS Feed
  • Permalink
  • Print
  • Email to a Friend
  • Report Inappropriate Content

Posted: ‎2022-01-17 12:46 PM

M340 supports the READ_VAR and SEND_REQ commands that can be used to read 3X/ %IW values from remote ModBus devices.

M580 supports those commands and also MBP_MSTR command. To read 3X/ %IW you would need to use the Send ModBus Request

 

I'd suggest stay with READ_VAR as this can work with both with minor changes to the address field if required.

Look at the ADDM function to understand the addressing required.

The OBJ field defines the data type to be read.

Type of objects to read for Modicon M340 and M580 CPU:
  • ’%M’: internal bits
  • ’%MW’: internal words
  • ’%I’: input bits
  • ’%IW’: input words

See Answer In Context

  • Tags:
  • english
Reply
Replies 10
RoozeeR
Lt. Commander RoozeeR Lt. Commander
Lt. Commander

Posted: ‎2019-12-16 07:31 AM

2 Likes
8
7152
  • Mark as New
  • Bookmark
  • Subscribe
  • Mute
  • Subscribe to RSS Feed
  • Permalink
  • Print
  • Email to a Friend
  • Report Inappropriate Content

Posted: ‎2019-12-16 07:31 AM

As far as I know IO-scanning (DTM browser) only allows for reading/writing 4XXXX (%MWxxx) registers, meaning only the Modbus function codes 3, 16 and 23 are supported.

Other Modbus function codes, reading/writing 0xxxx, 1xxxx and 3xxxx are supported by function blocks only.

R.Roozee
Sr Solution Architect (SAE Master)
Reply
PatrickV
Crewman PatrickV Crewman
Crewman

Posted: ‎2020-10-06 08:19 AM

0 Likes
0
6184
  • Mark as New
  • Bookmark
  • Subscribe
  • Mute
  • Subscribe to RSS Feed
  • Permalink
  • Print
  • Email to a Friend
  • Report Inappropriate Content

Posted: ‎2020-10-06 08:19 AM

https://www.se.com/ww/en/faqs/FA246092/

 

MBP_MSTR function code 15 allows to read 1x, 3x registers and can be used with M580 High End CPUs

Patrick Vaz
  • Tags:
  • english
Reply
aamjad52114
Crewman aamjad52114
Crewman

Posted: ‎2022-01-17 11:40 AM

In response to RoozeeR
0 Likes
7
4201
  • Mark as New
  • Bookmark
  • Subscribe
  • Mute
  • Subscribe to RSS Feed
  • Permalink
  • Print
  • Email to a Friend
  • Report Inappropriate Content

Posted: ‎2022-01-17 11:40 AM

Could M340/M580 read input registers (3x) from third party modbus as well or is it just for schnedier products?

  • Tags:
  • english
Reply
Siddiqui
Ensign Siddiqui Ensign
Ensign

Posted: ‎2022-01-17 11:52 AM

In response to aamjad52114
0 Likes
6
4197
  • Mark as New
  • Bookmark
  • Subscribe
  • Mute
  • Subscribe to RSS Feed
  • Permalink
  • Print
  • Email to a Friend
  • Report Inappropriate Content

Posted: ‎2022-01-17 11:52 AM

Hi Amjad,

 

Yes M340 and M580 could read the input register (3x) from the third-party Modbus device as well.

In fact, any devices that support Modbus Serial or Modbus TCP protocol should be supported by the M340 as well as M580.

 

I hope it will provide help.

 

Best Regards,

Wasif

 

 

  • Tags:
  • english
Reply
aamjad52114
Crewman aamjad52114
Crewman

Posted: ‎2022-01-17 11:58 AM

In response to Siddiqui
0 Likes
5
4194
  • Mark as New
  • Bookmark
  • Subscribe
  • Mute
  • Subscribe to RSS Feed
  • Permalink
  • Print
  • Email to a Friend
  • Report Inappropriate Content

Posted: ‎2022-01-17 11:58 AM

Hi Wasif,

Thanks for the response. Is there documentation how to setup unity pro for reading 3x registers from 3rd party devices? 

  • Tags:
  • english
Reply
Siddiqui
Ensign Siddiqui Ensign
Ensign

Posted: ‎2022-01-17 12:12 PM

In response to aamjad52114
0 Likes
3
4189
  • Mark as New
  • Bookmark
  • Subscribe
  • Mute
  • Subscribe to RSS Feed
  • Permalink
  • Print
  • Email to a Friend
  • Report Inappropriate Content

Posted: ‎2022-01-17 12:12 PM

Hi Amjad,

 

There are many exchanges, it would be good if you mentioned using which CPU M340 or M580 or Quantum? You would like to read the 3x data from a third-party device? Easy for me to direct you in that way. 

 

Best Regards,

Wasif

  • Tags:
  • english
Reply
aamjad52114
Crewman aamjad52114
Crewman

Posted: ‎2022-01-17 12:23 PM

In response to Siddiqui
0 Likes
2
4183
  • Mark as New
  • Bookmark
  • Subscribe
  • Mute
  • Subscribe to RSS Feed
  • Permalink
  • Print
  • Email to a Friend
  • Report Inappropriate Content

Posted: ‎2022-01-17 12:23 PM

Hi Wasif,

 I am trying to read from input register 3x of skf analyst software using Quantum PLC ( 140 CPU 652 60 & 140 NOE 771 10). Please specify whether to use CPU or NOE ethernet

  • Tags:
  • english
Reply
AlastairF
Lieutenant AlastairF Lieutenant
Lieutenant

Posted: ‎2022-01-17 12:46 PM

In response to aamjad52114
1 Like
0
4173
  • Mark as New
  • Bookmark
  • Subscribe
  • Mute
  • Subscribe to RSS Feed
  • Permalink
  • Print
  • Email to a Friend
  • Report Inappropriate Content

Posted: ‎2022-01-17 12:46 PM

M340 supports the READ_VAR and SEND_REQ commands that can be used to read 3X/ %IW values from remote ModBus devices.

M580 supports those commands and also MBP_MSTR command. To read 3X/ %IW you would need to use the Send ModBus Request

 

I'd suggest stay with READ_VAR as this can work with both with minor changes to the address field if required.

Look at the ADDM function to understand the addressing required.

The OBJ field defines the data type to be read.

Type of objects to read for Modicon M340 and M580 CPU:
  • ’%M’: internal bits
  • ’%MW’: internal words
  • ’%I’: input bits
  • ’%IW’: input words
  • Tags:
  • english
Reply
Siddiqui
Ensign Siddiqui Ensign
Ensign

Posted: ‎2022-01-17 01:53 PM

In response to aamjad52114
0 Likes
0
4164
  • Mark as New
  • Bookmark
  • Subscribe
  • Mute
  • Subscribe to RSS Feed
  • Permalink
  • Print
  • Email to a Friend
  • Report Inappropriate Content

Posted: ‎2022-01-17 01:53 PM

Hi Amjad,

 

You already had an answer for the M340 and M580. For the Modicon Quantum CPU you can MBP_MSTR.

Check the attached link for the FAQ from there you can get the sample program for reference purposes only.

https://www.se.com/ww/en/faqs/FA246092/

 

This is the same link as mentioned by Patrick Vaz.

 

I hope this will also provide help.

 

Best Regards,

Wasif

Attachments
CE_help_file_MBP_MSTR.zip
  • Tags:
  • english
Reply
FrancisBreysach
Crewman FrancisBreysach Crewman
Crewman

Posted: ‎2022-01-18 12:47 AM . Last Modified: ‎2022-01-18 12:49 AM

In response to aamjad52114
0 Likes
0
4154
  • Mark as New
  • Bookmark
  • Subscribe
  • Mute
  • Subscribe to RSS Feed
  • Permalink
  • Print
  • Email to a Friend
  • Report Inappropriate Content

Posted: ‎2022-01-18 12:47 AM . Last Modified: ‎2022-01-18 12:49 AM

Hello

 

I have made a developpement for Mars PetFood, in 2014 about this subject.

I join a little Guide, in French, but with a lot of screenshots who I explain how to generate several MBTCP Function code.

You have to use 140 NOE 77101 module with last version of FW. No Idea about 140NOE77111.

Using of MBP_MSTR() and Function code 15, implemented in NO77101 since FW V6.1.

 

Francis

 

Attachments
  • Tags:
  • english
Reply
Preview Exit Preview

never-displayed

You must be signed in to add attachments

never-displayed

Additional options
You do not have permission to remove this product association.
 
To The Top!

Forums

  • APC UPS Data Center Backup Solutions
  • EcoStruxure IT
  • EcoStruxure Geo SCADA Expert
  • Metering & Power Quality
  • Schneider Electric Wiser

Knowledge Center

Events & webinars

Ideas

Blogs

Get Started

  • Ask the Community
  • Community Guidelines
  • Community User Guide
  • How-To & Best Practice
  • Experts Leaderboard
  • Contact Support
Brand-Logo
Subscribing is a smart move!
You can subscribe to this forum after you log in or create your free account.
Forum-Icon

Create your free account or log in to subscribe to the forum - and gain access to more than 10,000+ support articles along with insights from experts and peers.

Register today for FREE

Register Now

Already have an account?Login

Terms & Conditions Privacy Notice Change your Cookie Settings © 2023 Schneider Electric, Inc