Send email from HMI

Send email from HMI
none 0.0 0

How do I send an email based on macro logic?

To send emails using macros, you can trigger an alarm, which in turn sends an email. This method assumes that you have already configured the email server within the System Parameters.

First, create a new alarm in the Event (Alarm) Log.

In the General tab of the alarm settings, set the Address field to LB-0, which will act as the trigger bit for the alarm.

In the Message tab, enter the content you want to appear in the email under the Content field. This message will be included in the email body when the alarm is triggered.

In the Email tab, you can select which email groups will receive the notification. You can also configure the beginning and ending portions of the email message here.

To trigger the alarm through a macro, use the SETDATA function to set the bit at LB-0 to ON. This activates the alarm and sends the email.

Furthermore, here is a video to set up alarm notifications.