Welcome to our new forum
All users of the legacy CODESYS Forums, please create a new account at account.codesys.com. But make sure to use the same E-Mail address as in the old Forum. Then your posts will be matched. Close

Read/Write access of Axis parameters

Omar Ampyx
2018-09-27
2018-09-27
  • Omar Ampyx - 2018-09-27

    Hi Everyone,

    I am trying to write parameters using MC_WriteParameter, when I try to write for example parameter 1061 (fPositionPeriod) the FB returns the error SMC_WP_PARAM_INVALID.

    However if I try to read the same parameter using MC_ReadParameter, it returns the value with no error.

    It seems like this parameter is read-only access? If yes, why? And how can I know that beforehand?
    If no, is there anyway to write this parameter in ST?

    Thanks in advance,
    Omar

     
  • Omar Ampyx - 2018-09-27

    I already found a solution by using SMC_SetMovementType.

     

Log in to post a comment.