Click PLC to Stride Field IO Modbus TCP

The Click PLC can use remote inputs and outputs from Stride. The Stride Field I/O Modules are simple and compact. They provide an economical means to connect inputs and outputs to an Ethernet Modbus TCP communication network. Every module operates as a standalone Modbus TCP server and can be configured via a built-in web server.

Previously we looked at the Stride Field Remote IO Modules Modbus TCP Ethernet wiring and configuration.
Stride Field Remote IO Modules Modbus TCP Ethernet|
– Unboxing SIO MB12CDR and SIO MB04ADS Video
Powering and Configuring Video
We will be connecting two Stride remote inputs and outputs to the Click PLC. Modbus TCP will be the protocol over Ethernet to communicate to the SIO-MB12CDR and SIO-MB04ADS units.
SIO-MB12CDR
– STRIDE discrete combo module, Input: 8-point, 12-24 VDC, sinking, Output: 4-point, relay, (4) Form C (SPDT) relays, 2A/point, (1) Ethernet (RJ45) port(s), Modbus TCP server.
SIO-MB04ADS
– STRIDE analog input module, 4-channel, current/voltage, 16-bit, isolated, input current signal range(s) of +/- 20 mA, input voltage signal range(s) of +/- 10 VDC, (1) Ethernet (RJ45) port(s), Modbus TCP server.
We will be reading an analog voltage into the Click PLC from the remote IO unit. We will then set an output to pulse on and off at a time range indicated by this analog signal. The output will be on the other remote IO unit and will trigger the input to signal. We will look at the Frequency, Count, and Status of this input. Our Click PLC program will also take into consideration watchdog (communication time out) and power-up events for the Stride remote input and output units.
Let’s get started. Keep on Reading!

Productivity Open P1AM Industrial Arduino First Program




The P1AM-100 industrial controller is programmed with the Arduino IDE (Integrated Development Environment). We installed the Arduino IDE, P1AM-100 library and ProductivityBlocks. Using this software we will be setting it up to program our P1AM Arduino industrial controller.

The Boards Manager will be used to set up our P1AM-100 Arduino board. We will then ensure that our device driver has been installed so we can communicate to the Productivity Open Controller. Using ProductivityBlocks, we will call up one of the sample programs, verify and upload the program to the P1AM-100. This program will blink the CPU LED light on and off. Let’s get started. Continue Reading!

Stride Field Remote IO Modules Modbus TCP Ethernet




The Stride Field I/O Modules are simple and compact. They provide an economical means to connect inputs and outputs to an Ethernet Modbus TCP communication network. Every module operates as a standalone Modbus TCP server and can be configured via a built-in web server.

We will be looking at the following two Stride Remote IO Modules:
SIO-MB12CDR

– STRIDE discrete combo module, Input: 8-point, 12-24 VDC, sinking, Output: 4-point, relay, (4) Form C (SPDT) relays, 2A/point, (1) Ethernet (RJ45) port(s), Modbus TCP server.
SIO-MB04ADS

– STRIDE analog input module, 4-channel, current/voltage, 16-bit, isolated, input current signal range(s) of +/- 20 mA, input voltage signal range(s) of +/- 10 VDC, (1) Ethernet (RJ45) port(s), Modbus TCP server, external 20-30 VDC required.
We will be unboxing both of these units. Powering and then setting them up (configuring) via the webserver. Let’s get started. Continue Reading!

Productivity Open Arduino Compatible Industrial Controller Installing the Software




The P1AM-100 industrial controller is programmed with the Arduino IDE (Integrated Development Environment). The C++ programming environment is emerging in industrial automation. This software is open-sourced and available free of charge. It will run on Windows, Mac or Linux.

ProductivityBlocks is a graphical programming interface and add-on to the Arduino IDE. It helps you build your sketch program by dragging and dropping interlocking blocks. The associated C++ is automatically generated for you. This will help you to avoid syntax errors.

We will be installing the Arduino IDE, P1AM-100 library and Productivity Blocks. This will be done on a Windows 7 machine. Let’s get started. Continue Reading!

C-More EA9 HMI Series Headless RHMI to Solo and Click PLC Controllers




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!

Productivity Open Arduino Compatible Industrial Controller Hardware




Productivity Open is an industrial rated Arduino compatible platform controller. This rugged open-sourced CPU mimics the MKRZero Arduino. You can add standard MKRZero shields (Add-on Boards), along with the Productivity 1000 PLC I/O.

The Productivity Open Arduino Compatible Industrial Controller is CE and UL certified. Approved industrial standards ensure that your panels operate equipment and systems in a wide range of industrial environments and enable the safe functioning of equipment.
Industrial electrical noise isolation has been incorporated in the design of the Productivity Open. Voltages up to 240VAC can now be used with up to 3A output ratings on your maker project.

We will be unboxing and powering up our Productivity Open Starter Kit complete with an Ethernet and general-purpose IO Shield. Our kit also comes with a Productivity 1000 Analog input/output module. Let’s get started. Continue Reading!

C-More EA9 HMI Series Headless RHMI to Solo Process Temperature Controller




The cmore EA9 HMI can connect to the Solo process temperature controller using the built-in RS485 serial communication port. This will connect up to 32 solo units back to the HMI for display and control.

We will be setting up our headless RHMI cmore EA9 to communicate to the Solo process temperature controller. Using the information that we have discussed previously, we will set up data logging, file transfer protocol (FTP), bitmaps, etc.

We will also set up an object library of the Solo 4896. This will consist of a bitmap, numeric display, numeric edit, indication lights and up and down increment. The system will then be controlled using the remote applications discussed last time. Let’s get started. Continue Reading!

Click PLC Logging Data with Time and Date Stamp




The Click PLC can perform indirect addressing. This means that I can ask for information to be moved to and from locations in the PLC using a pointer that will indicate the address.

Stephen Covey in The 7 Habits of Highly Effective People said: “Begin With the End in Mind.” This is especially true when looking at storing or logging data within the programmable logic controller. (PLC) It is important to fully define what you want to accomplish with your program.

In our Click PLC example, we want to take a series of consecutive memory locations (DS1 to DS10) and store them in memory areas DS100 to DS4100 each minute. We will be able to store 400 entries (400 minutes) in our storage area. Every entry will include the real-time clock (RTC) of the Click. This will show the date and time of each entry. Let’s get started! Keep on Reading!

C-More EA9 HMI Series Headless RHMI Remote Control




Remote access will allow for viewing or controlling the C-More EA9 HMI series. We can use any windows based machine or use the C-More remote HMI App from Apple iTunes store, Google Play or Amazon App Store for mobile devices. This software is available free of charge.

Setting up the EA9 series for remote access and control is done through the C-More programming software to the HMI. We will be downloading the Windows application from the c-more panel. This is done through the web browser of your computer. We will also look at the c-more remote HMI app from Google play. Let’s get started. Continue Reading!

Wiring 3 Wire DC NPN and PNP Sensors




I recently received a question on PNP and NPN sensors. They wanted an explanation of what a sink is and how to wire one. Confusion over the Normally Open and Normally Closed function of the sensor is also a common question. Several diagrams will show a resistor attached to the blue wire and a load across the others, what does it all mean?

It is quite confusing sometimes the language we use for these devices. Sometimes it is the way we talk about the sensor and sometimes about the device we are connecting. (PLC)
We will break it down and go over the wiring to a PLC input. Let’s get started. Continue Reading!

Practical Tips and Techniques