Hello everyone,
Turned out it was an easy fix.
Wrote a macvro wich can be called in the following way.
M1500 P100
with the P-word as percentage
Macro code below
Rem This Macro sets accelleration according To the P paramater
'You have to set up your acceleration values here in the constant values in stead of
'in the motortuning page, because this values get altered
some comments
'"AccelerationX" = X Max Accel from motor tuning page
'"AccelerationY" = Y Max Accel from motor tuning page
'"AccelerationZ" = Z Max Accel from motor tuning page
'"AccelerationA" = A Max Accel from motor tuning page
'"AccelerationB" = B Max Accel from motor tuning page
'"AccelerationC" = C Max Accel from motor tuning page
'GetParam( String ) and SetParam( String )
'start of program
Option Explicit
Dim PValue
PValue=Param1()/100
Const MaxAccellX=2500
Const MaxAccellY=400
Const MaxAccellZ=400
Const MaxAccellA=900
'Const MaxAccellB=400
'Const MaxAccellC=400
'Better make shure no movement is going on wshen changing such parameters
While Ismoving
Wend
Call SetParam ("AccelerationX",MaxAccellX * PValue)
Call SetParam ("AccelerationY",MaxAccellY * PValue)
Call SetParam ("AccelerationZ",MaxAccellZ * PValue)
Call SetParam ("AccelerationA",MaxAccellA * PValue)
'Call SetParam ("AccelerationB",MaxAccellB * PValue)
'Call SetParam ("AccelerationC",MaxAccellC * PValue)
It is best to set M1500P100 in your initialisation string (General config)or make shure it is called at the start of every program,
And maybe also to check "Use Init String on ALL "Resets"
There's no validation so you can, for certain moves, set accelleration to for example 120%.
offcourse you need to be carefull with that!
The function is mostly intented to lower accelleration for certain moves
Hope someone has some use (or fun

) with this,
Greetz,
Kris.