russedwards Posted October 29, 2013 Report Share Posted October 29, 2013 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 Quote Link to comment Share on other sites More sharing options...
Michael_P Posted October 29, 2013 Report Share Posted October 29, 2013 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! Quote Link to comment Share on other sites More sharing options...
russedwards Posted October 30, 2013 Author Report Share Posted October 30, 2013 thanks for the help michael, i will give this a try Quote Link to comment Share on other sites More sharing options...
Recommended Posts
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.