Stepper+tb6560+speed contol

Please help me i want to control speed of stepper motor using pwm and making function of it. + This all via pushbuttons forward and reverse.

OK, go ahead and good luck.

Tutorials to get you started:
Simple stepper code.
Stepper basics

You may notice that in neither of those tutorials is PWM mentioned.

If you want help with code that you have written, post the code in accordance with the posting guidelines in the "how to use this forum-please read". Describe what the code does and how that differs form what you want the code to do.