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. Open Arduino IDE, go to “Sketch –> Include library –> Add .ZIP library”. Search .ZIP file and click Open.   How to use it? By default, this Modbus library communication protocol is placed on port 502 (Modbus standard)….

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 19R/38R/57R PLUS VERSION MAPPING

M-DUINO 19R/38R/57R PLUS VERSION MAPPING

On this post it is showed the M-Duino mapping pin of the PLUS version. On the future, using our boards it won’t be necessary to know the mapping. But until the boards are not updated it is necessary to know it for programming the M-Duino PLUS version.  M-Duino PLUS 19R/38R/57R Communication Area: Base (common unit) A Zone M-DUINO Connector Arduino Pin Function SCL 21 I2C/SS SDA 20 I2C/SS RX0 1 RX0/SS TX0 0 TX0/SS RX1 19 RX1/SS TX1 18 TX1/SS RX…

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 libraries TimeLib and DS1307RTC are already installed. There is no need on download these libraries if you use our boards. If you don’t use it please use the following post to see how they are installed: How to use the mapping pins of Industrial Shields boards  

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