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
84245members
353345posts

M251 Modbus server fc4

Machine Automation Forum

A forum addressing machine automation solutions for the complete machine lifecycle. Including offers like Machine Advisor, Modicon PLC/PacDrive, Lexium or Preventa. Discuss and share knowledge on offers relating to cloud-based service platforms, machine localization and monitoring, industrial operations control, motion products as well as safety function!

Jeneburg
Cadet
0 Likes
5
1509

M251 Modbus server fc4

Hi, 

can be set, to make the modbus server respond to function 4 (read input register ) ?

 

Thanks.

Tags (1)
5 Replies 5
Rodrigo_Garcia
Administrator Administrator
Administrator
0 Likes
0
1469

Re: M251 Modbus server fc4

@AmeliaFaraci : Could you help?

Rodrigo G. 


Industrial Automation Community manager

Tags (1)
LeTomas
Lieutenant Lieutenant
Lieutenant
0 Likes
0
1459

Re: M251 Modbus server fc4

Hi @Jeneburg ,

 

If you take a look in the page 104 of the "Modicon M251 - Logic Controller - Programming Guide" :

https://download.schneider-electric.com/files?p_enDocType=User+guide&p_File_Name=EIO0000003089.02.pd...

 

If I am not wrong based on the document the FC4 is not supported for Modbus TCP Server but if the client uses FC3 you can move the %IW to %MW in the controller.

 

I hope this helps you.

Tags (1)
LeTomas
Lieutenant Lieutenant
Lieutenant
0 Likes
1
998

Re: M251 Modbus server fc4

Hi @louispijpers ,

 

A workaround could be the use of the ADDM and READ_VAR function blocks, please find below the link to download the example:

https://schneider-electric.box.com/s/bfg5ow6frqlr0lhkhweokic0j25qqg2t

 

If you do not know how to import it in your project you can take a look in the next video:

https://schneider-electric.box.com/s/4bvegb89udef194mavkubonmoc6pb2of

 

Best regards,

 

Letomas

Tags (1)
louispijpers
Crewman
Crewman
0 Likes
0
967

Re: M251 Modbus server fc4

Hi Le Thomas,

 

Thanks, I'll give it a go.

 

Regards,

 

Louis.

Tags (1)
Lindamartin
Crewman
Crewman
0 Likes
0
166

Re: M251 Modbus server fc4


@Jeneburg wrote: MyAccountAccess Mobile App

Hi, 

can be set, to make the modbus server respond to function 4 (read input register ) ?

 

Thanks.


The Modicon M251 Logic Controller implements both client and server services so that it can initiate communications to other controllers and I/O devices, and to respond to requests from other controllers, SCADA, HMIs, and other devices. Without any configuration, the embedded Ethernet port of the controller supports Modbus server. The Modbus Client/Server is included in the firmware and does not require any programming action from the user. Due to this feature, it is accessible in RUNNING, STOPPED and EMPTY states.

Tags (1)