Help
  • Explore Community
  • Get Started
  • Ask the Community
  • How-To & Best Practices
  • Contact Support
Notifications
Login / Register
Community
Community
Notifications
close
  • Forums
  • Knowledge Center
  • Events & Webinars
  • Ideas
  • Blogs
Help
Help
  • Explore Community
  • Get Started
  • Ask the Community
  • How-To & Best Practices
  • Contact Support
Login / Register
Sustainability
Sustainability

Ask Me About Webinar: Data Center Assets - Modeling, Cooling, and CFD Simulation
Join our 30-minute expert session on July 10, 2025 (9:00 AM & 5:00 PM CET), to explore Digital Twins, cooling simulations, and IT infrastructure modeling. Learn how to boost resiliency and plan power capacity effectively. Register now to secure your spot!

M221 modbus serial ioscanner

Industry Automation and Control Forum

This forum is addressing industrial automation design & engineering, operations, asset performance, cyber security and digital transformation for Plants & Machines.

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
  • Schneider Electric Community
  • Industrial Automation
  • Industry Automation and Control Forum
  • M221 modbus serial ioscanner
Options
  • 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 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
Bastian_Schmitz
Admiral Bastian_Schmitz Admiral
32
LeTomas
Lt. Commander LeTomas Lt. Commander
12
RoozeeR
Lt. Commander RoozeeR Lt. Commander
6
JerryBartlemay
Lieutenant JG JerryBartlemay Lieutenant JG
6
View All
Related Products
product field
Schneider Electric
Logic Controller - Modicon M221

Invite a Colleague

Found this content useful? Share it with a Colleague!

Invite a Colleague Invite
Solved Go to Solution
Back to Industry Automation and Control Forum
Solved
Anonymous user
Not applicable

Posted: โ€Ž2021-05-11 08:31 AM

0 Likes
3
6765
  • Mark as New
  • Bookmark
  • Subscribe
  • Mute
  • Permalink
  • Print
  • Email to a Friend
  • Report Inappropriate Content

Link copied. Please paste this link to share this article on your social media post.

Posted: โ€Ž2021-05-11 08:31 AM

M221 modbus serial ioscanner

Hello
I turn to you because I am going in circles.
I would like to retrieve counter information by ioscanner mode on port SL1.
but no frames start from m221. the led remains off.

i have tested with basic expert machine example program, but it does not work.

An idea ?

Labels
  • Labels:
  • Energy Efficiency
  • Tags:
  • english
  • french
  • ioscanner
  • m221
Reply

Link copied. Please paste this link to share this article on your social media post.

  • All forum topics
  • Previous Topic
  • Next Topic

Accepted Solutions
LeTomas
Lt. Commander LeTomas Lt. Commander
Lt. Commander

Posted: โ€Ž2021-05-12 07:38 AM

In response to Anonymous user
1 Like
0
6732
  • Mark as New
  • Bookmark
  • Subscribe
  • Mute
  • Permalink
  • Print
  • Email to a Friend
  • Report Inappropriate Content

Link copied. Please paste this link to share this article on your social media post.

Posted: โ€Ž2021-05-12 07:38 AM

Excellent @Anonymous user  that is working!

 

 

In order to check if you have a problem with a device on IOScanner you need to check the System objects IOScanner status.

 

Depend on the IOscanner selected it start with:

 

  • %IWNS(100+x) for SL1, or
  • %IWNS(200+x) for SL2,
  • %IWNS(300+x) for ETH1

 

In your case your device over modbus serial will be %IWNS10x.

 

The value of that variable will give you the status:

  • 0: Device not scanned
  • 1:Device is being initialized by Modbus IOScanner (Initialization request of device being sent).
  • 2:Device is present and ready to be scanned (initialization requests sent, if any).
  • 3:Device not scanned correctly due to a communication error detected on a channel of the device.
  • 4:Device not initialized correctly due to a communication error detected during initialization request of the device.
  • 5:Device not correctly identified because the vendor name or product code returned by the device does not match the expected values.
  • 6:Communication error occurred during identification and initialization. Possible reasons are: incommunicative or absent device, incorrect communication parameters, or unsupported Modbus function.

 

In the next example I am using the ethernet that's why it start with %IWNS30x but it is the same, you just need to check the status:

 

ESME Basic - SL status.PNG

 

 In this example the first device on the IOscanner is disconnected from the network so the status is 6. The second device is connected to the M241 and it is working fine, the status is 2.

 

If this solves the problem remember to mark this coments as part of the solution for this ๐Ÿ˜Š.

 

Best regards,

 

LeTomas

See Answer In Context

  • Tags:
  • english
Reply

Link copied. Please paste this link to share this article on your social media post.

