Trying to monitor a variable on KRC 1 robot

  • Dear all, this I my first post on this forum and ill try to do my best to explain.

    We have 2 kuka KRC 1 robots on our factory which are equipped with 2 bosch-rexroth spindels to tighten cylinderheads.

    A mitsubischi PLC sends the boltnumber to the kuka robot, this is the value I want to monitor.

    The value can be 1, 101 or 201 the variable name is "AKTIE_ROBOT".

    In the configuration monitor window on the KCP panel I can only see "cross-error" behind the value I want to monitor.

    Does anyone have a clue what causes the "cross-error"?

    I included the ConfigMon.ini and a picture of the ConfigurationMonitor


    ConfigMon.ini


    [Group1]

    GroupTitle=Variabelen

    NmbDataCols=4

    User=10

    Substitute==;=;=;=;=;

    MaxColWidths=1500;1500;

    ColTitles=Bezeichnung;Wert;

    Item_0=TMP;-T;Boutnr V;boutnr_vast;

    Item_1=TMP;-T;Boutnr B;boutnr_move;

    Item_2=TMP;-T;Simulatie;simuleer;

    Item_3=TMP;-T;BASE_CORR_ON;BASE_CORR_ON;

    Item_4=TMP;-T;BASE_CORR.X;BASE_CORR.X;

    Item_5=TMP;-T;BASE_CORR.Y;BASE_CORR.Y;

    Item_6=TMP;-T;AKTIE ROBOT;AKTIE_ROBOT;


    Picture of cross-error

  • Hi


    It is defined in config.dat

    SIGNAL START_BOUT $IN[345] TO $IN[352]


    And in the main program it is put into AKTIE_ROBOT.

    AKTIE_ROBOT=START_BOUT ; lees de opdracht van de PLC in

  • Where did START_BOUT come from and why that should matter? You can add this to monitor and it will work.


    But topic is about AKTIE_ROBOT so where and how is AKTIE_ROBOT declared?

    1) read pinned topic: READ FIRST...

    2) if you have an issue with robot, post question in the correct forum section... do NOT contact me directly

    3) read 1 and 2

  • That means you have a runtime variable. Variable overview works only with global variables. Scope and life of variables depends on where they got declared.

    For example if you move that declaration to $CONFIG.DAT it will become global...

    1) read pinned topic: READ FIRST...

    2) if you have an issue with robot, post question in the correct forum section... do NOT contact me directly

    3) read 1 and 2

Advertising from our partners