Jump to content

Error; Panel Ethernet; "The TCP Remote slave limit of 64 Operations has be reached.


tim.snelling

Recommended Posts

  • MVP 2023

You're confusing the word "operations" with the official Modbus number of registers that can be done  in a transaction (125).

The way you have it you are reading one register at a time.  This is a UniStream "operation".  Each operation stands alone.  And it's probably taking forever.

Make an array of 122 elements and do one operation.  I know this is not explained well anywhere, but the UniStream will translate the target and fill the array.  If you look in the Help tab "Index" under MODBUS and watch the Modbus video this is mentioned at 9:04.  I obviously had to go look it up to find this, and it was kind of obscure.

image.png.484ffbaf1d19547aeeb2343768d3abc0.png

Just specify the array name as the tag.  It asks for an element, but you can use the backspace key and choose the whole array.

image.png.e33e4abe187c001d7c41c15fd91ae0ad.png

Sorry you had to do all that typing.

Joe T.

 

P. S. - For some really exciting reading, take a look at the official Modbus specification-

https://www.modbus.org/docs/PI_MBUS_300.pdf

You'll see on page 28 that Modbus command (3) is "Read Holding Registers".  As in plural.  It also talks about the 125 register limit.  The reference to 984-nn refers to the old Modicon 984 family of controllers.  Your device may or may not support 125 registers per transfer, but it most probably does.

Link to comment
Share on other sites

Hi Joe, thanks for the help. I do have a full understanding of Modbus. I'm just new at UniLogic and UniStream.

I simply wasn't able to find any method for a Multi Register read.  FYI; I wasn't confused. My wording was the exact wording in the Error Description.

I have no doubt your method works, but after all that typing... what a pain. I did finally find something in the help for a "Batch Operation". 

There's a barely noticeable drop down arrow on the Add New Operation button. So if you click that tiny little arrow, a drop down is displayed. Then select "Add New Operation Batch", then UniLogic will allow an entry of the Array Name, without having to back space. That drop down "arrow" could be a lot bigger. But I'm learning, one day, and one issue at a time.

Thanks Again, I appreciate any and all assistance.

image.png.6722921fde78efaae6611a078d788ca1.png

 

Tim S.

Link to comment
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...