OSCAT Forum

oscat.lib => oscat.lib fuer CoDeSys 3 => Thema gestartet von: rogares am 28. August 2015, 14:02:39

Titel: Smtp_client Codesys-Somachine problem
Beitrag von: rogares am 28. August 2015, 14:02:39
Hello,

I'm working with SP1.1 SoMachine V4.01, 1.30 lib OSCAT network and M241 PLC.
I'm trying to run the function smtp_client, but I can´t, always get ERROR_T 16#02 and ERROR_C 16#FF000000.
Other functions of the library as DNS_CLIENT, DLOG_FILE_TO_FTP and DLOG_STORE_FILE_CSV working properly.
I have also gained access to the email account with Blat.exe to ensure authentication.
Attached screenshots, please make responsible use of the email account.
I can also provide the code or Virtual Machine with which I am working.
Please any ideas?

[gelöscht durch Administrator]
Titel: Re: Smtp_client Codesys-Somachine problem
Beitrag von: peewit am 30. August 2015, 21:13:22
The block can not establish TCP connection to the SMTP server

Cause: parameterization bugs or incompatibilities of your PLC

can you make a Wireshark recording?

Titel: Re: Smtp_client Codesys-Somachine problem
Beitrag von: rogares am 21. September 2015, 16:37:26
Excuse me for the delay and thank you very much for your help.

[gelöscht durch Administrator]
Titel: Re: Smtp_client Codesys-Somachine problem
Beitrag von: Ksanteri am 03. Juni 2016, 13:17:05
The block can not establish TCP connection to the SMTP server

Cause: parameterization bugs or incompatibilities of your PLC

can you make a Wireshark recording?

Hello Peewit!

Can you help me, please?)

1) Do you have a description of SMPT_CLIENT block variables?
2) What should be written in SERVER variable? Format?
3) Any description fo OSCAT_BASIC.STRING_LENGTH type?

Didn't get how make new topic, so put my question here.