Browsed by
Category: Communication Ports

Examples of how to use communication ports

PLC- HummTouch RS485/RS232

PLC- HummTouch RS485/RS232

In this post we are going to learn how to send data between Industrial Shields PLCs and HummTouch PanelPc. In order to apply or implement the functionalities and examples described, the PanelPC   HummTouch Linxu/Android is assumed to include the suitable preloaded image. All PanelPC acquired as of 21-08-2015 will include the required image. For those PanelPC  acquired before 21-08-2015 the procedure to install the new compatible image will be provided via email. HummTouch The following chart shows the D37 connector  pinout…

Read More Read More

PLC- Touchberry PI RS485/RS232

PLC- Touchberry PI RS485/RS232

In this post we are going to learn how to send data between Industrial Shields PLCs and TouchBerry PI PanelPc. In order to apply or implement the functionalities and examples described, the TouchBerry PI is assumed to include the suitable preloaded image. All PanelPC acquired as of 21-08-2015 will include the required image. For those PanelPC  acquired before 21-08-2015 the procedure to install the new compatible image will be provided via email. Touchberry  PI Touchberry PI supports TTL (5V-0V) serial communication through the D37…

Read More Read More

RS485 and RS232 implementation

RS485 and RS232 implementation

In this post we are going to implement  RS485 ans RS232 communication protocols to the Industrial Shields PLC Ardbox and/or MDuino families. IMPORTANT!!:  RS232 is already available for Ardbox family and for MDuino family. Included Arduino libraries for this post SoftwareSerial.h The example presents the code for a Master device and for a Slave device to communicate through RS485 and RS232 protocols.

RS485 Communication

RS485 Communication

Arduino based PLC through RS485 port can connect with other devices which also use RS485 communication port PLC available to use RS485: 20 I/Os PLC: Ardbox Analog Ardbox Relay Ethernet PLC: M-duino 21 M-duino 42 M-duino 58 M-duino 19R M-duino 38R M-duino 57R