On this post it is showed different software that can be used as a IoT solutions with the Industrial Shields equipment. Firmata: Firmata is a protocol to communicate between Microcontroller (as Arduino) from software on a Computer (as can be a Panel PC). This protocol can work as a firmware on any Microcontroller architecture, also as software on any computer software. On Industrial Shields case with firmata you can use the Panel PC or a Computer as a Client, and a…
Pulses module library is a library inside of Tools40 make it for Industrial Shields developers to use pulses or square wave forms (SQW) on the PWM Pins of Industrial Shields equipment’s. The startPulses(Pin, Frequency, Precision) function starts the train of pulses at the specified frequency and precision. The default frequency is 1kHz and the default precision is 3. pinMode(3, OUTPUT); startPulses(3, 2000, 3);
This is Industrial Shields library for our different PLC’s Tools40 library include SimpleComm library, Filter library and Timer library. With the SimpleComm library you can send data through any Arduino Stream: RS-485, RS-232, and Ethernet… It is enough flexible to support different kind of communication typologies: Ad-hoc, Master-Slave, Client-Server… Using an easy to use API. Filter library includes filtering software that allow you to smooth analog inputs. This is really useful when you have an analog signal that is unstable.
In this post we will see how to use the watchdog and what is the limit for our equipment. What is the watchdog? Watchdog is an electronic timer that allows to reset the system in case of computer malfunctions and recover from it.
This is Industrial Shields library for different PLC’s With the SimpleComm library you can send data through any Arduino Stream: RS-485, RS-232, Ethernet… It is enough flexible to support different kind of communication typologies: Ad-hoc, Master-Slave, Client-Server… Using an easy to use API. The SimpleCoom library is included on Tools40 library. Reference: SimplePacket encapsulates the data into a packet and provides these functions: setData(data) Fill up the packet with the desired data to send or the received data from a…
This is an example it is explain how to read a SD card into the PLC through Ethernet connection. In this post we will see how create a server that when there is a request through a browser, you can see the directories and the files of the SD card in your browser. The PLC has to be connected the Ethernet connection and the SD card correctly, check this post how to do it.
In this example we will see how to connect a SD card to each of our PLCs. Hardware required: One of our PLCs A SD card How to connect the SD card to our PLC? First we start with the connections; as follows you have a table and circuit diagram where you can see how to connect the SD card to the PLC.
To install a Bootloader on a ARDBOX/M-DUINO PLC it is necessary to have: Original ARDBOX/M-DUINO PLC (configurated as Bootloader burner). Steps to configurate an ARDBOX/M-DUINO PLC as Bootloader burner: Open The Arduino ISP Example on the Arduino IDE from: File >> Examples >> 11.ArduinoISP
In order to be able to program our equipment even more easily, it is possible to install to Arduino IDE. Once installed will not be necessary to know witch Arduino board that includes each equipment, neither to consult the mapping between the pins of Arduino board and INs and OUTs of the PLCs, not even will be necessary to use our libraries: now all this information will be included in the Arduino IDE. When you select one of our PLCs,…
To install a Bootloader on an Arduino Board it is necessary to have: Original Arduino board (configurated as Bootloader burner). Steps to configurate an Arduino Board as Bootloader burner: Open The Arduino ISP Example on the Arduino IDE from: File >> Examples >> 11.ArduinoISP