EasyManua.ls Logo

Moxa Technologies MiiNePort E2-H - Page 104

Moxa Technologies MiiNePort E2-H
149 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
MiiNePort E2/E3 Introduction to SCM (Serial Command Mode) Command Set
A-12
TCP server Allow Driver Control
Command code: TD
Command parameters: Two numbers separated by a semicolon (;) denotes port index and MCSC channel index.
For MCSC-disabled port, channel index shall be 0.
Reply parameters: 1 (Enable) or 0 (Disable)
?GTD1;0
System requests for allow driver control policy for port1.
!GTD01
MiiNePort reports allow driver control is ‘Enable’.
TCP Client Connection Control
Command code: TC
Command parameters: Two numbers separated by a semicolon (;) denotes port index and MCSC channel index.
For MCSC-disabled ports, the MCSC channel index is 0.
Reply parameters: TCP client connection control index as shown in the following table
0 Start up / None
1 Any character / None
2 Any character / Inactivity time
3 DSR On / DSR OFF
4 DSR On / None
5 DCD On / DCF OFF
6 DCD On / None
?GTC1;0
System requests TCP client connection control for port 1.
!GTC01
MiiNePort for TCP client connection control as ‘Any character / None’.
TCP destination address
Command code: TI
Command parameters: Three numbers separated by a semicolon (;) denote port index, MCSC channel index,
and destination address index. For an MCSC-disabled port, the channel index is 0. The destination address
index is as follows:
0 Destination address
1 Alternated address 1
2 Alternated address 2
3 Alternated address 3
Reply parameters: TCP destination address and port
?GTI1;0;0
System requests destination address for port 1.
!GTI0192.168.1.2:4001
MiiNePort reports destination address as 192.168.1.2and port as 4001’.
TCP max connection
Command code: TM
Command parameters: Two numbers separated by a semicolon (;) denote port index and MCSC channel index.
For an MCSC-disabled port, the channel index is 0.
Reply parameters: MiiNePort’s TCP maximum connection number.
?GTM1;1
System requests maximum connection number for port 1 and channel 1.
!GTM04
MiiNePort reports maximum connection number as ‘4’.

Table of Contents