KAREL PROCEDURE

  • Ello,


    I try to built a procedure for read a program list with KAREL software.

    I know FANUC developed PRG_LIST procedure.

    Anybody can help me WITH THIS ?

    I don't why the compiler give me each time an errors with the program..

    PROGRAM PRGLIST

    VAR

    status:INTEGER

    prog_name: STRING [2]

    prog_type: INTEGER

    n_skip: INTEGER

    format: INTEGER

    ary_name: ARRAY OF STRING [6]

    n_progs: INTEGER

    f_index: INTEGER


    BEGIN

    -- Get a listing of all TP program which begin with "TEST"

    PROG_LIST(*, 7, 0, 2, ary_name, n_progs <,f_index> )

    END PRGLIST


    FYI: I'm a real newbie with KAREL...



    regards..

Advertising from our partners