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
84242members
353342posts

How to read input coil status with BMX NOM0200 (RS485) by READ_VAR

Industry Automation and Control Forum

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

Solved
Himanshusingh3
Crewman Crewman
Crewman
0 Likes
5
857

How to read input coil status with BMX NOM0200 (RS485) by READ_VAR

Hi,

 

         We are going to integrate third party equipment on Modbus RS485 through  BMX NOM0200 in M580 system, we are able to scan all Holding register, input register but how to read/scan input coil status by using READ_VAR function block????

Tags (1)

Accepted Solutions
RoozeeR
Lt. Commander Lt. Commander
Lt. Commander
0 Likes
4
851

Re: How to read input coil status with BMX NOM0200 (RS485) by READ_VAR

Hello,

The READ_VAR function is able to Holding register (%MW), Input register (%IW) and Inputs (%I or 1xxxxx references) and Coils (%M or 0xxxxx references): See READ_VAR help in Control Expert, regarding the object type input on the READ_VAR function:

Type of objects to read for Modicon M340 and M580 CPU:
  • ’%M’: internal bits
  • ’%MW’: internal words
  • ’%I’: input bits
  • ’%IW’: input words
R.Roozee
Sr Solution Architect (SAE Master)

See Answer In Context

Tags (1)
5 Replies 5
RoozeeR
Lt. Commander Lt. Commander
Lt. Commander
0 Likes
4
852

Re: How to read input coil status with BMX NOM0200 (RS485) by READ_VAR

Hello,

The READ_VAR function is able to Holding register (%MW), Input register (%IW) and Inputs (%I or 1xxxxx references) and Coils (%M or 0xxxxx references): See READ_VAR help in Control Expert, regarding the object type input on the READ_VAR function:

Type of objects to read for Modicon M340 and M580 CPU:
  • ’%M’: internal bits
  • ’%MW’: internal words
  • ’%I’: input bits
  • ’%IW’: input words
R.Roozee
Sr Solution Architect (SAE Master)
Tags (1)
Himanshusingh3
Crewman Crewman
Crewman
0 Likes
3
842

Re: How to read input coil status with BMX NOM0200 (RS485) by READ_VAR

Thanks for input, @RoozeeR 

 

I have one more question how we can reset slave devices which gone in Request time out mode by auto as per preset time, because in application devices will not be online all the time only will be online when ever in duty mode.

Tags (1)
RoozeeR
Lt. Commander Lt. Commander
Lt. Commander
0 Likes
2
833

Re: How to read input coil status with BMX NOM0200 (RS485) by READ_VAR

Please explain what do you mean by "how we can reset slave devices which gone in Request time out mode by auto as per preset time":

- Do you need to reset the device itself, or reset the READ_VAR function becuase of the timeout?

 

 

 

R.Roozee
Sr Solution Architect (SAE Master)
Tags (1)
Himanshusingh3
Crewman Crewman
Crewman
0 Likes
1
826

Re: How to read input coil status with BMX NOM0200 (RS485) by READ_VAR

@RoozeeR  not slave devices we want to reset READ_VAR FB which gone in Request time out

Tags (1)
RoozeeR
Lt. Commander Lt. Commander
Lt. Commander
0 Likes
0
809

Re: How to read input coil status with BMX NOM0200 (RS485) by READ_VAR

You have to set the request timeout value in the Communication Management Parameter (Gest Input):

 
 

Annotation 2021-07-14 092328.png

Please note the value given is *100 mS (10 = 1 second). Make sure the timeout value is longer than the  reaction time of the device.

With Timeout, the Function will exit with request timeout and ready for a new command.

If you set the Timeout = 0, the timeout time is infinite, so the function will not exit: Do not use a 0 value.

If this happens you can use the CANCEL function to reset .

R.Roozee
Sr Solution Architect (SAE Master)
Tags (1)