UC-7110 Series User’s Manual

UC-7110 Device API

RTC (Real Time Clock)

The device node is located at /dev/rtc. UC-7110 supports µClinux standard simple RTC control. You must include <linux/rtc.h> to use these functions.

1. Function: RTC_RD_TIME

int ioctl(fd, RTC_RD_TIME, struct rtc_time *time); Description: Reads time information from RTC.

2. Function: RTC_SET_TIME

int ioctl(fd, RTC_SET_TIME, struct rtc_time *time); Description: Sets RTC time.

Buzzer

The device node is located at /dev/console. UC-7110 supports µClinux standard buzzer control. UC-7110’s buzzer runs at a fixed frequency of 100 Hz. You must include <sys/kd.h> to use these functions.

1. Function: KDMKTONE

ioctl(fd, KDMKTONE, unsigned int arg);

Description: Buzzer will beep, as stipulated by the function arguments.

UART Interface

The normal tty device node is located at /dev/ttyM0…ttyM1, and modem tty device node is located at /dev/cum0 … cum1. UC-7110 Series supports µClinux standard termios control. Moxa UART Device API supports the configuration of ttyM0 to ttyM1 as RS-232/422/485. To use these functions, after the Tool Chain package is installed, copy the file “CDROM/libuc7110/uc7110.h” to the directory “/usr/local/arm-elf/include/” on your PC Linux, and then include <uc7110.h> in your codes.

#define RS232_MODE

0

#define RS485_2WIRE_MODE

1

#define RS422_MODE

2

#define RS485_4WIRE_MODE

3

1. Function: MOXA_SET_OP_MODE

int mode;

mode=which mode you want to set;

int ioctl(fd, MOXA_SET_OP_MODE, &mode)

Description: Sets the interface mode.

2. Function: MOXA_GET_OP_MODE

int mode;

int ioctl(fd, MOXA_GET_OP_MODE, &mode)

Description: Gets the interface mode.

5-2

Page 48
Image 48
Moxa Technologies UC-7110 user manual RTC Real Time Clock, Buzzer, Uart Interface

UC-7110 specifications

The Moxa Technologies UC-7110 is a powerful and versatile computing platform designed for industrial applications and IoT (Internet of Things) deployments. It represents a compelling solution for edge computing needs, with an emphasis on reliability, flexibility, and ease of integration. The UC-7110 offers a compact form factor, making it suitable for space-constrained environments while delivering robust performance.

One of the UC-7110's main features is its Intel Atom E3825 processor, which provides a balance of power efficiency and computational capability, ensuring it can handle the demands of data processing tasks at the edge. With 1GB of DDR3 RAM and support for up to 32GB of onboard eMMC storage, the UC-7110 can efficiently manage applications that require quick access to data without the need for extensive external storage devices.

The UC-7110 also stands out for its extensive connectivity options. It is equipped with multiple serial ports, digital input/output (DIO), USB ports, and Ethernet interfaces, allowing seamless integration with a wide range of industrial devices and protocols. This connectivity is crucial for real-time data acquisition and control in various industrial settings. The device also supports optional wireless communication modules, including LTE, Wi-Fi, and Bluetooth, enhancing its suitability for remote and mobile applications.

In terms of software capabilities, the UC-7110 operates on a Linux-based operating system, providing users with the flexibility to develop custom applications tailored to their specific needs. Moxa also provides the MXIO library, which simplifies the programming of input/output operations, making it easier for developers to create robust and responsive applications.

The UC-7110 is designed to endure harsh industrial environments, featuring wide operating temperature ranges from -40°C to 70°C and IP30-rated protection against dust and moisture. This ruggedness ensures reliable performance in challenging conditions, which is critical for industries such as manufacturing, transportation, and energy.

Additionally, the device supports various industrial protocols like Modbus, MQTT, and OPC UA, facilitating integration into existing systems and enabling efficient data communication across different platforms. This compatibility is vital for leveraging existing infrastructure while adopting modern IoT solutions.

In summary, the Moxa UC-7110 is a robust, versatile edge computing solution ideal for industrial IoT applications. Its combination of powerful processing, extensive connectivity options, software flexibility, and rugged design makes it a valuable asset for organizations seeking to enhance their operational efficiency and adapt to evolving technological demands. Whether in manufacturing, smart cities, or remote asset monitoring, the UC-7110 provides the necessary tools to unlock new possibilities in industrial connectivity and data management.