
Table of contents
TF6350 3Version: 1.4
Table of contents
1 Foreword....................................................................................................................................................5
1.1 Notes on the documentation .............................................................................................................5
1.2 Safety instructions.............................................................................................................................6
1.3 Notes on information security............................................................................................................7
2 Overview ....................................................................................................................................................8
3 Installation .................................................................................................................................................9
3.1 System requirements ........................................................................................................................9
3.2 Installation .........................................................................................................................................9
3.3 Installation Windows CE .................................................................................................................12
3.4 Licensing .........................................................................................................................................14
4 TwinCAT SMTP........................................................................................................................................17
4.1 Configuration...................................................................................................................................17
4.2 PLC API ..........................................................................................................................................18
4.2.1 Function blocks ................................................................................................................19
4.3 Samples ..........................................................................................................................................31
4.3.1 Mail dispatch ....................................................................................................................31
4.3.2 SmtpFull sample with features ......................................................................................... 32
4.4 Appendix .........................................................................................................................................33
4.4.1 Trouble-Shooting.............................................................................................................. 33
4.4.2 Error Codes...................................................................................................................... 34
4.4.3 Windows Socket Error Codes ..........................................................................................35
5 TwinCAT SMS..........................................................................................................................................40
5.1 PLC API ..........................................................................................................................................40
5.1.1 Function blocks ................................................................................................................40
5.1.2 Functions.......................................................................................................................... 42
5.1.3 Global constants .............................................................................................................. 42
5.2 Samples ..........................................................................................................................................43
5.2.1 Sending an SMS via the Beckhoff 4G stick...................................................................... 43
5.3 Appendix .........................................................................................................................................44
5.3.1 Fault Finding .................................................................................................................... 44
6 Appendix..................................................................................................................................................46
6.1 ADS Return Codes..........................................................................................................................46
6.2 Support and Service........................................................................................................................50