CN2510
Setting Up Device Control
5-4
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 CN2510’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 baud rate, 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
.
CN2510-8
CN2510-8_5631 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
.
CN2510-8
CN2510-8_5631 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 ]+----------+rver Proprietary Protocol]
05 [NT Real COM
] [ASPP ]|
ASPP
|rver Proprietary Protocol]
06 [Device Control ] [ASPP ]| RAW |rver Proprietary Protocol]
07 [NT Real COM
] [ASPP ]+----------+rver Proprietary Protocol]
08 [NT Real COM
] [ASPP ] [Async Server Proprietary Protocol]
Содержание CN2510-16
Страница 17: ...CN2510 Getting Started 2 9 5 Click on Next to continue 6 Wait while the PComm Lite software is installed...
Страница 219: ...CN2510 RADIUS Server B 9 5 Select TCP IP protocol and then click on Next to continue 6 Specify an IP address...
Страница 220: ...CN2510 RADIUS Server B 10 7 Select Yes I want to use a RADIUS server and then click on Next to start using this function...