C-More EA9 HMI Series Panel Sending Email

The C-More EA9 HMI Panel through the Ethernet port can send secure email messages. These mail messages with attachments can be sent through a specified mail server.
C-More EA9 HMI Series Panel Sending Email


Previously in this C-More EA9 HMI Panel series, we have done the following:
System Hardware
Unboxing and Review Video
Powering the Unit Video
Installing the SoftwareVideo
System Setup ScreensVideo
First Program
Establishing Communication and Updating Firmware Video
First Program Video
Panel to PLC and PLC to Panel SettingsVideo
Common Screen MenuVideo
Simulate ProjectVideo
Object List ShapesVideo
Object List ButtonsVideo
Object List IndicatorsVideo
Object List EntryVideo
Object List Meters and GraphsVideo
Object List BitmapsVideo
Object List RecipeVideo
Define Custom KeypadVideo
Object List AlarmsVideo
Object List TextVideo
Object List ClockVideo
Barcode Scanner InputVideo
Web Server and Remote AccessVideo
Data LoggingVideo
FTP File Transfer ProtocolVideo

Watch the video below to see the C-More EA9 HMI Panel send an email.

Note:
Google is removing “Less Secured Apps” in the mail app. (Gmail) If you are using this to send email from your controller, you must enable 2-step verification. This will then give you the option to generate an “App Password” for your controller or program.
Gmail Less Secure App Access – App Passwords

C-More EA9 Ethernet Port Setup

The first thing that we need to do is ensure that our Ethernet port is set up on our current network. In the C-more programming software select Ethernet Port under the Panel Network in Setup. This is located on the Function tab of the Navigation window.
Alternatively, you can also use the main menu | Setup | Panel Network… Then select Ethernet Port on the left side.
C-More EA9 HMI Series Panel Sending Email
Select “Save setting to Project (Built-in Ethernet Port).
The DNS Server is set to the Google DNS server addresses. This will allow our email client to find the correct IP address. Select OK.
Our Ethernet port is set up for our application.

C-More Email Client Setup

C-More EA9 HMI Series Panel Sending Email
Select from the main menu | Setup | Panel Network… Then select Email Client on the left side. You can also use the Email Client under the Panel Network in Setup on the Function tab of the navigation window.
C-More EA9 HMI Series Panel Sending Email
Server Configuration
Select SMTP – Authenticated for the Email Client Protocol. You will notice that the account and password fields will then appear in the Panel Network window.
We can then enter the email address of the sender. (gclshortt@gmail.com) The send mail server (SMTP) will be set for the Google Gmail Server. (smtp.gmail.com) The DNS server is used to look up the actual IP address that is required. The port number will need to be changed to whatever your provider is using. Mine is currently 25.
Encryption
Check ‘This Server Requires encryption’. Select TLS (typically port no. 587) and Use STARTTLS. Gmail exposes port 587 for SMTP with STARTTLS. SMTP with STARTTLS starts with unencrypted SMTP and then switches to SSL/TLS.
Authentication
Enter the account name. This is usually the email address for Gmail. Then enter the password for the account name.
C-More EA9 HMI Series Panel Sending Email
Here is our completed Email Client window. Select OK.

Address Book – Sending Email

The address book database contains a list of names and addresses that can be used in the event manager database. In our case we will set the email address of the person(s) that we are sending the email.
C-More EA9 HMI Series Panel Sending Email
Select from the main menu | Database | Address Book… You can also use the Address Book under the Database in Setup on the Function tab of the navigation window.
C-More EA9 HMI Series Panel Sending Email
Select the Add icon on the Address book window in the Mail Address tab.
C-More EA9 HMI Series Panel Sending Email
Under the name we will select Static and enter our email address name. (Garry)
Under the Mail Address, we will select Static and enter our mail address. (gclshortt@gmail.com)
We are using the static option for each of these selections, but we could also use a tag name. This way we can create a program for the operator to enter the email address.
C-More EA9 HMI Series Panel Sending Email
Select OK.
C-More EA9 HMI Series Panel Sending Email
Our mail address will now appear in the address book window.
We will add another email address. GarryS – GarryShortt@AccAutomation.ca
C-More EA9 HMI Series Panel Sending Email
Here is our completed address book.

Event Manager Database – Send Email 

