File tree 1 file changed +3
-3
lines changed
1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -20,15 +20,15 @@ Download this repository as zip file and import it to the Arduino libraries.
20
20
* Set the SrcAmsAddr to the IP address of your ESP followed by ` 1.1 ` .
21
21
* In the TwinCAT "Add Route Dialog" of the target machine you have to add the IP of this ESP.
22
22
Make sure, that you have set the "Remote Route" to "None"
23
- <img src =" https://github.com/otti/EspAdsLib/blob/main/pics/AddRoute.png " width =" 500 " >
23
+ <img src =" https://github.com/otti/EspAdsLib/blob/main/pics/AddRoute.png " width =" 500 " >
24
24
25
25
### Writing CoE Values
26
26
Set the DestAmsAddr and the port in the code to the AmsAddr of the slave you want to access.
27
- <img src =" https://github.com/otti/EspAdsLib/blob/main/pics/AmsNetId_CoE.png " width =" 450 " >
27
+ <img src =" https://github.com/otti/EspAdsLib/blob/main/pics/AmsNetId_CoE.png " width =" 450 " >
28
28
29
29
### Writing PLC variables
30
30
Set the DestAmsAddr in the code to the AmsAddr of the target. This usually ends with ` .1.1 `
31
- <img src =" https://github.com/otti/EspAdsLib/blob/main/pics/AmsNetId_Target.png " width =" 450 " >
31
+ <img src =" https://github.com/otti/EspAdsLib/blob/main/pics/AmsNetId_Target.png " width =" 450 " >
32
32
Set the port to the port of your PLC. The first PLC usually has port 851 on TwinCAT3 and 801 on TwinCAT2.
33
33
The port is also available as define. (` AMSPORT_R0_PLC_TC3 ` )
34
34
You can’t perform that action at this time.
0 commit comments