Help !
Who has the ads component working with TwinCat 2 of TwinCat 3.
Mine has no errors, but is not showing any values. Where to start with checking what is wrong?
Hello Jeroen,
I have ads components working with TwinCat 3.
Do you have added route in TwinCat to home assistant??
I have it working too.
I Added the route in TwinCat in the xml file of the routes.
Did you try to call ads.write_by_name service?? I have problem with it.
action:
- service: ads.write_data_by_name
data:
adsvar: '.AdsVarInt'
adstype: 'int'
value: 1234
Hello Jeroen,
Thanks for your advice but I tested similar configuration and it is working. I have problem when I try to send ha slider value to plc. I tried a lot of conf without success.
Did you try to do that?
I tried that too but also without succes.
Did someone make this with success??
Works here. Both on Windows and raspberry pi.
It is very important to add the correct amsnetid of your device in the PLC router.
I had to reboot the PLC after adding the amsnetid.
amsnetid = +’.1.1’ f.e. 192.168.0.50.1.1