How to measure time on an Arduino PLC with millis() Dec 10, 2018 Arduino Industrial millis() returns the number of milliseconds since the Arduino PLC started running the current program, as an unsigned long . Compare two readings to measure time or to run actions at regular intervals... 20IOs arduino ArduinoIDE EthernetPLC Read more
How to calculate the value raised to a power with Arduino IDE Dec 10, 2018 Arduino Industrial Introduction In this post, it will be seen how to calculate the value raised to a power. Basically, this function takes a number(base) and it raises to another number(exponent). The function for calcu... 20IOs arduino ArduinoIDE EthernetPLC Read more
Function to calculate a square root of a number using Arduino IDE Dec 10, 2018 Arduino Industrial Introduction The function to calculate a square root of a number is sqrt(). Requirements Ethernet or 20 I/Os PLC: Ethernet PLC >>> 20 I/Os PLC >>> Industrial Shields boards: Industrial Shields Boards ... 20IOs arduino ArduinoIDE EthernetPLC Read more
How to use RS-232 on Industrial Arduino based PLC Dec 10, 2018 Arduino Industrial Introduction In this post, it is shown how to use RS232 on an Arduino based PLC of Industrial Shields. This post has been implemented for the M-Duino PLUS version and the Ardbox Relay/Analog HF (HW 23... 20IOs ArduinoIDE Communication EthernetPLC RS232 Read more
TCP client on a TouchBerry Pi or Raspberry PLC, part 1: static IP address Dec 10, 2018 Raspberry Pi for Industry Before you write a TCP client, give the device a fixed IP address, so that the server and the client always find each other. On Raspberry Pi OS Bookworm and Trixie, you do it with nmcli and check it w... Ethernet Linux PanelPC TB3 TCPclient TCP/IP Read more
How to upload a sketch to an Arduino PLC using the Command Line Dec 10, 2018 Arduino Industrial To upload a sketch to an Arduino PLC (M-Duino or Ardbox) from the Windows command line, you have two options. Arduino CLI compiles the .ino and uploads it in one command: arduino-cli compile --upload ... ArduinoPLC Uploading Windows Read more
How to upload a sketch to an M-Duino or Ardbox from the Linux command line Dec 10, 2018 Arduino Industrial To upload a sketch to an M-Duino or Ardbox from the Linux shell, use Arduino CLI to compile and upload the .ino in one command, arduino-cli compile --upload -p /dev/ttyACM0 --fqbn industrialshields:av... ArduinoPLC Linux Uploading Read more
Ethernet configuration from the EEPROM using the Command Line Dec 10, 2018 Arduino Industrial Introduction In this post, it will be shown how to configure the Ethernet parameters saved in the EEPROM: MAC address and DHCP/IP address. Requirements Ethernet PLC: Ethernet PLC Command line library:... ArduinoPLC Commandline Communication EEPROM EthernetPLC Read more
Create your own framework: Node-Red. First steps Dec 10, 2018 Arduino Industrial Introduction This post, will be shown the first steps that must be taken into consideration in order to install and start working with Node-Red. Requirements Panel PC (with Linux): Panel PC Node-Red: ... framework Learning Linux Node-Red PanelPC Read more
TCP client on a TouchBerry Pi or Raspberry PLC, part 2: Node.js client Dec 10, 2018 Raspberry Pi for Industry To create a TCP client on a TouchBerry Pi or a Raspberry PLC, install a current LTS version of Node.js (from the NodeSource repository, the Debian package is too old) and use the net module that Node.... Ethernet IPaddress Linux PanelPC TCP/IP Read more
Ardbox PLC family: industrial control with Arduino Leonardo inside Dec 10, 2018 Arduino Industrial TEST: link test... ArduinoIDE DS18XX sensor temperature Read more
How to install and use Rapid SCADA on Touchberry Pi and BananaTouch Dec 10, 2018 Raspberry Pi for Industry Introduction In this post it is shown how to install Rapid SCADA on a Touchberry Pi 10.1″ , BananaTouch Octacore M3 10.1″, BananaTouch M64 10.1″ and TouchBerry Pi 7″ . These products use an official R... Read more