Device Control (Device Control) - Moxa Technologies CN2510-8 User Manual

Cn2510 series async server
Hide thumbs Also See for CN2510-8:
Table of Contents

Advertisement

CN2510

Device Control (Device Control)

The CN2510 Device Control application allows you to choose between two different operation modes: ASPP and
RAW.
ASPP Mode—For applications that require setting up communication parameters or controlling modem signals
(DTR, RTS, Break, etc.), take advantage of Moxa's ASPP lib to simplify your programming tasks. ASPP takes
care of the more basic protocol-level programming tasks, and allows you to concentrate your energy on higher
level, application-specific tasks.
RAW Mode—To control device data transmission directly, set CN2510 for TCP RAW mode. Device control
applications can use standard Linux/Unix Socket programming in Linux/Unix environments, or WinSock
programming in Windows environments. Standard socket programming allows you to focus on pure data
transmission, without needing to write code for controlling serial ports or modem signals. ASPP can also be
used to communicate with CN2510.
Linux/Unix socket programming and Windows WinSock programming both use IP as the communication agent
between hosts and devices. RAW mode is a good solution for handling pure serial data communications
applications that do not require setting up communication parameters (baud rate, parity, etc.).
Refer to Chapter 5 for detailed information and configuration instructions.
3-4
Knowing Your Application

Advertisement

Table of Contents
loading

This manual is also suitable for:

Cn2510-16-48Cn2510-8-48Cn2510-16

Table of Contents