Jump to content

Email Direct & Indirect Contents


Recommended Posts

Hi

 

I am having an issue with some email alerts that I am trying to send from my V570.

 

I am looking to combine direct and indirect email content into the same message, is this possible?

 

For example, at a set time, I want the PLC to send an email saying eg "your current drum volume is 257 litres".  

The wording "your current drum volume is" - is the direct email content, and the 257 is read from an MI and is therefore the indirect content.

 

Is this possible?

 

Thanks

 

Russ

Link to comment
Share on other sites

Hi Russ,

It will be possible. The email FB allows for either indirect or direct text. To include both you can first prepare the direct text within the ladder using the String to ASCII, you will store the string in a vector. you can then add the indirect values into the vector, Say you enter "your current drum volume is liters" you will store this into say MI100 as the start of vector, you can then use string tools to convert the indirect value "257" to ASCII. Then and lastly use the insert string into string FB and reference the vector when sending the email. 

Hope this helps you get just what you want!

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...