We will now look at creating BRX Do-More dynamic web pages on our PLC web server. These pages are great for operator information display. A dynamic web page is a web page that displays different content each time it’s viewed. For example, the page may change with the time of day, the user that accesses the web-page, or the type of user interaction. There are two types of dynamic web pages.
Server Side Scripting – Web pages that change when a web page is loaded or visited use server-side scripting. Login pages, forums, and shopping carts are examples of server-side scripting. PHP, ASP, Perl, and ASP.Net, are some of the languages that can be used.
We will now look at the productivity Arduino Ethernet web server that we will implement on our Productivity Open P1AM industrial Arduino controller.
This P1AM Web Server Example is based on an example found here. This example uses the productivity open P1AM-ETH shield to create a web server that displays the input values of a P1-08SIM and P1-04THM to a web page. This page is automatically updated every 3 seconds. The IP address of the webserver is set in the Arduino program (Sketch) Entering this IP address in your browser to view the web page. This will display the information from our Arduino P1AM on our web browser. Let’s get started. Continue Reading!
We will now look at the BRX Do-More PLC Web Server. Ethernet equipped BRX CPUs and the Do-More Designer Simulator can now have a web server. This can be accessed by any web browser using the IP address of the BRX Do-More CPU.
A web server is server software or hardware dedicated to running this software, that can satisfy client requests on an Ethernet network. A web server can contain one or more websites and websites can have several web pages. A web server processes incoming network requests over HTTP and several other related protocols.
The website built into the BRX Do-More has several different tabs that have basic information about the system, status information like warnings and errors, input and outputs, system logs, user logs, and user pages. We will be enabling the webserver on our BRX Do-More PLC and showing the information that is available. This is a great tool for troubleshooting the PLC as you will see. Let’s get started. Continue Reading!
Accelerate Learning …
What a difference a year makes! Social distancing, mask-wearing, hygiene, social circles, etc are just a few of the terms we hear every day in this Covid-19 world. Video conferencing with Zoom, Teams, and Google Meet are the norm in business today. Information is knowledge, and everyone wants to be able to see, control, and summarize production data on a regular basis. Technologies are merging and communicating like never before. What was impossible is now possible for the industrial plant floor. We are looking forward to the New Year and new possibilities for implementing your control solution.
Each year we like to take a few minutes and reflect on the past, current, and future of ACC Automation. You have helped us to build the site that you see today through questions, comments, and suggestions. Thank you. Keep on Reading!
We will now look at P1AM Arduino Modbus TCP communication to the C-More EA9 Series HMI. This will be communicating Ethernet Modbus TCP protocol. The P1AM will be the server (slave) and the EA9-RHMI the client (master).
We will explain how to connect a headless C-more HMI to our P1AM-ETH Industrial Arduino Ethernet Shield.
The P1AM Example from Automation Direct on GitHub will be used.
We will be using the remote android and windows app to connect to the C-More EA9 HMI. This will display the information from our Arduino P1AM on our headless unit. Let’s get started. Continue Reading!
We will now look at P1AM Arduino Modbus TCP communication to the C-More Micro EA3 HMI. This will be communicating the Ethernet Modbus TCP protocol. The P1AM will be the server (slave) and the EA3-T4CL the client (master).
There was a recent question on the Automation Direct Customer Forums that asked, “How do I connect an HMI C-more EA3-T4CL and P1AM PLC?“.
We will explain how to connect this to our P1AM-ETH Industrial Arduino Ethernet Shield.
The P1AM Example from Automation Direct on GitHub will be used.
We will be using the C-More Micro EA3-T4CL HMI that is posted. Let’s get started. Continue Reading!
The C-More Micro HMI panel is a series of human-machine interfaces (HMI) that provide a way for the operator to control and view your programmable logic controller. (PLC) The free C-more microprogramming software is user friendly and fully featured. C-more Micro panels can easily display text, graphics, and bitmaps to effectively communicate critical data to your operator.
We will connect the EA3-T4CL cmore micro HMI screen to the Omron CP1H PLC. The devices will communicate serially via an RS485 interface. We will demonstrate reading and writing bits and words from the HMI unit. Let’s get started. Continue Reading!
The C-More EA9 Series of human-machine interfaces (HMI) provides a way for the operator to control and will perform a lot of additional items. The free programming software is very user friendly and fully featured. Here are some of the additional items that this robust and powerful HMI can do besides communicating to programmable logic controllers (PLCs).
Send Email – This includes authentication for the email client protocol
Log Data – This can log data files to the internal memory or an external thumb drive (32G)
FTP Server – Use file transfer protocol to retrieve information from the HMI to a network. This can be done automatically with a batch file.
Web Server – This HMI can be a web server on your network
Remote Internet Access – Windows, Android, and IOS operating systems have the ability to take advantage of this remote access to the HMI. The programs are free and fully functional.
Our sample CP1H PLC program will use buttons and indicators to control a start/stop jog circuit. An analog input into the PLC will be scaled and displayed on a gauge and numeric display on our HMI screen. We will also write information to our 7 segment display on the CPU from our HMI screen. Omron serial host link protocol will be used to communicate over an RS485 serial cable. We will demonstrate remote access using our windows and android device. Let’s get started. Continue Reading!
Operators in your Arduino sketches (programs) consist of comparison blocks, concatenate strings, bitwise operators, string conversion, ‘not’ operator, and compound operators. These operations generally will be used with other instructions in your sketch. It is important to understand what instructions are available and what they are designed to accomplish.
We will be looking at each of these instructions that are available using productivity blocks. A sample sketch will be shown that will use some of these operators. The sketch will get a number between 1 and 100 from the built-in Arduino IDE (integrated development environment) serial monitor. It will print the number on the monitor if it is between 1 and 100, else it will print try again. Let’s get started! Continue Reading!
The cmore EA9 HMI has an event manager that can be used to trigger actions based on various events.
We will be adding a Click PLC to our headless RHMI cmore EA9 program that we created last time to communicate to the solo process temperature controller. The Solo will be connected via RS485 using the Modbus RTU protocol. Using the Modbus TCP protocol we will connect the Click PLC to the Ethernet port. Using the event manager we will be writing the set value (SV) and present value (PV) of the solo process temperature controller to the Click PLC. We will also allow the Click PLC to write the SV into the solo. This is in addition to the writing of the set value via remote apps and the solo itself. Let’s get started. Continue Reading!