Navegando por
Categoría: Ethernet PLC (M-Duino)

Mduino blog information

Ethernet Configuration from EEPROM using the Commandline

Ethernet Configuration from EEPROM using the Commandline

Requirements CmdLine library https://github.com/IndustrialShields/arduino-CmdLine   Description Configure the Ethernet parameters saved in the EEPROM: MAC address and DHCP/IP address. It is used the EEPROM library to store configuration parameters. The ‘cont_t’ structure defines the parameters that will be saved into the EEPROM: type and name. In this case the parameters are used to save the Ethernet configuration, so it is used also the Ethernet library (Ethernet/Ethernet2). *Ethernet for v7 and Ethernet2 for PLUS version. It is possible to add more…

Leer más Leer más

2ND STEP TO CREATE A TCP CLIENT ON A TOUCHBERRY PI 3. CREATING A TCP CLIENT USING NODE.JS

2ND STEP TO CREATE A TCP CLIENT ON A TOUCHBERRY PI 3. CREATING A TCP CLIENT USING NODE.JS

On this post it showed how to implement a TCP server on Touchberry Pi 3 The requirements of this post is just a Touchberry Pi with internet connection. To get the Node.js JavaScript interpreter we need to install the command cURL on our Linux. cURL command is  very useful for HTTP/S requests. To get the cURL we just need to type on the Linux Terminal: sudo apt-get install curl   Once there is the cURL installed we can download the node source typing…

Leer más Leer más

Echo TCP server on Arduino based PLC

Echo TCP server on Arduino based PLC

On this post is showed how to create a server TCP on an Arduino based PLC. The requirements of this post is just an M-Duino PLC with Ethernet connection and an available TCP client in order to test it.  Take a look an example of how to implement a TCP client with Arduino based PLC. Once the server is running, any client can connect to the server. On this example it is used an M-Duino to generate the server. The example…

Leer más Leer más

Modbus TCP/IP library for Arduino based PLC’s

Modbus TCP/IP library for Arduino based PLC’s

On this post it’s showed one of the best Modbus TCP/IP libraries. This library has been tasted on Industrial Shields labs and it fits communicating with other Modbus TCP/IP industrial devices.   How to install? Download the zip file on Modbus TCP/IP libraries. Extract the .ZIP file. Copy and paste the mudbus.h and mudbus.cpp in the directory of the sketch that calls the mudbus library. If using the “Ethernet2” library the mudbus.h needs to be modified. Inside the mudbus.h file there…

Leer más Leer más

Industrial shields Mockup contest on IoT solutions world congress Barcelona

Industrial shields Mockup contest on IoT solutions world congress Barcelona

On this post is showed our mockup on the IOT world congress in Barcelona. This mockup consists on contest game to get a free PLC. The application count the maximum speed that the user can make turn the encoder. Then through Ethernet UDP client can send a char to the panel PC Touchberry Pi 3 10” and showed on the touch screen. Also users enter their name and e-mail to receive future information and participate with free PLC contest. For…

Leer más Leer más

M-DUINO 38AR I/OS PINOUT

M-DUINO 38AR I/OS PINOUT

M-DUINO 38AR I/OS PLC has different types of Inputs and Outputs. It has 19 input/output signals: 19 Inputs, of which: 10 can be used as Analog Input 0-10Vdc, 10bits,(using Pins A0, A1, A2, A3, A4, A5, A6, A7, A8, A9). All of them can also be used as Digital Inputs. 4 are Digital Input which can work as a Interrupt Input also. (using Pins 2, 3, 18, 19). 5 are Digital Input (using Pins 22, 23, 24, 25, 26). 19 Outputs, of which: 5 are Digital Output (Using Pins…

Leer más Leer más

RTC test on M-DUINO PLUS version

RTC test on M-DUINO PLUS version

In this post is showed how to test RTC (Real Time Clock) on M-Duino PLUS version.  With the latest version of our boards, the library that needs to be used is called <RTC.h>. If you are still not using them please use the following post to see how they are installed: How to use the mapping pins of Industrial Shields boards   // RTC library example // by Industrial Shields #include <RTC.h> const int YEAR = 2018; const int MONTH…

Leer más Leer más

RS-485 TEST ON M-DUINO PLUS

RS-485 TEST ON M-DUINO PLUS

In this post it is showed how to test the RS-485 on M-Duino PLUS version. The first thing that you need to know is that the  RS-485 PLUS version have full and half duplex communication. Controlling the dip switch you must select if you want to work on full or half duplex. There is internally installed a half duplex MAX485 and MAX485 transmitter. If you are working on full duplex you will use the MAX485 half duplex to receive data and MAX485…

Leer más Leer más