Download MiiNePort E2 User`s Manual

Transcript
MiiNePort E2
Introduction to SCM (Serial Command Mode) Command Set
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
PIN15
1
DIO1
PIN16
2
DIO2
PIN17
3
DIO3
PIN18
Reply parameters: 1 (high) or 0 (low) , note that this function is configuration only if specific DIO port is set to
initial output.
?RPS0
System requests DIO0’s initial state for this MiiNePort.
!RPS00
MiiNePort reports DIO0’s initial state as ‘low’.
Serial command mode trigger
Command code: CT
Command parameters: N/A
Reply parameters: serial command mode trigger index as shown in the following table.
0
Disabe
1
H/W control pin(DIO1)
2
Activated by characters
3
Activated by break signal
Note that this configuration is valid only if port 1’s operation mode is not set to MCSC.
?RCT
System requests serial command mode trigger
method for this MiiNePort.
!RCT01
MiiNePort reports serial command mode is triggered
by DIO1.
Serial command mode trigger characters
Command code: CC
Command parameters: N/A
Reply parameters: serial command mode trigger characters, in hex, separated by a semicolon (;).
Note that this configuration is valid only if serial command mode trigger method is set to `Activated by
characters’.
?RCC
System requests serial command mode trigger
characters for this MiiNePort.
!RCC058;58;58
MiiNePort reports serial command mode triggered by
`XXX’ (0x585858).
A-50