Browsed by
Category: Ethernet PLC (M-Duino)

Ethernet PLC (M-Duino) blog information

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…

Read More Read More

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…

Read More Read More

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)….

Read More Read More

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…

Read More Read More

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…

Read More Read More

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…

Read More Read More

Ethernet test on M-Duinos PLUS version

Ethernet test on M-Duinos PLUS version

In this post it is showed how to test Ethernet communication on M-Duino PLUS version.  It’s necessary to install Arduino Ethernet2 library. See more infromation about Ethernet library functions on Arduino Reference. Connecting an M-Duino to a router through Ethernet and uploading the test sketch, the M-Duino is able to complete the test.   Next is showed the code: