MiiNePort E2/E3 Introduction to SCM (Serial Command Mode) Command Set
E-modem alive check time
Command code: EA
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: TCP alive check time
?GEA1;0
System requests for TCP alive check time for port 1.
!GEA05
MiiNePort reports TCP alive check time is ‘5’ minutes.
E-modem local listen port
Command code: EP
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: local listen port
?GEP1;0
System requests UDP local listen port for port 1.
!GEP04001
MiiNePort reports UDP local listen port is ‘4001’.
DIO initial mode
Command code: PM
Command parameters: DIO port index. For the MiiNePort E2, the index is as follows:
Index DIO port MiiNePort E2 PIN number
0 DIO0 JP3 - PIN1
1 DIO1 JP3 - PIN4
2 DIO2 JP3 - PIN2
3 DIO3 JP3 - PIN3
Reply parameters: 1 (output) or 0 (input); note that for the MiiNePort E2, this configuration is available if a
specific PIN function is set to DIO.
?GPM1
System requests DIO1’s initial mode for this MiiNePort.
!GPM01
MiiNePort reports DIO1’s initial mode as ‘output’.
DIO initial state
Command code: PS
Command parameters: DIO port index. For the MiiNePort E2, the index is as follows:
Index DIO port MiiNePort E2 PIN number
0 DIO0 JP3 - PIN1
1 DIO1 JP3 - PIN4
2 DIO2 JP3 – PIN2
3 DIO3 JP3 - PIN3
Reply parameters: 1 (high) or 0 (low), note that this function is configuration only if specific DIO port is set to
initial output.
?GPS0
System requests DIO0’s initial state for this MiiNePort.
!GPS00
MiiNePort reports DIO0’s initial state is ‘low’.