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

SMC_CAMTable

pcimatti78
2020-09-10
2020-09-10
  • pcimatti78 - 2020-09-10

    Hi to all,
    i'm using a personal created cam table with more points of the standard included:

    TYPE SMC_CAMTable_LREAL_8192_1 :
    STRUCT
    Table: ARRAY [0..8191] OF LREAL;
    fEditorMasterMin: REAL;
    fEditorMasterMax: REAL;
    fEditorSlaveMin: REAL;
    fEditorSlaveMax: REAL;
    fTableMasterMin: REAL;
    fTableMasterMax: REAL;
    fTableSlaveMin: REAL;
    fTableSlaveMax: REAL;
    END_STRUCT
    END_TYPE

    also reading the official documentation on
    https://help.codesys.com/webapp/rAtY08YBV_K3o1AeeUFVzNRWMvE%2FSMC_CAMTable_UDINT_256_2;product=SM3_Basic;version=4.8.0.0

    i don't understand the purpose of these variables
    fEditorMasterMin: REAL;
    fEditorMasterMax: REAL;
    fEditorSlaveMin: REAL;
    fEditorSlaveMax: REAL;
    fTableMasterMin: REAL;
    fTableMasterMax: REAL;
    fTableSlaveMin: REAL;
    fTableSlaveMax: REAL;

    i tried to set them with different values without any change in the behavior, the only thing i have to do is to keep fEditorSlaveMax and fTableSlaveMax greater than fEditorSlaveMin and fTableSlaveMin

    there anyone that knows how them work?

    thanks in advance, Paolo Cimatti

     
  • pcimatti78 - 2020-09-10

    excuse me, i wanted to post this question on the motion section

     

Log in to post a comment.