You'll have to check the programming manual to see if there is a command that does what you want. If there is not, then the profile can be written one point at a time. The Ramp Pattern function can be used with the addition of time information. A state machine would be helpful.