Introduction to RabbitMQ HTTP API

Author Introduction: There is not a single proficient operations engineer on the resume.Please click the blue “Operations Path” above to follow me, the mind map below is also the expected updated content and current progress (updated irregularly). Middleware, I define it as software that depends on certain business functions, including the following parts: Web Server … Read more

Controlling Motors via EtherCAT Master with C#

In general, controllingEtherCAT slaves requires the use ofCodesys master stations/PLC or boards, etc. This article introduces a case of usingC# upper computer software to directly control motors with a regular computer. Environment Requirements:vs2022 .Net8 WinPcap_4_1_3.exe Win11 The motor brand used in this example is Leadshine, configured with2 slaves. Slave1 has a driver modelDM3J-EC522, motor model42CM06-SZ; … Read more

Special Register Functions Used in MODBUS TCP Communication

Special register functions used in MODBUS/TCP communication.Used to store the latest error codes SD10130-SD10137 for the built-in Ethernet.Indicator light status displays communication status:When MODBUS communication is functioning normally, both LED indicators will light up. If the LEDs are not lit, check the wiring or the settings and error status of the master and slave stations. … Read more

The Modbus Savior for Embedded Developers: Full-Function Industrial Communication in 2000 Lines of Code

Follow+Star Public Account Number, don’t miss out on exciting content Source | Uncle Wheat Modbus is considered a classic communication protocol in the embedded field; however, efficiently implementing the Modbus protocol in resource-constrained embedded systems is often a significant challenge. This article introduces a lightweight C language library designed specifically for embedded systems—nanoModbus—to help developers … Read more

Detailed Explanation of MODBUS TCP Communication Commands

Detailed Explanation of MODBUS TCP Communication Commands Continuing from the previous article on the built-in MODBUS TCP command usage, the previous text only briefly mentioned the formats of three commands. Below is a detailed introduction. SP.SOCOPEN – Confirm Link In the list of built-in communication commands, you can see this command and its function description, … Read more

How to Pass Signals While Debugging with GDB

As the title suggests, let’s get started. First, prepare the program as follows: #include <iostream> #include <csignal> #include <atomic> std::atomic<int> running(1); void signalHandler(int signal) { std::cout << "Received signal " << signal << std::endl; running = 0; } int main() { signal(SIGTERM, signalHandler); while(running.load()) { } std::cout << "End" << std::endl; return 0; } After … Read more

Standard Management of GDB Libraries (Sharing Some GDB Management and Processing Tools)

In the production and collection activities of natural resource geographic information data, ArcGIS and ArcGIS Pro are possibly the most widely used GIS software. Correspondingly, Geodatabase databases (File GDB, Personal GDB) are also the most widely used formats for data production and aggregation. In the geographic information data collection and mapping production activities based on … Read more

Hiding Private Data in Embedded C Language

[Image] Hello everyone, I am the Information Guy! In Linux driver development, have you encountered the following problem: how to save private data for different device instances? For example, a USB camera needs to store resolution parameters, and a GPIO device needs to record interrupt handler functions. Directly modifying the kernel’s struct device structure? This … Read more

Embedded Development: Is It Necessary to Learn C Before Learning C++?

It is well known that in the field of embedded development, C has long dominated. Although with the development of the times, C++ and assembly language have gradually become more popular, C remains the cornerstone for understanding key concepts such as low-level hardware, memory management, and pointer operations. So, is it necessary to learn C … Read more