Using XPort™Installer
When a configurable pin is configured to be a general input like IN1, IN2 or IN3 that pin will
report the current state of the signal connected to it.
When a configurable pin is configured to be a general output like OUT1, OUT2 or OUT3 that
pin will drive a signal level on the line or device connected to it.
The UserIO option is used to select the Active state of the pins as Active Low or Active High.
The default setting is Active Low. By setting SW1 switches to route XPort™ signals to the
LEDs, an active low signal will light the LED.
See
for more information about the configurable
pins.
6.10.8 Configurable Pins Control
The logic state of the configurable pins, when configured as
Input
or
Output
, can be
controlled from a web page. The XptCpCtlxxx.cob file contains a JAVA applet which is
downloaded to WEB1. See
the demo file.
To access XPort™ web pages, you need IE 5.01 or higher, Netscape 4.8 or higher, and
Java Plug-in 1.4.1 or higher. Mozilla (Linux) is not currently supported.
The applet page is accessed with a standard browser using the units IP address and the
control page cp_ctl.html. Example: //172.20.206.65/cp_ctl.html.
When the cp_ctrl.html page is first opened, a pop-up screen will allow you to download the
JAVA plug-in or you can download it from the Sun website at:
Http://java.sun.com/j2se/1.4.1/download.html
Once the JAVA Plug-in is installed, point your browser to the control page and the following
page will appear.
Note that the configurable pins, in this example, have been configured as Outputs, as shown
by the status messages below each group of LEDs. If the pins were configured for
something other than input or output, then the
Unavailable
message will appear. By clicking
the
Update states
button, the current logic states of the configurable pins are displayed.
6-14
XPort™
User Manual and Development Kit