Hello sekeely;
I am not sure I understand your question exactly. If you are using the SLC as a Profibus master, there should be no coding necessary to implement communications. There is a configuration utility (from SST, in your case) that allows you to reserve specific memory areas for the data exchange with the slave (what memory areas are required depend on the slave setup and the required values exchanged). Once the Profibus configuration is integrated in the SLC memory, you should have direct access to the reserved memory areas you selected; then you program your code to read/write to those areas, and make decisions based on the values from the slave.
This is very general, as you have given no information on the type of slave you are planning to use. But it should apply to any type of Profibus link.
Hope this helps,
Daniel Chartier