EasyManua.ls Logo

Moxa Technologies MiiNePort E2-H - Page 114

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-22
Data Packing Length
Command code: OL
Command parameters: Port index, MCSC channel index, and data packing length to set. Parameters are
separated by a semicolon (;). For an MCSC-disabled port, the channel index is 0.
Reply parameters: N/A
?SOL1;0;256
System sets port 1’s data packing length as ‘256’.
!SOL0
MiiNePort reports command executed successfully.
Delimiter
Command code: OD
Command parameters: Port index, MCSC channel index, delimiter1 enable/disable, delimiter character 1 by
hex, delimiter 2 enable/disable, and delimiter character 2 by hex. Parameters are separated by a semicolon (;).
For an MCSC-disabled port, the channel index is 0.
Reply parameters: N/A
?SOD1;2;1;10;1;13
System sets channel 2 of port 1’s delimiter 1 as ‘Enable’ and hex code as
‘10’. Delimiter 2 as ‘Enable’ and hex code as ‘13’.
!SOD0
MiiNePort reports command executed successfully.
Delimiter Process
Command code: OT
Command parameters: N/A
Reply parameters: Port index, MCSC channel index, and delimiter process. Parameters are separated by a
semicolon (;). For an MCSC-disabled port, the channel index is 0.
?SOT1;0;2
System sets port 1’s delimiter process as ‘Delimiter+2’.
!SOT0
MiiNePort reports command executed successfully.
Force Transmit
Command code: OF
Command parameters: Port index, MCSC channel index, and force transmit timeout. Parameters are separated
by a semicolon (;). For an MCSC-disabled port, the channel index is 0.
Reply parameters: N/A
?SOF1;0;5
System sets port 1’s force transmit timeout as ‘5’.
!SOF0
MiiNePort reports command executed successfully.
Real COM TCP alive check time
Command code: RA
Command parameters: Port index, MCSC channel index, and TCP alive check time. Parameters are separated
by a semicolon (;). For an MCSC-disabled port, the channel index is 0.
Reply parameters: N/A.
?SRA1;0;5
System sets port 1’s TCP alive check time as ‘5’ for port 1.
!SRA0
MiiNePort reports command executed successfully.

Table of Contents