Table 25 E-GPIO TCP Monitor Commands
The
Command | Description |
|
|
SET GPIO MON [EN DIS] | Enables or disables the |
|
|
SHOW GPIO MON | Shows the current state of the GPIO monitor. |
|
|
SET GPIO ADDR <ip address> | Sets the IP address of the remote computer for |
| |
|
|
SET GPIO PORT | Sets the TCP port on the remote computer for E- |
| GPIO connection. |
|
|
SET GPIO POLL <period> | Sets |
| this controls how often the |
| attempts to make a connection to the remote |
| computer. When connected, this indicates how |
| often the |
| state to the remote computer. |
| <period> is the time interval in milliseconds. |
| Note that this interval will be rounded to the |
| system clock resolution (10msec). A value less |
| than a single clock period will result in the default |
| value of 5000 (5 seconds) being used. |
GPIO status message format | The periodic message sent by the |
| monitor is a simple text string in the following |
| format: |
| GPIO=00ab<LF> |
| Where ab are 2 hex digits representing the state |
| of the GPIO pins. Since there are only 8 GPIO |
| pins on the |
| 0. The message is sent every n milliseconds, |
| where n is the poll period set by the SET GPIO |
| POLL command. |
Page 58
Silex
Part Number
Advanced Configuration