Welcome to the new Schneider Electric Community

It's your place to connect with experts and peers, get continuous support, and share knowledge.

  • Explore the new navigation for even easier access to your community.
  • Bookmark and use our new, easy-to-remember address (community.se.com).
  • Get ready for more content and an improved experience.

Contact SchneiderCommunity.Support@se.com if you have any questions.

Close
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.
Send Invite Cancel
84642members
353975posts

IEM3255 - Write to register (function code 16) issue

Metering & Power Quality

Collaborate with multiple experts and discuss various topics about Power Meters and Power Quality. From design & implementation to troubleshooting and more, get support from experts and share your experiences by subscribing to the Schneider Electric Exchange forum today.

Solved
shlomiAlk
Crewman
Crewman

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)

Accepted Solutions
Ramasamy_N
Commander Commander
Commander

Re: IEM3255 - Write to register (function code 16) issue

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)
3 Replies 3
Ramasamy_N
Commander Commander
Commander

Re: IEM3255 - Write to register (function code 16) issue

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)
shlomiAlk
Crewman
Crewman
0 Likes
1
452

Re: IEM3255 - Write to register (function code 16) issue

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)
Ramasamy_N
Commander Commander
Commander
0 Likes
0
439

Re: IEM3255 - Write to register (function code 16) issue

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)