Smart Component I/O

I would like to manipulate I/O in a smart component from the rapid programHow do I do this in the rapid program ie Want to turn diAttach from 1 to 0