GPIO set message format
This message may be optionally sent by the
remote computer when an E-GPIO connection is
active. This message allows the remote
computer to set the state for any GPIO pins
configured as ouptus. This is equivalent to the
SET GPIO DATA command.
The message is in the 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 SX-550, the first two digits should
always be 0. Any other message sent to the E-
GPIO connection is ignored. If the message is
formatted incorrectly, it is ignored.
Example:
Local> set gpio mon en
Local> set gpio addr 192.168.1.100
Local> set gpio port 9999
Local> set gpio poll 100
Local> sh gpio mon
E-GPIO mode Enabled
E-Cable destination 192.168.1.100
Poll interval 100 milliseconds
Not connected
Table 27 GPIO SNMP Management
The GPIO pins can also be manged via SNMP. The available MIB items are described in this
section. The GPIO related MIB items are in the Silex private MIB, and the GPIO tree is at
gpio=enterprises.1240.2.3.4.9.
GPIO bit mask
Integer
read-only
gpio.1
This is an integer representing a bit mask indicating what GPIO pins are available. There is a 1 for
each GPIO pin that is present. For the SX-550, this value is 255 (xFF), indicating 8 GPIO pins.
Part Number 40183-101
Silex SX-550 Developer's Guide
Page 66
Summary of Contents for SX-550
Page 1: ...SX 550 Embedded Intelligent Module Developer s Reference Guide Revision L...
Page 3: ......
Page 10: ...Part Number 40183 101 Silex SX 550 Developer s Guide Page 2...
Page 26: ...Part Number 40183 101 Silex SX 550 Developer s Guide Page 18...
Page 40: ...Part Number 40183 101 Silex SX 550 Developer s Guide Page 32...
Page 111: ...Part Number 40183 101 Silex SX 550 Developer s Guide Page 103...
Page 118: ...Part Number 40183 101 Silex SX 550 Developer s Guide Page 110...