Skip to Content

#4 Inputs & Outputs. Simultaneous work

You have to know some very basic things:

You can practice with an Arduino board. In the different PLCs we use original Arduino boards, for this reason it is not necessary that you practice with our equipment.

Often, when inputs are read in a PLC, their status is stored in a variable. This variable can be used to send its status through some communication system (RS485, RS232, Ethernet, Serial TTL, etc.) or also to perform a series of functions such as filters, working by flanks, counters, etc. To activate an output, it is also common to use a series of variables that will be responsible for defining the state of the output in question.

Work for the student

In this chapter, we are going to make you work. Now, you should know how to read a digital input and an analog input. You should also know how to activate a digital output and an analog output. (Remember that the analog outputs are programmed the same as the PWM outputs, although some give you a signal by pulses and the other one gives you an analog signal 0-10Vdc depending on the value that according to the 8bits outputs oscillates between 0-255).

(Remember: For us, a PLC works like an Arduino board. Our PLCs use original Arduino boards, so you can try this course using original Arduino boards).

Useful Links

Material to do practices

Arduino Leonardo or Arduino Mega (You also can use an Arduino UNO if you get it).

(The devices used with the Arduino Mega and Arduino Leonardo assembled inside have been: From the Ethernet PLCs; the M-Duino 21. From the 20I/Os PLC; The Ardbox Relay).

Please, answer this survey. It will help us to improve the course.


Commenting is not enabled on this course.