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

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

This site uses cookies. By clicking I accept, you agree to their use.