The event manager database is where we determine the email information and when we will send the email.

Select Event Manager Database under Database on the function tab of the Navigation window. Alternatively, you can also use the main menu | Database | Event Manager Database…

Our alarm events will be displayed that we have discussed before. Select the Add + icon to add another event that will send an email.

Select the Add Action.. button

Select the Mail button. This will enable a mail tab that we can set for the event.

Unselect the Alarm action.
On the mail tab, we will select the two names that we programmed above in our address database.
We will leave the language as the default. The Subject of the email will be the C-More Message. The message area is where we can add time, date, and tag information from our tag name database. This can be mixed with wording to customize our email message.

Select the three dots (…) button next to the Attached File.

We now have an option to attach a file to our email message. Select Line Trend Log File.

Select page 16 – Data Logging : LineTrendGraph1. This is the data logging graph we have created previously. Select OK.

We can now select a Tag that will trigger the email to be sent. The tag name that we will use will be MI1.
The Event Name will be set for Send Email.

Select the Add button.
C-More EA9 HMI Series Panel Sending Email
Our new Send Email event has now been added. Transfer the project to the HMI panel.
The C-More EA9 HMI Panel send email setup and run can be viewed on the video below.

Do-More Designer Simulator


Our email is triggered by the output MI1. This is the output that we created for our start-stop and jog circuit.
C-More EA9 HMI Series Panel Sending Email
The email message can be sent using either the touch screen or PLC simulator.

Email Message (Gmail)

When we trigger our event, the email will be sent to the addresses that we selected from our address database.
C-More EA9 HMI Series Panel Sending Email
Click the message title and the full email message can be read.
C-More EA9 HMI Series Panel Sending Email

Download the PLC and C-More programs here.

Watch the video below to see the Send Email event in action on our C-More EA9 HMI Panel.

C-More EA9 Panels from Automation Direct


https://www.automationdirect.com/adc/overview/catalog/hmi_(human_machine_interface)/c-more_touch_panels_ea9_series
C-More – Graphic Panel (EA9 Series) User Manual and Quick Start Guides
https://cdn.automationdirect.com/static/manuals/ea9userm/ea9userm.html
EA9-T10CL C-More Specifications
https://cdn.automationdirect.com/static/specs/ea9t10cl.pdf
C-More EA9 Programming Software (Current Version V6.42)
https://support.automationdirect.com/products/cmore.html
This software will enable you to program all of the C-More EA9 HMI units. It includes a simulator for your application.

Next time we will look at the Headless C-More HMI.

Watch on YouTube: C-More EA9 HMI Series Panel Sending Email

C-More EA9 HMI Series Panel Sending...
C-More EA9 HMI Series Panel Sending Email

If you have any questions or need further information please contact me.
Thank you,
Garry



If you’re like most of my readers, you’re committed to learning about technology. Numbering systems used in PLC’s are not difficult to learn and understand. We will walk through the numbering systems used in PLCs. This includes Bits, Decimal, Hexadecimal, ASCII and Floating Point.

To get this free article, subscribe to my free email newsletter.


Use the information to inform other people how numbering systems work. Sign up now.

The ‘Robust Data Logging for Free’ eBook is also available as a free download. The link is included when you subscribe to ACC Automation.


4 thoughts on “C-More EA9 HMI Series Panel Sending Email”

  1. Hey Garry,

    Thanks for the video – do you mind describing your network a bit? I think most of us are using these devices in a local network and the headless unit only has 1 port.

    Bridging this through a PC that is connected to both local and internet is probably most applicable.

    Can you discuss that a bit?

    Thanks,
    Matt

    Reply
    • Hi Matt,
      Thank you for the comments. My network consists of a cable modem for the internet and a separate wireless router. (Netgear Nighthawk AX6 6-Stream AX4300 WiFi 6 Router (RAX45-100NAS)) The extra ports on the back of the router are where I plug in the automation equipment. The DHCP is included within the router to take care of IP addresses. Most of the time factories will have their own DHCP to obtain the IP address. I prefer to contact their IT department and request static IP addresses based on the MAC address of the equipment. In this case, I would order an industrial unmanaged Ethernet switch box for the panel. The switch provides a method to connect the PLC, HMI and computer when required.
      I hope this helps you out.
      Regards,
      Garry

      Reply

Leave a Comment