Moxa Technologies MiiNePort E2-H User Manual page 119

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

Advertisement

MiiNePort E2/E3
DIO initial mode
Command code: PM
Command parameters: DIO port index and initial mode (0 for input and 1 for output), separated by semicolon
(;). For MiiNePort E2, the index is as following:
Index
DIO port
0
DIO 0
1
DIO 1
2
DIO 2
3
DIO 3
Note that this configuration is valid only if the related PIN function is set to DIO.
Reply parameters: N/A
?SPM0;1↲
!SPM0↲
DIO initial state
Command code: PS
Command parameters: DIO port index and initial output state (0 for low and 1 for high).
Note that this configuration is valid only if DIO initial mode is set to output.
Reply parameters: N/A
?SPS0;1
!SPS0
Serial command mode trigger
Command code: CT
Command parameters: serial command mode trigger index as shown in the following table
Note that this configuration is valid only if port 1's operation mode is not set to MCSC.
Reply parameters: N/A
0
Disable
1
H/W control pin(DIO1)
2
Activated by characters
3
Activated by break signal
?SCT2
!SCT0
Serial command mode trigger characters
Command code: CC
Command 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'.
Reply parameters: N/A
?SCC45;66;67
!SCC0
Introduction to SCM (Serial Command Mode) Command Set
MiiNePort E2 PIN number
PIN 15
PIN 16
PIN 17
PIN 18
System sets dio0 mode as 'output' for this MiiNePort.
MiiNePort reports command executed successfully.
System sets dio0 state as 'high' for this MiiNePort.
MiiNePort reports command executed successfully.
System sets serial command mode as 'Activate by characters'.
MiiNePort reports command executed successfully.
System sets serial command mode trigger characters as `ABC'
(0x656667).
MiiNePort reports command executed successfully.
A-27

Advertisement

Table of Contents
loading

Table of Contents