User manual

IT Functionality 9-26
© 2011 Pyramid Solutions Inc. Publication PUB-AB7603-014
Displaying I/O Data on a Web Page
The following is an example of an HTML file that when uploaded to the module
displays in hex the second byte of data from the IN table and the third byte of data
of the OUT table using the SSI “printf” command.
<html>
<head>
<title>Ethernet to DeviceNet BridgeWay</title>
</head>
<body>
<center>
</h1>
<?--#exec cmd_argument='printf(“IN 2 = 0x%2X”,InReadUByte(2))'-->
<?--#exec cmd_argument='printf(“OUT 3 = 0x%2X”,OutReadUByte(3))'-->
</body>
</html>