Moxa Technologies MiiNePort E2-H User Manual page 126

Miineport e2/e3
Hide thumbs Also See for MiiNePort E2-H:
Table of Contents

Advertisement

MiiNePort E2/E3
Operation Mode
Command code: OM
Command parameters: numbers separated by a semicolon (;) denotes port index and MCSC channel index. For
port itself, channel index shall be 0.
Reply parameters: MiiNePort's operation mode index as following table.
0
Disable
1
Real COM
2
RFC2217
3
TCP Server
4
TCP Client
5
UDP
6
EMODEM
7
MCSC (This value is unavailable for MCSC channels.)
?ROM1;0↲
!ROM04↲
?ROM1;2↲
!ROM02↲
Data Packing Length
Command code: OL
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 data packing length as follows.
?ROL1;0
!ROL0256
Delimiter
Command code: OD
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 delimiter setting. (delimiter1 enable/disable;hex1;delimiter2
enable/disable;hex2)
?ROD1;0
!ROD01;10;1;13
Introduction to SCM (Serial Command Mode) Command Set
System requests for port 1's Operation Mode for this MiiNePort.
MiiNePort reports Flow control is 'TCP client'.
When port 1 is set to MCSC, system requests for operation mode for
channel 2 of port 1.
MiiNePort reports operation mode is ` RFC2217'.
System requests port 1's data packing length for this MiiNePort.
MiiNePort reports data packing length as '256'.
System requests port 1's delimiter setting for this MiiNePort.
MiiNePort reports delimiter 1 as 'Enable' and hex code as '10', delimiter 2 as
'Enable' and hex code as '13'
A-34

Advertisement

Table of Contents
loading

Table of Contents