Ewon TechForum
Providing technical solutions to technical requests


Sending Strings by Modbus/TCP
LennonEletronor Offline
Junior Member
#1
Hello!
I am working with a message exchange using HTTPS and I receive some text response on flexy205.
I need to send those responses to my Allen Bradley's PLC, but that communication does not allow me to exchange Strings, only for DWORD.
I can turn these STRINGs into DWORDs and then send them to my PLC? Is there a function to use in this case? Or is there any other way to send those messages?
If anyone has any sample code to use in this scenario, it would be perfect.
Thanks in advance.
Reply

simon Offline
eWON Support
#2
Hi,

What PLC do you use ? I am asking that because if the PLC can be polled using the ABLogix/DF1 IOserver, then you can poll String tags (as of fwr 14).
If you have to use Modbus TCP, then you have to read registers and assemble them to compose your string like : https://techforum.ewon.biz/thread-166.html

Simon
Reply



Possibly Related Threads…
  Sending a String Started by mtappa
1 Replies - 782 Views
04-04-2019, 01:54 PM
Last Post: ziozetti
06-09-2018, 11:28 AM
Last Post: stefan.becker@rosond.com
05-03-2018, 05:29 PM
Last Post: davidf
09-01-2018, 08:00 PM
Last Post: davidf
23-11-2017, 11:22 AM
Last Post: simon
27-10-2017, 09:12 AM
Last Post: jiayuan0727
21-04-2017, 01:15 PM
Last Post: simon



Users browsing this thread:
1 Guest(s)



Theme © Ewon 2019 - Forum software by © MyBB - Cookie policy