Arduino OPTA PLC – Structured Text (ST)

Arduino OPTA PLC - Structured Text (ST)

Structured text (ST) programming is a programming language that is part of the IEC standard and is used in the Arduino Opta PLC. This programming language allows you to write code in a structured and organized manner, making it easier to understand and maintain. With structured text programming, you can create complex and sophisticated programs … Read more

XY-MD02 Temp Humidity Serial UART Communication

XY-MD02 Temp Humidity Serial UART Communication

To get started with the XY-MD02 temperature and humidity sensor, we will be using the program PuTTY for serial communication. We will use RS485 serial communication to establish a connection and show how to read the values and parameters of the XY-MD02 sensor effectively. Additionally, we will explore the automatic polling feature, which allows for … Read more

XY-MD02 Sensor Setting – Modbus RTU Network

XY-MD02 Sensor Setting - Modbus RTU Network

The XY-MD02 temperature and humidity sensor uses Modbus RTU for communication. Modbus RTU (serial) works as a master (client) to slave (server) communication protocol. To add this sensor to an existing network as another unit number, you must set it up first. We will be using the Simply Modbus Master software in demo mode to … Read more

Integrating XY-MD02 Sensor Modbus RTU Click PLC

Integrating an XY-MD02 Sensor with Modbus RTU into Click PLC

Using Modbus RTU (RS485), we will connect the XY-MD02 Temperature and Humidity Sensor to the Click PLC. The Click will be the Client (Master), and the Sensor will be the Server (Slave). This is an ideal sensor to place in a panel to ensure that the panel is within a working temperature and humidity range. … Read more

Building a PLC Program that you can be Proud of

Building a PLC Program that you can be Proud of

Building a PLC program series will take you through developing and programming PLC logic. This six-part series was released almost seven years ago but is still relevant today. Each part will add and build upon the previous step. This series will look at different ways to solve the same machine logic. Using discrete inputs and … Read more

Productivity PLC Node-RED MQTT – P1000 / P2000

Productivity PLC Node-RED MQTT - P1000 / P2000

We will use an MQTT broker in Node-RED to communicate to the productivity PLC clients. MQTT stands for Message Queuing Telemetry Transport. This simple ‘publish and subscribe’ communication protocol does not take too many resources. Constrained devices with low bandwidth are ideal for MQTT. This protocol provides machine-to-machine (M2M) connectivity, perfect for the Internet of … Read more