Smtp_client Codesys-Somachine problem

Begonnen von rogares, 28. August 2015, 14:02:39

Vorheriges Thema - Nächstes Thema

0 Mitglieder und 3 Gäste betrachten dieses Thema.

rogares

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]

peewit

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?


rogares

Excuse me for the delay and thank you very much for your help.

[gelöscht durch Administrator]

Ksanteri

Zitat von: peewit in 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?

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.