MiiNePort E2/E3 Introduction to SCM (Serial Command Mode) Command Set
Flow control
Command code: SL
Command parameters: Port index.
Reply parameters: MiiNePort’s Flow control index as follows.
0 None
1 RTS/CTS
2 XON/XOFF
3 DTR/DSR
?GSL1
System requests port 1’s Flow control for this MiiNePort.
!GSL01
MiiNePort reports Flow control as ‘RTS/CTS’.
FIFO
Command code: SF
Command parameters: Port index.
Reply parameters: 1 (Enable) or 0 (Disable) MiiNePort’s FIFO.
?GSF1
System requests port 1’s FIFO for this MiiNePort.
!GSF01
MiiNePort reports FIFO as ‘Enable’.
Interface
Command code: SI
Command parameters: Port index.
Reply parameters: 0 (RS232) or 1 (RS485-2wire) MiiNePort’s Interface.
?GSI1
System requests for port 1’s interface for this MiiNePort.
!GSI01
MiiNePort reports interface is ‘RS485-2wire’.
Operation Mode
Command code: OM
Command parameters: Two numbers separated by a semicolon (;) denote port index and MCSC channel index.
For the port itself, channel index is 0.
Reply parameters: MiiNePort’s operation mode index as shown in the following table.
0 Disable
1 Real COM
2 RFC2217
3 TCP server
4 TCP client
5 UDP
6 e-modem
7 MCSC (This value is unavailable for MCSC channels.)
?GOM1;0
System requests for port 1’s Operation Mode for this MiiNePort.
!GOM04
MiiNePort reports Operation Mode is ‘TCP client’.
?GOM1;2
When port 1 is set to MCSC, system requests for the operation mode for
channel 2 of port 1.
!GOM02
MiiNePort reports operation mode is ` RFC2217’.