Industry Automation and Control Forum
This forum is addressing industrial automation design & engineering, operations, asset performance, cyber security and digital transformation for Plants & Machines.
Link copied. Please paste this link to share this article on your social media post.
Posted: 2021-07-13 01:19 AM
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????
Link copied. Please paste this link to share this article on your social media post.
Link copied. Please paste this link to share this article on your social media post.
Posted: 2021-07-13 01:49 AM
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:
|
Link copied. Please paste this link to share this article on your social media post.
Link copied. Please paste this link to share this article on your social media post.
Posted: 2021-07-13 01:49 AM
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:
|
Link copied. Please paste this link to share this article on your social media post.
Link copied. Please paste this link to share this article on your social media post.
Link copied. Please paste this link to share this article on your social media post.
Link copied. Please paste this link to share this article on your social media post.
Posted: 2021-07-13 02:52 AM
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?
Link copied. Please paste this link to share this article on your social media post.
Link copied. Please paste this link to share this article on your social media post.
Link copied. Please paste this link to share this article on your social media post.
Link copied. Please paste this link to share this article on your social media post.
Posted: 2021-07-14 12:33 AM
You have to set the request timeout value in the Communication Management Parameter (Gest Input):
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 .
Link copied. Please paste this link to share this article on your social media post.
Link copied. Please paste this link to share this article on your social media post.
Posted: 2022-12-08 05:10 AM
Good Morning;
if I have a very large timeout, can this be a problem? I have 65 blocks of read_var and a timeout = 1000 and I am not able to read all the blocks.
Link copied. Please paste this link to share this article on your social media post.
Link copied. Please paste this link to share this article on your social media post.
Posted: 2024-02-08 07:58 AM
Did you ever fix your problem. I am currently reading 50 blocks of read_var and a timeout of 500 and i am not able to read all the blocks. Does increasing the timeout help?
Link copied. Please paste this link to share this article on your social media post.
Link copied. Please paste this link to share this article on your social media post.
Posted: 2024-02-11 02:45 PM
I think this should be a new thread. What do you mean by "50 blocks". Do you mean you have 50 READ_VAR instances, or 1 READ_VAR with 1 read of 50 words, or 1 READ_VAR with 50 reads of x number of words?
Link copied. Please paste this link to share this article on your social media post.
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.