Jump to content
A_Mia

.net read, write multiple operands

Recommended Posts

I've seen a couple of examples explaining using the .net library to read/write multiple MI's/MB's during a single call

is it possible to read discrete I/O, Counters, Timers as well as MI/MB/DW/MF/ and SB in one call to the PLC using the .net library?

Could you provide an example of the function, and then is there detail of the array structure that's generated on the PC side.

Thanks

-a

Share this post


Link to post
Share on other sites

Yes, it is possible.

The ReadWrite function gets an array of ReadWriteRequest. Just have each of the requests in a different index in the array.

 

Btw, the request might be split into multiple requests due to size limit of the communication buffer.

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


×
×
  • Create New...