Category Archives: Outputs

Wiring outputs to the plc like relays and motors.

Arduino Uno Super Starter Kit Hardware


Arduino consists of a family of single programmable circuit boards and the IDE (Integrated Development Environment) that uses a streamlined version of C++ to write and upload code to the boards. Many pre-configured circuit boards, called “shields”, are available to expand the functionality of the Arduino controller. These shields can provide Ethernet, WiFi, GPS, LCD displays, and motor controls, among others, by simply “stacking” or connecting the shields to the Arduino controller board. This Lego-style building of electronic devices is becoming more popular.

The Arduino UNO is one of the best board to learn about electronics and coding. This robust board is the most used and documented board of the whole Arduino family.

We will be looking at the Elegoo Arduino UNO R3 Super Starter Kit. Opening up this great learning tool and discussing the Uno board itself.
Let’s get started. Continue Reading!

Productivity Open P1AM Industrial Arduino P1000 Expansion Digital Inputs and Outputs Part 2


In part 1 we adding additional discrete input and output modules (cards) to our P1AM-START1 ProductivityOpen starter kit with Ethernet. A program was then discussed that will print the modules in our system and then set and reset discrete digital inputs and outputs.
P1-16TR – Productivity1000 relay output module, 16-point, 6-24 VDC/6-120 VAC, (16) Form A (SPST) no-suppression, 2 isolated common(s), 8 point(s) per common, 2A/point, 8A/common.
P1-16CDR – Productivity1000 discrete combo module, Input: 8-point, 24 VAC/VDC, sinking/sourcing, Output: 8-point, 6-24 VDC/6-120 VAC, relay, (8) Form A (SPST) relays, 1A/point.
P1-08SIM – Productivity1000 simulator input module, 8-point.


We will now discuss additional instructions in our industrial Arduino controller that will be used with our P1000 expansion modules. (cards) Our sample sketch will include a simple start/stop circuit and a shifting circuit.
Let’s get started. Continue Reading!

Productivity Open P1AM Industrial Arduino P1000 Expansion Digital Inputs and Outputs Part 1


The productivity open P1AM I/O interface chip-set supports the full suite of Productivity 1000 I/O expansion modules. These modules are industry approved and proven in the industrial environment. Modern industrial signal levels for digital and analog inputs and outputs are used.

P1000 modules available to you include the following:
• Discrete
• Analog
• Temperature
• Relay
• High-speed Input
• PWM

We will be adding additional discrete input and output modules (cards) to our P1AM-START1 ProductivityOpen starter kit with Ethernet. A program will then be discussed that will print the modules in our system and then set and reset discrete digital inputs and outputs.
P1-16TR – Productivity1000 relay output module, 16-point, 6-24 VDC/6-120 VAC, (16) Form A (SPST) no-suppression, 2 isolated common(s), 8 point(s) per common, 2A/point, 8A/common.
P1-16CDR – Productivity1000 discrete combo module, Input: 8-point, 24 VAC/VDC, sinking/sourcing, Output: 8-point, 6-24 VDC/6-120 VAC, relay, (8) Form A (SPST) relays, 1A/point.
P1-08SIM – Productivity1000 simulator input module, 8-point.
Let’s get started. Continue Reading!

Productivity Open P1AM Industrial Arduino P1000 Expansion Analog Combination Module


The productivity open P1AM I/O interface chip-set supports the full suite of Productivity 1000 I/O expansion modules. These modules are industry approved and proven in the industrial environment. Modern industrial signal levels for digital and analog inputs and outputs are used.

P1000 modules available to you include the following:
• Discrete
• Analog
• Temperature
• Relay
• High-speed Input
• PWM

We will be wiring and programming our P1-4ADL2DAL-1 combination analog input and output module that came with the P1AM-START1 ProductivityOpen starter kit with Ethernet. Let’s get started. Continue Reading!

Productivity Open P1AM Industrial Arduino Math Instructions


Math instructions in your Arduino sketches (programs) consist of arithmetic operations, compound operators, absolute, power, square root, sin, cos, tan, random, map and constrain.

These instructions will be generally used with other instructions in your sketch.

We will be looking at each of these instructions that are available using productivity blocks. A sample program will be discussed that will involve some of these math instructions. Let’s get started. Continue Reading!

Productivity Open P1AM Industrial Arduino GPIO Inputs and Outputs


The P1AM-GPIO is an industrial rated shield for the P1AM-100 Arduino system. It provides a connection from most of the P1AM-100 GPIO pins to the front 18 position terminal block connector.

We will be looking at the wiring and programming of this input and output industrial rated shield that mounts on the left side of the P1AM-100 CPU arduino unit.

Analog points will be wired to a potentiometer and LED (light-emitting diode) for demonstration of the voltage range that we can input and output. Digital points will be wired for discrete input and output using a pushbutton switch and LED. PWM (pulse width modulation) will also be used to control the brightness of a LED connected to a digital output. Let’s get started. Continue Reading!

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!

Universal Signal Conditioner and Isolator

Signal conditioners are used with analog current and voltage signals. They have the ability to change your input analog signal to another output analog signal. As an example, we can have 4-20mA analog input and change it to a 0-10VDC output signal so we can wire this into our PLC. Typically signal conditioners will also electrically isolate the input and output signals. This is either done by magnetic or optical isolation. You would usually specify the input and output signals that are required in your circuit to choose the signal conditioner required. Using a universal signal conditioner will take a variety of signals and is a great product to use in troubleshooting analog circuits.

We will be using a universal signal conditioner to convert a thermocouple temperature input into a 0-10VDC linear output. This will be wired into the analog card of the Click PLC.
Let’s get started. Continue Reading!

Wiring Push Buttons and Selector Switch to Click PLC

A push button (pushbutton) is a simple human interface for controlling some aspect of a machine or process. The push button requires a force to push the button to change the electrical operation from off to on or vice versa. The condition of the output is usually momentarily. Some common everyday pushbuttons we use are keyboards keys.

A selector switch is also a mechanical device that will require a force to turn the electrical operation from off to on or vice versa. The selector switch usually locks into a position.

We will be wiring two illuminated pushbutton switches into our Click PLC. A selector switch will also be wired in. Let’s get started. Continue Reading!

Wiring Stack Light to Click PLC

Stack lights are usually modular stackable components that provide a visually illuminated and audible indication for machines, systems, and processes. They are usually located on top of equipment to provide this notification to personnel in the area.

Stack lights are also known as signal tower lights, indicator lights, warning lights, industrial signal lights, tower lights, and light towers.
We will be connecting a Patlite NPS-402-RYGB Super Slim stack light to our Click PLC.

These stack lights come in preassembled units in the most popular combinations of colours with ABS resin main bodies that offer superior impact and heat resistance; double-insulated construction enhances durability and safety. Interchangeable light modules require no rewiring. Let’s get started. Continue Reading!