Open evisvasiu opened 1 year ago
Hi evisvasiu,
I can't find any obvious fault in your code.
here are some points to check:
I have used the same SrcAmsAddr port as in the example. Should we use another one?
No, the SrcAmsAddr is ok
Hi Otti,
Can you give an example to use the Ads.read function please?
I can use all other calls, but only with the Ads.read i get the error: "no matching function for call to 'ADS::Ads::Read(uint32_t&, uint32_t&, int, bool*)'"
I can't figure it out what is wrong.
Kind regards, Kevin
For some reason, I'm not able to exchange data between my esp32 and Twincat. I've tried some modifications. I have used the same SrcAmsAddr port as in the example. Should we use another one? I also created a firewall rule on PLC client to allow communication through this port. Here's my final version:
On PLC I have just created this two variables:
numberToWrite : INT; numberToRead : INT := 0;