User manual

IT Functionality 9-18
© 2004 Pyramid Solutions Inc. Publication PUB-AB7603-008
The conversion characters d, i, o, u and x may be preceded by the letter “l” to
indicate that a pointer to ‘long’ appears in the argument list rather than a ‘byte’ or
a ‘short’
The arguments that can be passed to the SSI function scanf are:
Default output:
Write succeeded
Write failed
For information about how to change the SSI Output, see “Changing SSI Output”
on page 9-21“.
Note: The I/O data is stored in the same format as it is received and sent on the
DeviceNet network. DeviceNet is a little endian protocol; values are transmitted
least significant byte first. Hence, all data in the I/O tables is assumed, by the
DeviceNet nodes, to be stored as little endian. The web server operates in a big
endian environment. Some data may have to be manipulated to account for byte
ordering when writing it from a web page.
Argument Description
OutWriteByte(offset) Writes a byte to position offset in the OUT area
OutWriteWord(offset) Writes a word (short) to position offset in the OUT
area
OutWriteLong(offset) Writes a long to position offset in the OUT area
OutWriteString(offset) Writes a string to position offset in the OUT area
OutWriteFloat(offset) Writes a floating point (float) value to position offset
in the OUT area
Table 9-5 SSI Functions to Write Data