Selection inadmissible - KUKA KRC4

  • Hello,


    I'm generating a code from RobotMaster for additive manufacturing, but when I try to select it in the SmartPad, it shows the error messagem 1360 "selection inadmissible". I've searched for it in the error list but don't know what may cause this problem (I am new to KUKA programming).


    I'm using a KRC4 controller and a KR 70 R2100 robot.


    The auto-generated code is:


    &ACCESS RVP

    &REL 1

    &COMMENT GENERATED BY ROBOTMASTER

    &PARAM TEMPLATE = C:\KRC\Roboter\Template\vorgabe

    &PARAM EDITMASK = *

    DEF Program_1()


    EXT BAS(BAS_COMMAND: IN, REAL: IN)

    INT I


    BAS (#INITMOV, 0)


    ;******SETTINGS FOR PTP MOTION***********************

    ;FOLD PTP $VEL_AXIS AND $ACC_AXIS

    FOR I=1 TO 6

    $VEL_AXIS[I] = 20

    $ACC_AXIS[I] = 50

    ENDFOR

    ;ENDFOLD (PTP $VEL_AXIS AND $ACC_AXIS)


    ;******SETTINGS FOR LIN AND ARC MOTION***************

    ;FOLD LIN AND ARC MOTION VARIABLES

    $VEL.ORI1 = 200

    $VEL.ORI2 = 200

    $ACC.CP = 3

    $ACC.ORI1 = 100

    $ACC.ORI2 = 100

    ;ENDFOLD (LIN AND ARC MOTION VARIABLES)


    ;******SETTINGS FOR POSITIONING CRITERIA*************

    ;FOLD POSITIONING CRITERIA

    $APO.CDIS = 0.5

    $ORI_TYPE = #VAR

    ;ENDFOLD (POSITIONING CRITERIA)


    $BASE={X 660.0000,Y -1000.0000,Z 331.4000,A 0.0000,B 0.0000,C 0.0000}

    $TOOL={X 0.0000,Y -230.0000,Z 47.0000,A 0.0000,B -90.0000,C 90.0000}


    $ADVANCE = 5


    <thousands of motion commands>


    END


    It is something in the code or may be some configuration issue?


    Thanks!

  • I would advice You to open this program in WorkVisual and see if it point some syntax error.


    The normal behavior in this situation should be SmartPad pointing the errors itself, but If I remember correctly, I had this situation in the past.


    And also: what is the size of this program?


    These 3D printing programs tend to be huge, and KRC has a size limit regarding the contents or R1 folder. 10 MB or so.

  • Thank you for the quick answer!


    The file has 1.26 MB. I will check for more problems.


    There are other folders where I can save the programs instead of R1?

  • according to header parameters, this file is visible (&ACCESS= ...V...) and therefore should be selectable.

    then V is missing, module is not "visible" and not selectable but it can be called from other programs


    DEF TEST()

    Program_1()

    END


    to toggle Visible parameter use smartPad menu Edit>Properties>Module Inf...

    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

  • R1 is the correct folder, you can create subfolders under R1 and store it there.

    How did you copy the file to the robot?

    Post a screenshot of the Smartpad with the program and error message.

  • I change the Visible parameters and solved the issue. Thanks!


    Thanks everyone for the hints.

Advertising from our partners