Knowledge Base

SX10509: Programming the SPLat controller

Once you have configured the SX10509 SPLat Call Home board for the Internet server and script page it is to communicate with, you can program the SPLat controller.

The SX10509 responds to 3 Xwire addresses, called Network, Date and Time. Most of the action takes place on the network address.

On the network address there are a range of commands that can be sent to the SX10509 by the SPLat controller. These include commands for writing data to the SX10509, sending (that) data to the server and reading back server responses to the SX10509. Hence, the SPLat controller is able to send whatever it wishes to the server. Data is sent to the server only when the SPLat program instigates it. Typically data exchanges with the server will be in ASCII (not binary) format.

The date and time addresses are used to simply read the current date and time out of the SX10509 for use in your program. The SX10509 gets this information from an Internet time server automatically.

There is an in-depth tutorial on programming for the SX10509, with a fully worked example, here.