Undesired initial displacement?

Hi colleges,
I'm working with a movement of a part, using the next Expression: `STEP5(TIME,0,0,0.1,80)+STEP5(TIME,0.2,80,0.3,0)`
And the part, at the start has a initial displacement of 80mm:
I don't understand where comes this initial displacement, any mistake in the Expression?
I attached the complet file.
Thanks!
Find more posts tagged with

Hi Carlos,
The second part of your expression STEP5(TIME,0.2,80,0.3,0) means at time 0.2 and less than 0,2 the step5 function will return 80. So use -80, STEP5(TIME,0.2,0,0.3,-80) to bring back the 80 of first step5 to zero.
`STEP5(TIME,0,0,0.1,80)+STEP5(TIME,0.2,0,0.3,-80)`Regards,
S. Ganesh
Hi Ganesh,
You have reason, this Expression uses realtives movements, not absolute as I thought.
Thanks!


Hi Carlos,
The second part of your expression STEP5(TIME,0.2,80,0.3,0) means at time 0.2 and less than 0,2 the step5 function will return 80. So use -80, STEP5(TIME,0.2,0,0.3,-80) to bring back the 80 of first step5 to zero.
`STEP5(TIME,0,0,0.1,80)+STEP5(TIME,0.2,0,0.3,-80)`
Regards,
S. Ganesh
Hi Carlos,
The second part of your expression STEP5(TIME,0.2,80,0.3,0) means at time 0.2 and less than 0,2 the step5 function will return 80. So use -80, STEP5(TIME,0.2,0,0.3,-80) to bring back the 80 of first step5 to zero.
`STEP5(TIME,0,0,0.1,80)+STEP5(TIME,0.2,0,0.3,-80)`
Regards,
S. Ganesh