Tag Archives: basic training hmi

C-More EA9 HMI Series Panel to PLC and PLC to Panel Settings

The C-More EA9 HMI (Human Machine Interface) Series Panel will communicate to the PLC directly through the tag database that we discovered in our first program. We were able to read and write individual bits in the PLC.

Panel to PLC communications is used to write information into the PLC; like current screen number displayed, good communications, pop-up keyboard, and current language number used in the HMI.

PLC to Panel communications is used by the PLC to control the HMI. Switch to screen number, beep, increment and decrement the Clock by one hour, clear alarm history, clear alarm count, start screen saver and select language are the items you can control in the HMI.

PLC Error is used to communicate internally in the HMI the PLC error state and PLC error code value.
We will be setting up and testing our PLC to Panel and Panel to PLC communications on our EA9 C-More. Let’s get started. Continue Reading!

C-More EA9 HMI Series Panel First Program

We will now put our first program into the C-More EA9 HMI Panel using the C-More programming software. The Do-More Designer Simulator will be used with a modified Start Stop Jog Circuit so we can use our HMI screen to monitor the output as well as control the inputs on the PLC.

Communications will be established to our C-More EA9-T10CL unit and the firmware will be updated. We will then develop our control for our PLC ladder logic circuit.

The PLC logic for our circuit can be found on our post: How to Make a Start / Stop / Jog Circuit in a PLC. The YouTube video can be seen here.
Our C-More EA9 HMI Panel will be communicating to the PLC simulator via Ethernet with the Modbus TCP protocol. Let’s get started. Continue Reading!

C-More EA9 HMI Series Panel System Setup Screens

The C-more touch panels include a series of built-in System Setup Screens that allow you to view detailed information about the panel; adjust certain features; configure communications; test various functions of the touch panel; backup & restore firmware, a recipe, log, and project memory; clear memory and reset all values and conditions back to the original factory defaults.

Information, Setting, Test Menu and Memory make up the four Main Menu setup screens.
Information – The information tabs display details about the touch panel model; the panel’s name; version information for the hardware, boot loader, and firmware; clock source, and beeper status. Other tabs display details on the panel’s internal memory and the status of any external memory devices. Communication port details are available in this area, as well as an error log to help in troubleshooting the system.
Setting – This is the area for making adjustments to the internal clock, adjusting the brightness of the display, setting the IP address adjusting (calibrating) the touch panel, enabling or disabling the internal beep, and enabling or disabling a mouse pointer.
Test Menu – This menu will allow you to test the touch panel, test the display, test the user LED, test the communication ports, and test both the internal beeper or the audio line output. If a speaker with an amplifier is connected, a WAV sound file is a system provided for the audio line output test.
Memory – The Memory menu allows you to either backup or restores your project, log data, recipe data and/or system memory. Selections can be made to backup to optional SD card memory or USB pen drive memory. The menu selections also give you the ability to clear the memory, and there is also a selection to reset all of the touch panel settings back to the original factory defaults.
We will be reviewing these system screens of the C-More HMI Panel. Let’s get started. Continue Reading!

C-More EA9 HMI Series Panel Installing the Software

The C-more Programming Software is a free download from Automation Direct. The software can run in DEMO (demonstration) mode or a key can be purchased to unlock this software. This powerful C-more Touch Panel programming software makes HMI touch screen panel setup and programming quick and simple. Simply drag and drop the objects from the object bar onto the screen construction area. A complete set of control panel objects include pushbuttons, selector switches, pilot lights, text and numeric data displays, bar graph displays, static and dynamic bitmapped images and more. Configure your PLC tags and click on the objects you want to use. A built-in simulator will allow you to review your work on the computer before downloading the project.

We will be installing the C-more Programming Software onto our PC (computer). This will be the DEMO mode of the program. The DEMO mode will do the following:
– You CAN download our sample projects and explore the capabilities of C-more.
– You CAN use the Simulator to test your project on the PC and see how the Simulator can save you hours of programming time.
– You CAN create your own objects, and save them in your object library.
– You CAN explore the online help, and find answers to many questions that might not be covered here on the website.
The full package will allow you to save your projects, download them to a panel and includes the full symbol factory library with over 4000 symbols.
Let’s get started. Continue Reading!

