User`s manual

CN2610 User’s Manual Setting Up Device Control
5-4
5. ASPP mode is selected by default.
CN2610-8 CN2610-8_19 V2.0
------------------------------------------------------------------------------
[Mode] Line mOdem Welcome_MSG Quit
Examine/modify the operation mode of async ports
ESC: back to menu Enter: select
Port Application Mode Description/more setting
01 [NT Real COM ] [ASPP ] [Async Server Proprietary Protocol]
02 [NT Real COM ] [ASPP ] [Async Server Proprietary Protocol]
03 [NT Real COM ] [ASPP ] [Async Server Proprietary Protocol]
04 [NT Real COM ] [ASPP ] [Async Server Proprietary Protocol]
05 [NT Real COM ] [ASPP ] [Async Server Proprietary Protocol]
06 [Device Control ] [ASPP ] [Async Server Proprietary Protocol]
07 [NT Real COM ] [ASPP ] [Async Server Proprietary Protocol]
After configuring a port for the Device Control application, you will need to choose between
one of two operation modes: ASPP and RAW. ASPP mode, which was developed by Moxa,
provides an easy-to-use TCP/IP socket programming library and other useful functions.
Choosing RAW mode gives you more freedom to define your own applications for serial data
transmitted and received over the Ethernet. If you select RAW mode, you will need to use
standard TCP/IP socket programming techniques.
Configuring ASPP Mode
Moxa ASPP is a TCP/IP socket programming library. If you are using Moxa ASPP to create your
programs, configure CN2610’s serial ports for ASPP mode, and copy the ASPP library to the
server. ASPP programming functions and examples are introduced at the end of this chapter.
Each physical ASPP port is divided into two logical ports. One is called the command port, and
the other is called the data port. The command port is used to issue commands across the network
to set the transmission line’s configuration parameters, such as baudrate, data bits, flow control
condition, etc. The data port is used for normal data transmission tasks, such as retrieving data
from the serial device.
Follow these steps to configure ports for ASPP mode:
1. Move the cursor to the Mode column for the port and press Enter.
CN2610-8 CN2610-8_19 V2.0
------------------------------------------------------------------------------
[Mode] Line mOdem Welcome_MSG Quit
Examine/modify the operation mode of async ports
ESC: back to menu Enter: select
Port Application Mode Description/more setting
01 [NT Real COM ] [ASPP ] [Async Server Proprietary Protocol]
02 [NT Real COM ] [ASPP ] [Async Server Proprietary Protocol]
03 [NT Real COM ] [ASPP ] [Async Server Proprietary Protocol]
04 [NT Real COM ] [ASPP ] [Async Server Proprietary Protocol]
05 [NT Real COM ] [ASPP ] [Async Server Proprietary Protocol]
06 [Device Control ] [ASPP ] [Async Server Proprietary Protocol]
07 [NT Real COM ] [ASPP ] [Async Server Proprietary Protocol]
2. Use the arrow keys to highlight ASPP, and then press Enter.