Is there a way to set the values of the DSP402 related parameters in ST?
Thank you in advance,
Axis_ref_sm3 has a lot of parameters declared as var_input. You can read or write them directly as fpositionfactor or settotorque....
Sent from my Moto G (5S) Plus using Tapatalk
Unfortunately the parameters in an Axis.DSP402_Statemachine (axis of type AXIS_REF_ETC_DS402_CS) are not inputs, the compiler won't allow you to write them.
These parameters can be changed in the device editor but I would like to have their parametrization in ST.
Axis_ref_etc_ds402.... Extends from axis_ref_sm3. It has the same variables as _sm3 and any others. (I recomends to you to treat the axis as sm3 it make your code more portable).
My axis_ref is axis_ref is etc_ds402... Too.
Still your example does not work for the parameters related to the DSP402_Statemachine, they cannot be accessed in the same way as in your example.
What do you want to do?
StateMachine is an enum which is controlled by the axis and change when you give orfers to the axe.
I am taking about these parameters (see attached).
This is not a canocical form, but works:
Gràcies Josep . I'll try it out.
It works thank you!
Log in to post a comment.