Quantcast
Channel: Configuration - Home Assistant Community
Viewing all articles
Browse latest Browse all 95451

Beckhoff Twincat 3 ADS

$
0
0

@stefvp wrote:

Hi,

I’m new to home assistant and am trying to link it up with my beckhoff controller through the ADS integration.
I added the code to my configuration.yaml and can use the ads.write_data_by_name service.
I’ve added a route in my controller to HA.
So now I’m trying to write a value into a global var but I think I’m using adsvar wrong?

I have several GVL’s, global variable lists , I made one to test called HA with an integer variable test.
I’ve been trying with these settings and some variations but can’t seem to write data:

adsvar: GBL.HA.test
adstype: int
value: 123

I get this error:
Error writing GBL.HA.test: ADSError: Unknown Error (-1).

Any help would be greatly appreciated.

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 95451

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>