Configure a line to trigger a relay

I hope that someone can walk me through on using Processor Expert to configure a line (PTC17 on the MKL36Z256VLL4). This line would be set for a period of time (120ms to 59 seconds) and then turned off after the time period has expired.