Professional OPC
Development Tools

logos

Online Forums

Technical support is provided through Support Forums below. Anybody can view them; you need to Register/Login to our site (see links in upper right corner) in order to Post questions. You do not have to be a licensed user of our product.

Please read Rules for forum posts before reporting your issue or asking a question. OPC Labs team is actively monitoring the forums, and replies as soon as possible. Various technical information can also be found in our Knowledge Base. For your convenience, we have also assembled a Frequently Asked Questions page.

Do not use the Contact page for technical issues.

Modbus TCP - How to read strings in holding registers

More
03 Oct 2017 20:04 #5569 by ee12205
Thanks.
i will try to contact the support.

Please Log in or Create an account to join the conversation.

More
03 Oct 2017 04:57 - 03 Oct 2017 04:58 #5567 by support
This forum is for QuickOPC client development toolkit, and your question does not relate to it. But I knew the answer, I would give it anyway. You should rather contact Kepware technical support, I think.

My only hint is that the registers might be 16-bit(?) and hold 2 ASCII characters, and therefore if you wrote e.g. "0x4142" into one and "0x4344" into the second, the consecutive registers may start to form a string?

Regards
Last edit: 03 Oct 2017 04:58 by support.

Please Log in or Create an account to join the conversation.

More
02 Oct 2017 22:21 #5565 by ee12205
Hello,

I'm trying to develop one application using Modbus TCP using a Modbus TCP/IP Ethernet channel.
The goal of the application is send one string (10 char) to the Kepware. And at this moment i can send just one char per Holding Register.
For example, for 400001 i load "0x41", for 400002 i load "0x42" ... 400010 i load "0x50" in Hex that means "A", "B", "C","..." in ASCII and then on the tag's of the kepware if i create one tag with HR 400001.2L as string, i can see the "A". But if i create one tag with 400001.20L, i should get 10char, right?
If i use a individual tags for each HR, like 400001, 400002, 400003 ... as string, i can see the respective char for each HR.

So, my doubt/ question is if is possible to read the 10 Holding Registers on the same string or tag?
do you have some idea, how to do it in the same string? It means, in the same tag read "ABCDEFGHIJ".

I'm using the KEPServerEX_V6.

Thanks,
LC
Attachments:

Please Log in or Create an account to join the conversation.

Moderators: support
Time to create page: 0.066 seconds