AG_SEND/LSEND error 8f7f sending e-mail.

zkmean

Member
Join Date
Nov 2015
Location
Warsaw
Posts
9
Hi, I am new on this forum and i have a question. I am starting learn to use communication AG_SEND block and configure CP343-1 Advanced. In fact I configure e-mail connection in cp with smtp server hmailserver and when i send email from web of cpu the E-mail has been sent correctly, but when i want send from step7 i have an error 8f7f, i'm trying everything please for some help. What i doing wrong?
8F7F - Internal error, e.g. illegal ANY reference.
CPU315: 1AF03-0AB0
CP343: 1GX30-0XE0

Web diagnostic/sending manuall email:
http://imagizer.imageshack.us/v2/800x600q90/907/e6qZ7s.jpg

DB1 parameter:
http://imagizer.imageshack.us/v2/800x600q90/907/oEUFWS.png

OB1 FC50 block:
http://imagizer.imageshack.us/v2/800x600q90/907/vjzQPt.jpg

Thanks for any help.

Testing sending:
http://imagizer.imageshack.us/v2/800x600q90/910/dLxHbO.jpg

Configure email:
http://imagizer.imageshack.us/v2/800x600q90/903/JKLOoe.png
 
Thanks for the replay but this still doesn't work :)
I have a error 8090 - Module not avalible with this intinal address or cpu in stop- Cpu working, but what intinal address he want?
 
Last edited:
Have you compiled and downloaded netpro?

You should get the connection green/up regardless of the AG_LSEND call.

If you right click the CP card and choose module diagnostics and then choose special diagnostics you can get more diagnostics about your connection
 
Are you sure you are using the right block. I dont have Step7 at the moment but i think AG_LSEND is for the CP440 series.

In the library try the AG_SEND for CP343 series

In your picture for ob1 at the leftmost you have a treeview at the bottom of that tree you have libraries and in the libraries you have a folder called communication or something. In that folder there is 2 diffrent folders one for 300 and one for 400 seried
 
Last edited:
Yes I'm using AG_LSEND from CP400 but when i'm using FC5 AG_SEND from CP300 then i can't send data >240 bytes
OK when i'm using FC5 i have Error:
8F22H Source area invalid - e.g. area not available in the DB, parameter LEN < 0.
8183H The configuration is missing or the ISO transport service has not yet been started in the Ethernet CP.

Thanks for any help :)
 
Ok i got block FC50 for cp300 in ver v2.4 he sends something witch flag done but email doesn't come maybe the problem is in SEND: P#DB1.DBX10.0 BYTE 402 ?
 
The len parameter must correspond to the amount of bytes you want to send so in your case it should be LEN=402
 
I am pretty sure that fc5 for a cp343 can handle up to 8000 bytes if you have a newer CP card or is the CP card very old?
 
Ok the status Done is '1' AND MW16 Status is '0000' does mean it working but email does'n receive. CP 343 is connected to router and from him i'm programing and use diagnostic. Cp343-1 Advance is in ver 1.1
 
S7300:

- With the latest versions of the Ethernet CPs, only program blocks AG_SEND and AG_RECV are used; data with a length of up to 8192 bytes can be transferred.

- With S7-300 CPs (up to 6GK7 343-1EX10-0XE0 with firmware version V2.2), use FC60 on TCP connections instead of FC6. For the CP 343-1 (EX10), you can use FC5/FC6 up to block version V3.0.
 
Last edited:

Similar Topics

I am trying to send emails from a Vijeo Citect V7.20 project using the MailSend() function. However, when I try to attach a file to the email, the...
Replies
9
Views
4,604
So I had an odd request from a customer for the above. I have written the logic and tested it all in one PLC with only using 7 outputs and 7...
Replies
15
Views
427
can the slc500 5/05 send a email and text over Ethernet ?
Replies
3
Views
185
Hello Friends I have took the sample program from AB webpage and modified, but I can only send 127 chars...
Replies
1
Views
179
I have followed the videos & still having issues getting the email out. Does anyone have knowledge or has sent an email notification via gp pro ex?
Replies
0
Views
191
Back
Top Bottom