EasyManua.ls Logo

Moxa Technologies MiiNePort E2-H - Command Code for Viewing the Status; Control Command Code

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-42
Command Code for Viewing the Status
Ethernet Speed and Duplex
Command code: NS
Command parameters: N/A
Reply parameters: The speed and duplex status of the Ethernet. Possible values are 0(Unlink), 10H(10Mbps
Half Duplex), 10F(10Mbps Full Duplex), 100H(100Mbps Half Duplex), 100F(100Mbps Full Duplex).
?VNS
System requests current Ethernet status.
!VNS0100F
MiiNePort reports the Ethernet is current in 100Mbps Full Duplex mode.
DIO mode
Command code: PM
Command parameters: DIO port index and IO mode (0 for input and 1 for output), separated by semicolon (;).
For MiiNePort E2, the index is as following:
Index
DIO port
MiiNePort E2 PIN number
0 DIO 0 JP3 - PIN1
1 DIO 1 JP3 - PIN4
2 DIO 2 JP3 PIN2
3 DIO 3 JP3 - PIN3
Note that this function works only if related PIN function is set to DIO.
Reply parameters: N/A
?VPM2
System requests for DIO running mode of DIO port 2.
!VPM01
MiiNePort reports DIO port is in output.
DIO state
Command code: PS
Command parameters: DIO port index and output state (0 for low and 1 for high).
Note that this function works only if DIO mode is set to output.
Reply parameters: N/A
?VPS2
System requests for DIO state of DIO port 2.
!VPS01
MiiNePort reports DIO port is in high state.
Control Command Code
PING
Command code: NP
Command parameters: Target host name or IP address.
Reply parameters: A single minus symbol indicates the target host did not reply in 1000 milliseconds.
Otherwise, one decimal number indicating the reply latency in milliseconds is returned.
?CNPwww.moxa.com
System requests to PING www.moxa.com.
!CNP010
Target host replies in 10 milliseconds.
?CNP192.168.1.1
System requests to PING 192.168.1.1.
!CNP0-
Target host did not reply in 1000 milliseconds.

Table of Contents