TechCorner 15 - C-More Remote Access, Data Log, FTP File Transfer, and Email (Tutorial)
TechCorner 15 - C-More Remote Access, Data Log, FTP File Transfer, and Email (Tutorial)
Introduction:
This script will walk you through the basic process of setting up the remote access, data
logging, FTP file transfer, and email features which can be used with any C-more HMI. They are
included in the C-more Programming Software at no extra cost and require no special PLC
programming. Included in the .zip file are the files for the completed C-more project and
completed Productivity 3000 program.
**Attention: Before you begin any of the following tutorials, please follow these directions to
configure your computer’s Ethernet port.
Ethernet Configuration:
Go to: Start –> Settings –> Network Connections or
Start –> Control Panel –> Network Connections:
Table of Contents:
Remote Access...................................................................................... 4
Email ..................................................................................................... 13
Remote Access:
The C-more Remote Access feature can be used on any C-more HMI with an Ethernet
port. It allows users to monitor and control a C-more panel from a PC located anywhere in the
world as long as the panel is connected to the internet. The connection, across the internet or a
local network, is established via a web browser such as Internet Explorer. These procedures can
be applied to any project you wish to view/control remotely. For demonstration purposes we
will use the projects provided with this script.
Please start by loading the project titled “Tank Pump Application.adpro” onto the PAC and
opening its respective C-more project “Tank Pump Application (basic).eap” in the C-more
Programming Software.
Check the IP address of your C-more panel:
∗ Please make sure you see Ethernet Configuration on the first page of this script
Go to Setup – Touch Panel Network
Click the “Ethernet Port” tab
Configure your Ethernet settings as shown below:
Data Logging:
This feature allows users to collect and store analog data from any PLC connected to a
C-more. The data (saved as a .txt file) can either be logged directly on a CompactFlash card or
USB thumb drive. In order to transfer the data files to a computer, you must physically remove
the storage device from the C-more and connect it to your computer with a CF reader or USB
port. The log file can then be opened with Excel or any other database program for generating
reports and doing data manipulation. The next two sections of this script (titled FTP File
Transfer and Email) describe how you can transfer the data log over Ethernet without removing
the storage media.
Start by loading the project titled “Tank Pump Application.adpro” onto the Productivity 3000
Then open the C-more Programming Software v2.6 and open the project “Tank Pump
Application (basic).eap”.
Add a new screen to the project via the menu titled Screen. Click OK
On the first screen, add a “Screen Change Pushbutton” by dragging one from the object list.
• Click OK and size the Screen Change button to fit in the empty spot next to the “Pump
1” indicator light as shown below:
• Go to the blank Screen 2 and paste that button in the bottom right corner of the
window
Stay on Screen 2
Add a “Line Trend Graph”
• Uncheck the X-Axis Label box
• In the Y-Axis area
♦ Change the Label to “Level”
♦ Change the data type to Floating Point 2. Use Min: 0 and Max: 100
• Change the Sample Rate Setup to Trigger Tag
♦ Use the tag named “C-MORE DATA LOG”
Save and transfer your project as “Tank Pump Application (Data Logging).eap”. If you have
added on to your Remote Access project, you may want to indicate that in the project name.
You are now ready to log data. Please make sure your P-3000 is in Run mode.
Insert your storage media and wait for the USB or CF1 On indicator light to come on
Note: We have configured the C-more to log “Tank Level 1” and “Tank Level 2” which are set
up in the PAC project as the first two Analog inputs of a P3-8AD4DA-2 module. If you are not
using this setup, then you will have to modify the PAC project to log other tags that you can
either manually change via a data view window or using whatever equipment you have.
The HMI will automatically log data and transfer it to the storage media when its log buffer
is full. This is when the “DATA” indicator light will go on.
Use the STOP and START button in the top right corner to start and stop data logging.
When you are ready to remove your storage device, always use the Eject button. If you
neglect to do so, you may lose all data stored on it.
C-mores can either act as the FTP server or client depending on your requirements. When set up
as a client, the C-more can both send and receive files from an FTP site. With this configuration you must
have an FTP server set up already. If you don’t have a server set up or don’t plan on sending files to the
C-more, you can configure it as a server and use your PC as the client. With the HMI acting as a Server,
you can retrieve data from the removable storage devices as well as the internal C-more memory. This
tutorial will describe how to set up the FTP server function and access the data on your PC.
**NOTE: Before attempting this tutorial, please complete the Data Logging tutorial listed above.
Without it, you will have no data to retrieve from your C-more
Please make sure the project titled “Tank Pump Application.adpro” is loaded on your PAC
Open the C-more Programming Software and open the project created in the Data Logging tutorial
titled “Tank Pump Application (Data Logging).eap”
Start by accessing the Touch Panel Network settings via the Setup drop-down menu
Click on the FTP Service Tag
• You should see links to the Built-in Flash directory as well as the USB Pen Drive. Follow
the links to find your log file. Once you locate the correct file, right click on it and select
“Save Target As…”
• To ensure that the browser displays the panel's current files, click on “Internet Options”
under the Tools drop down menu in Internet Explorer and make the following settings.
♦ From the Browsing History box, click on the Settings button to bring up the Settings
dialog box.
♦ In the Settings dialog box, click on “Every time I visit the webpage” so that each time
the touch panel's FTP site is accessed, the most current files are displayed.
♦ Click the OK button to save the settings and close Internet Explorer's Settings dialog
box.
Email Client
The Email Client feature is used to send emails from a C-more to one or more email addresses.
The emails can include a preset message, Log Messages, Line Trend Graph data, PID data, or even a
screen capture image from your panel. Like the FTP service, email is another feature only available to C-
more panels with Ethernet. Additionally you must have and be connected to an email server with an
available email address for the C-more to send emails with.
Start by accessing the Touch Panel Network settings via the Setup drop-down menu.
Click on the Email Client tab
Here you need to fill in the blanks with information corresponding to your email server and
the address you have chosen to use.
You will need to define whether Log on Information is required and if so, is SMTP
Authentication required.
Once you have configured the Email Client accordingly, you will need to:
1. Create an entry in the Address Book
• Double click on “Address Book” under the Function tab.
• Type in the name and mail address of your recipient, choose the message language, and
then click “Add”.
• Repeat this for all addresses you wish to mail to.
♦ In this window create an Event Name and choose a tag that you will use to trigger
the send email function.
♦ Click on “01-Alarm” in the Action Sequence List then click Delete Action in the
bottom left corner of the screen.
♦ Click “Add Action”
Leave the Sequence # as it is
Choose “Mail” from the Command dropdown menu
Click OK to close the Add Action window
You can now choose your Subject and Message Text for this particular email.
You can also change the time and date formats, add specific Tag data or an
entire Data Log File.
To Attach a Data Log File, click on the three dots to the right of the grey box
next to “Attached File”.