Replies 3
LeTomas
Lt. Commander LeTomas Lt. Commander
Lt. Commander

Posted: โ€Ž2021-05-12 12:19 AM

0 Likes
2
6745
  • Mark as New
  • Bookmark
  • Subscribe
  • Mute
  • Permalink
  • Print
  • Email to a Friend
  • Report Inappropriate Content

Link copied. Please paste this link to share this article on your social media post.

Posted: โ€Ž2021-05-12 12:19 AM

Hi @Anonymous user 

 

For my comment I am going to assume that:

  • The commnuication setting on the master and slave matchs. (you can delete the post configuration files of the M221 via SD Card just in case)
  • The slave address is the same on the IOscanner table on the M221.
  • The communication cable is correct (pins 4,5,8 only use on the communication).

 

You should check the status of the IOScanner Serial Line (1) . I recommend you to create an Animation table:

 

ESME Basic - SL.PNG

 

Check the %SW210:

  • 0: IOScanner is stopped
  • 1: Initialization request to device being sent by IOScanner
  • 2: IOScanner is operational
  • 3: IOScanner is partially operational (some devices are not being scanned)
  • 4: IOScanner is suspended

 

If the %SW210 is not equal to "2" you can set to 1 the %S110 to reset the IOScanner.

 

Best regards,

 

LeTomas

  • Tags:
  • english
Reply

Link copied. Please paste this link to share this article on your social media post.

Anonymous user
Not applicable

Posted: โ€Ž2021-05-12 07:03 AM

In response to LeTomas
0 Likes
1
6735
  • Mark as New
  • Bookmark
  • Subscribe
  • Mute
  • Permalink
  • Print
  • Email to a Friend
  • Report Inappropriate Content

Link copied. Please paste this link to share this article on your social media post.

Posted: โ€Ž2021-05-12 07:03 AM

hi @LeTomas 

 

I tested and it was successful.

your indications guided my diagnosis.

the next problem is the management of communication faults.
my bench is composed of a single device. but in a month, I would have all the counters. then for anticipated.

1 / how do I manage faults, device by device ?

2 / what is the device's communication fault bit ?

 

Thank

  • Tags:
  • english
Reply

Link copied. Please paste this link to share this article on your social media post.

LeTomas
Lt. Commander LeTomas Lt. Commander
Lt. Commander

Posted: โ€Ž2021-05-12 07:38 AM

In response to Anonymous user
1 Like
0
6733
  • Mark as New
  • Bookmark
  • Subscribe
  • Mute
  • Permalink
  • Print
  • Email to a Friend
  • Report Inappropriate Content

Link copied. Please paste this link to share this article on your social media post.

Posted: โ€Ž2021-05-12 07:38 AM

Excellent @Anonymous user  that is working!

 

 

In order to check if you have a problem with a device on IOScanner you need to check the System objects IOScanner status.

 

Depend on the IOscanner selected it start with:

 

  • %IWNS(100+x) for SL1, or
  • %IWNS(200+x) for SL2,
  • %IWNS(300+x) for ETH1

 

In your case your device over modbus serial will be %IWNS10x.

 

The value of that variable will give you the status:

  • 0: Device not scanned
  • 1:Device is being initialized by Modbus IOScanner (Initialization request of device being sent).
  • 2:Device is present and ready to be scanned (initialization requests sent, if any).
  • 3:Device not scanned correctly due to a communication error detected on a channel of the device.
  • 4:Device not initialized correctly due to a communication error detected during initialization request of the device.
  • 5:Device not correctly identified because the vendor name or product code returned by the device does not match the expected values.
  • 6:Communication error occurred during identification and initialization. Possible reasons are: incommunicative or absent device, incorrect communication parameters, or unsupported Modbus function.

 

In the next example I am using the ethernet that's why it start with %IWNS30x but it is the same, you just need to check the status:

 

ESME Basic - SL status.PNG

 

 In this example the first device on the IOscanner is disconnected from the network so the status is 6. The second device is connected to the M241 and it is working fine, the status is 2.

 

If this solves the problem remember to mark this coments as part of the solution for this ๐Ÿ˜Š.

 

Best regards,

 

LeTomas

  • Tags:
  • english
Reply

Link copied. Please paste this link to share this article on your social media post.

Preview Exit Preview

never-displayed

You must be signed in to add attachments

never-displayed

ย 
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 board after you log in or create your free account.
Forum-Icon

Create your free account or log in to subscribe to the board - 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 ยฉ 2025 Schneider Electric

This is a heading

With achievable small steps, users progress and continually feel satisfaction in task accomplishment.

Usetiful Onboarding Checklist remembers the progress of every user, allowing them to take bite-sized journeys and continue where they left.

of