C-More EA9 HMI Series Panel System Hardware

Human-machine interfaces (HMI) are made to display and control operations for our automation solution. Information is displayed in a graphics format. (Graphical User Interface – GUI) The HMI is usually part of the SCADA (Supervisory Control and Data Acquisition) system.
Communication from the HMI to the control is usually done through a serial (RS232 / RS485 / RS422) or Ethernet (RJ45) method with different protocols depending on the manufacturer of the control. The automation control device is not limited to a PLC. (Programmable Logic Controller) You can communicate also to drives, temperature process controllers, etc. The HMI usually will include several different protocols and port configurations to maximize the amount of control product that it will be able to communicate.

C-More Operator Panels come in 6”, 7” wide, 10”, 10” wide, 12” or 15” models. They are programmed using the EA9-PGMSW programming software through either the USB or Ethernet cable. A voltage supply of 12-24 VDC is required for the panel. The optional C-More AC Power Adapter EA-AC can also be used to supply this voltage.
We will be looking at one of the newest members of the C-More Panel HMI devices from Automation Direct. This is the EA9-T10CL. This ten-inch colour TFT LCD screen offers great features that we will be exploring as we review this product. Let’s get started. Continue Reading!

C-More Micro HMI Object Meters and Graphs

The C-More Micro HMI Panel software uses virtual components called Objects. Meters and Graphs are part of these objects. They can represent a range of numbers and are programmable to simulate the functions that you require on your automation project. This helps you produce simple, intuitive looking human machine interfaces.

We will now look at the meters and graphs that we can use with our HMI micro panel. They can replace the older chart recorder equipment that is still in use in some manufacturing facilities. These objects will represent the data in the PLC for the user to interpret. Let’s get started. Continue Reading!

Create a PLC with HMI Training and Learning Environment Free

Learn PLC programming and use a powerful HMI (Human Machine Interface) easily and free. We will use the Automation Direct Do-More programming software tied into the Advanced HMI package via Modbus TCP.
PLC HMI Training Learning 0080-min

Our application will show a HMI screen with a panel meter and a reset button. The panel meter value may be changed by clicking it. This will bring up a input screen to put in a number. When the reset button is selected the input value entered will show on the panel meter.
PLC HMI Training Learning 0310-min

Since we will be communicating via Modbus TCP, the following table shows the Coil/Register Numbers and the associated Do-More PLC Addresses.

Coil/Register Numbers Data Addresses Type Do-More PLC Table Name
00001-09999 0000 to 270E Read-Write MC1 to MC1023 Discrete Output Coils
10001-19999 0000 to 270E Read-Only MI1 to MI1023 Discrete Input Contacts
30001-39999 0000 to 270E Read-Only MIR1 to MIR2047 Analog Input Registers
40001-49999 0000 to 270E Read-Write MHR1 to MHR2047 Analog Output Holding Registers

Note: The Do More PLC uses the Modbus area to communicate. This is because having direct access to the digital I/O can be dangerous when connected via Ethernet to the internet. Data must move in and out of this area via the PLC program.

We will first start with the PLC.
Automation Direct has a powerful simulator with their Do-More PLC. It is the Do-More Designer Software. This software simulator includes the entire instruction set (Not Just Bit Logic) as well as communication protocols. It can be downloaded and installed for free from the above link.
Our PLC program will have the following addresses:
Digital Panel Meter Present Value (PV) – MHR1 – Modbus 40001
Digital Panel Meter Set Value (SV) – MHR2 – Modbus 40002
Reset Button – MC1 – Modbus 00001

The first rung of the ladder will use the 1 second pulse bit and increment the PV value of our digital panel meter. This will also compare the current value to 4000 and if greater or equal, move the value of zero into the PV value.

The second rung of the ladder will move WX0 analog value from our simulator into the PV value of our digital panel meter.

The last rung of ladder will move the SV value into the PV value of our Digital Panel Meter. This happens when the reset is hit.

PLC HMI Training Learning 0200-min

The simulator is showing X0 on and we can then use the WX0 slider to change the PV value of the Panel Meter.
PLC HMI Training Learning 0210-min

