CP343-1 IT doesn´t send email

MiniMerv

Member
Join Date
Jan 2004
Location
Bremen
Posts
2
Hi!

It´s my first time handling a CP343-1 IT (1GX20). At this time I´m testing the different options provided by this device.
I´m working with Step 7 V5.1 and SP 6 (German). The CPU is a CPU313C. Now I want to send an email from the CP343. The test-function on the CP343 itself worked as well as the NCM S7.
I created a datablock according to the specification in the documentation, that demands a structure as follows:(I'll try to translate)

DB20

Address Name Type StartingValue Comments
0.0 Struct
+0.0 TO String[40] 'TO:[email protected];' required
+42.0 CC String[40] 'CC:[email protected];' optional
+84.0 FROM String[40] 'FROM:[email protected];' optional
+126.0 SUB String[40] 'SUB:Status of S7;' optional
+168.0 Text String[100] 'TXT:XYZ;' required
+270.0 Attach String[4] 'BNY:' optional
+276.0 Value1 Byte B#16#27 optional
+277.0 Value2 Byte B#16#03 optional
=278.0 END_STRUCT

I tried using the function fc 5 (German: AG_Send) and i was able to send an email with the parameters that are required ('TO:;' and 'TXT:;'). The CP343 had no problem with this. But as soon as I include any of the optional parameters the CP343 fails to send a mail. I used the NCM S7 Diagnosis Programm to check this. I tried all posibilities such as using only one string to which the parameters are assigned (ex.:+0.0 String[140] 'TO:xxxx;TXT:yxyx;') or altering the order of the datablock shown above. The result is always that emailing works only using exclusively the two required entries.
Is there anyone who could give me a hint?
Thanks in advance for your help.
Greetings!
 
Make sure your send handle on FC5 is set for 278 bytes. I send messages to my cell phone but it will only accept about 20 bytes. It sounds like you have the basics, you just have a minon tweeking.
 

Similar Topics

Hi, I have a customer with a S7300 from around 2013 which they link to approx 25 inverters, 3 DP to DP converters and 5 IM153 remote I/O units...
Replies
8
Views
312
I've been called to a site to assist with an ASi fault. The line has been down for a couple of weeks following a failure of the ASi power supply...
Replies
6
Views
1,285
I have an S7-300 and an HMI. The HMI is the only device that talks over Profinet through the CP343-1 module. It's run fine for a couple of years...
Replies
2
Views
499
Dear experts, I have the following setup: CPU-313C (6ES7313-5BF03-0AB0 V2.6) + CP343-1 (6GK7343-1EX30-0XE0 V2.0) communicating with Siemens PC...
Replies
7
Views
2,670
I can not see the CPU s7-300 i only see the cp343 as photo the interface is through tcp/ip how can I upload the station via the cp343 module ???
Replies
2
Views
994
Back
Top Bottom