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

We Value Your Feedback!
Could you please spare a few minutes to share your thoughts on Cloud Connected vs On-Premise Services. Your feedback can help us shape the future of services.
Learn more about the survey or Click here to Launch the survey
Schneider Electric Services Innovation Team!

IEM3255 - Write to register (function code 16) issue

Metering & Power Quality

Schneider Electric support forum about Power Meters (ION, PowerTag, PowerLogic) and Power Quality from design, implementation to troubleshooting 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
  • Schneider Electric Community
  • EcoStruxure Power & Grid
  • Metering & Power Quality
  • IEM3255 - Write to register (function code 16) issue
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
Charles_Murison
Picard Charles_Murison Picard
477
Ramasamy_N
Captain Ramasamy_N Captain
113
Robert_Lee
Admiral Robert_Lee Admiral
92
Mehran_Mehrnia
Captain Mehran_Mehrnia Captain
85
View All

Invite a Colleague

Found this content useful? Share it with a Colleague!

Invite a Colleague Invite
Solved Go to Solution
Back to Metering & Power Quality
Solved
shlomiAlk
Crewman shlomiAlk
Crewman

Posted: ‎2022-06-09 12:58 AM

1 Like
9
4167
  • 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.

‎2022-06-09 12:58 AM

IEM3255 - Write to register (function code 16) issue

 

Hi,

 

I was trying to write CT value (address = 0x7ED, function code: 16 (10Hex)) by Modbus Poll but it doesn't work - I do success to read the registers (frequency, voltage for example without any problem).

The meter connected to my PC by RS485 to USB converter device.

 

I verified that the "Communication Protection" is disable and the multi traffic is on "By communication".

 

I used Modbus Poll after it doesn't work with my private gateway board, based linux OS, to make this problem to simple.

When I tried to configure other meter by Modbus writing command - no issue.

 

Do I need to add termination resistance?

do you have any other idea to solve it? things that I need to verify?

 

 

Thanks:)

 

modbusPollIEM.JPG

 

Tags (1)
  • Tags:
  • english
Reply
  • All forum topics
  • Previous Topic
  • Next Topic

Accepted Solutions
Ramasamy_N
Captain Ramasamy_N Captain
Captain

Posted: ‎2022-06-13 04:39 AM

3 Likes
3
4098
  • 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.

‎2022-06-13 04:39 AM

Hello @shlomiAlk 

 

The Modbus register 2004 to 2036 are the meter setup and status registers and it does not allow to write directly using function code 16.

 

You can refer the user manual page 40 and above for the Modbus command interface. 

 

https://download.schneider-electric.com/files?p_enDocType=User+guide&p_File_Name=DOCA0005EN-13.pdf&p... 

 

The CT parameter can not write alone, we need to follow the command number 2000 (set wiring command - page 41) using the function code 16 to change the CT primary and secondary along with few other parameters.

 

 

Regards, 

Ramasamy N

See Answer In Context

Tags (1)
  • Tags:
  • english
Reply
Ramasamy_N
Captain Ramasamy_N Captain
Captain

Posted: ‎2024-07-17 07:36 AM

0 Likes
0
1580
  • 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.

‎2024-07-17 07:36 AM

Please connect with country or local tech support team. 

See Answer In Context

Reply
Replies 9
Ramasamy_N
Captain Ramasamy_N Captain
Captain

Posted: ‎2022-06-13 04:39 AM

3 Likes
3
4099
  • 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.

‎2022-06-13 04:39 AM

Hello @shlomiAlk 

 

The Modbus register 2004 to 2036 are the meter setup and status registers and it does not allow to write directly using function code 16.

 

You can refer the user manual page 40 and above for the Modbus command interface. 

 

https://download.schneider-electric.com/files?p_enDocType=User+guide&p_File_Name=DOCA0005EN-13.pdf&p... 

 

The CT parameter can not write alone, we need to follow the command number 2000 (set wiring command - page 41) using the function code 16 to change the CT primary and secondary along with few other parameters.

 

 

Regards, 

Ramasamy N

Tags (1)
  • Tags:
  • english
Reply
shlomiAlk
Crewman shlomiAlk
Crewman

Posted: ‎2022-08-01 03:26 AM . Last Modified: ‎2022-08-01 04:48 AM

0 Likes
2
3921
  • 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.

‎2022-08-01 03:26 AM

Hi @Ramasamy_N ,

thanks for your reply.

 

I implemented code that send one block for all "Set Wiring" registers with one value changing of "CT Primary" to be 6002 (except CT Secondary, since isn't supported in IEM3255) and I got Meter result register ok (Cmd Reg result = 5376 return 0). When I read the "CT Primary" register, it doesn't changed (I verified by reading direct from Meter display).

I sniffed the bus and parse the data - please see the attached files.

 

I verified that the communication protected is enabled.

 

Do I need to do some action before I send Modbus set command?

I'm a little stuck with this issue and I would like for any assistance here.

 

BDY, I also send one block direct from ModbusPoll software to isolate the problem (maybe I have something wrong in my code) and it doesn't work.

 

many thanks.

 

 

 

Attachments
Tags (1)
  • Tags:
  • english
Reply
Ramasamy_N
Captain Ramasamy_N Captain
Captain

Posted: ‎2022-08-01 05:19 AM

0 Likes
1
3908
  • 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.

‎2022-08-01 05:19 AM

Hello @shlomiAlk 

 

The Communication protection must be disabled during the Modbus writing. 

Also the refer the attached screenshot of Wireshark traces when we write the set wiring command. 

The 24 parameters must filled properly and you can read the CT primary from the register 2030 (UINT16 format). 

 

Regards, 

Ramasamy N

Attachments
Tags (1)
  • Tags:
  • english
Reply
easonkhoh1
easonkhoh1
Cadet

Posted: ‎2024-07-08 09:34 AM

0 Likes
0
1724
  • 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.

‎2024-07-08 09:34 AM

HI, do you mind to share us modbus writing list for IEM3255?

Reply
Ramasamy_N
Captain Ramasamy_N Captain
Captain

Posted: ‎2024-07-16 01:32 AM

0 Likes
0
1658
  • 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.

‎2024-07-16 01:32 AM

Hi @easonkhoh1 

You can find the set wiring Modbus register details from the user manual (page 56)

https://download.schneider-electric.com/files?p_enDocType=User+guide&p_File_Name=DOCA0005EN-14.pdf&p...

Reply
easonkhoh1
easonkhoh1
Cadet

Posted: ‎2024-07-16 03:10 AM

0 Likes
1
1634
  • 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.

‎2024-07-16 03:10 AM

easonkhoh1_0-1721124575055.png

@Ramasamy_N , the set wiring keep prompt me 3002 = Invalid Number of Parameters. do you have any solutions?

Reply
Ramasamy_N
Captain Ramasamy_N Captain
Captain

Posted: ‎2024-07-17 06:24 AM

0 Likes
0
1598
  • 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.

‎2024-07-17 06:24 AM

Hi @easonkhoh1 

Can you create the bFO case for this investigation and share the Modbus command structure (2000)? 

Reply
easonkhoh1
easonkhoh1
Cadet

Posted: ‎2024-07-17 07:25 AM

0 Likes
1
1581
  • 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.

‎2024-07-17 07:25 AM

@Ramasamy_N may i know what is bFO case?

Reply
Ramasamy_N
Captain Ramasamy_N Captain
Captain

Posted: ‎2024-07-17 07:36 AM

0 Likes
0
1581
  • 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.

‎2024-07-17 07:36 AM

Please connect with country or local tech support team. 

Reply
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