Advanced HMI is a powerful HMI/SCADA (Supervisory Control and Data Acquisition) development package that takes advantage of Visual Studio. There is no coding required and you can simply drag and drop items onto the page. The best thing is that the software is free.

Communications drivers include the following and are accessible via VB or C# code:

  • Allen Bradley DF1 RS232 Driver
  • Allen Bradley Ethernet/IP Driver for SLC,MicroLogix, ControlLogix, and CompactLogix
  • Beckhof TwinCAT Driver
  • ModbusTCP Driver
  • ModbusRTU Driver
  • Omron Ethernet FINS Driver – Ethernet for newer controllers such as CP1H with Ethernet module
  • Omron Serial FINS Driver – Serial (RS232 / RS485) for newer controller such as CP1H
  • Omron Serial HostLink Driver – Serial (RS232 / RS485) for controllers such as CQM1, C200H, K-Series (C28K), C200, etc

The power of Advanced HMI is that it works within Visual Studio. This is a program integrated development environment (IDE) that you can take advantage of to modify or create new features including data logging applications.

Advanced HMI runs on Visual Studio 2008 or higher and will need to be installed on your PC. Visual Studio Community Edition 2015 is the latest version of the software. If you do not have it installed, please download and install from the following link.

https://www.visualstudio.com/en-us/products/visual-studio-community-vsPLC HMI Training Learning 0090-min

We will now need the Advanced HMI project. Here is the link to download the zip file.

http://sourceforge.net/projects/advancedhmi/PLC HMI Training Learning 0095-min

After downloading ‘AdvancedHMIBetaV399a.zip’ extract the files from the zip file. (Right Click.. Select Extract All)
Note: Your version might be different than the one above.

Open the solution file (AdvancedHMIv35.sln) from the extracted files in the root directory.
PLC HMI Training Learning 0097-min

PLC HMI Training Learning 0100-min

Our initial screen looks like the following. The project will now need to be compiled in order to add the components to the Toolbox.
Select Build | Build Solution from the menu
The next thing to do is add the communication to the form. On the left hand side of the screen you will see the ‘Toolbox’. Click on it and under AdvancedHMIDrivers Components we will select ModbusTCPCom. To actually add a component to our form you need to drag it. Select the component and as you hold the mouse button down move to the form.PLC HMI Training Learning 0120-min

After adding the ModbusTCPCom component, it will appear at the bottom, beneath our form.
Click on the ModbusTCPCom1 at the bottom of our form. On the right hand side you will notice the properties for this communication driver. Under Communication Settings | IP Address, enter the value  of the IP Address for the PLC. ( Ensure that the port number is 502. This is the default port number for Modbus TCP.PLC HMI Training Learning 0130-min

We can now add the digital panel meter. From the toolbox select and drag the DigitalPanelMeter to our form.PLC HMI Training Learning 0140-min

Resize the panel meter on the form by dragging a corner of the component.
While the panel meter is clicked, set the Properties | PLC Properties of the component:
PLCAddressValue – 40001 – MHR1 – Value to display on the meter.
PLCAddressKeypad – 40002 – MHR2 – This is the location of the stored number when the operator selects the meter and enters a number in the keypad.PLC HMI Training Learning 0150-min

Add a MomentaryButton to our form by selecting and dragging it from the toolbox.PLC HMI Training Learning 0160-min

After re-sizing the component, we can change the colour to blue under Properties | Misc. Also change the text on the button to ‘RESET’
Set the PLCAddressClick value to 00001. This is address MC1 in the Do-More PLC.PLC HMI Training Learning 0170-min

Run the application by selecting the ‘Start’ form the top menu. This also can be started by hitting ‘F5’. The form will then show in a separate window and the panel meter will be incrementing the value. Hitting the reset button will reset the value to the one entered when you click the panel meter.PLC HMI Training Learning 0310-min

When you hit the panel meter on the display a keypad will then pop up on your screen. Enter the new value and then select ‘Enter’. The new value will appear in MHR2 in the Do-More PLC.
PLC HMI Training Learning 0320-min

Watch on YouTube : Create a PLC with HMI Training and Learning Environment Free
If you have any questions or need further information please contact me.
Thank you,

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.