Trouble-Shooting
The following list provides basic help in case of errors and should be read before contacting our support department.
- Check if one of the PLC function blocks returns an error code:
- Please consult the list of error codes:
- SMTP Error codes
- ADS Return codes
- Win Socket Error codes
- Activate the logging option in the TcSmtpConfig.xml
- The TcSmtpConfig.xml is located in \TwinCAT\Functions\TF6350-SMS-SMTP
- Enable verbose logging by setting the EnableLogFile = 1 and restart TwinCAT.
- <TcSmtpConfig> <!-- EnableLogFile: 0 (Disabled), 1 (Enabled) --> <EnableLogFile>1</EnableLogFile> ... <Reconnects>5</Reconnects> </TcSmtpConfig>
- The log file will be generate in \TwinCAT\Functions\TF6350-SMS-SMTP .
If the troubleshooting checklist does not help, please contact our support department and provide the following information:
General system information
- What kind of hardware is being used on the computer running TF6350 SMS/SMTP?
- Beckhoff IPC or Embedded PC: Which product number does the PC have?
- Which Operating System image version is currently installed on that computer?
Product-related system information
- Which version of TF6350 SMS/STMP is being used?
- Which function blocks of the Tc2_SMTP library are being used in the PLC program?
- Which SMTP Server is being used?
- Microsoft Exchange Server
- Axigen
- PostFix
- WebMail Provider (e.g. GMAIL, Hotmail, GMX)
- Please provide the SMTP logfile (see 2. of the troubleshooting list)
- Please provide an exact description of the environment in which the product TF6350 SMS/SMTP is being used
- Where is the computer running TF6350 SMS/SMTP located?
- Where is the SMTP-Server located? (Local network, Internet)
- Which encryption is in use? (NON, TLS, SSL)
- What are the IP settings of the Mail-Server and the computer running TF6350 SMS/SMTP? (IP address, subnet mask, ports)
- In case that there is a firewall between both computers:
What kind of Firewall system is being used (please provide vendor information)?