Posts by machens

    I'm using KUKA KR50R2500 robot and the software version is KRC4 and KSS8.6.10. with RSI

    I would like to get realtime robot data XYZABC,A1-A6 and digital input 1-4.

    I have successfully implemented the RSI Ethernet example, but I would like only send data. So I changed the RSI config file to

    <ONLYSEND>TRUE</ONLYSEND>

    but the data send from robot is very slow about 0.5s interval, if the computer dont reply any data.

    Another problem is once unselect the RSI program, the data stop sending. How to put the program background so that I can perform other operation.


    Thanks,

    Ming

    I check the document and it said "DEF_Tech is Technology parameters in the main run (function generators 1 to 6)".

    what is the meaning for Technology parameters? In the send xml, T21 = "1.09" T22 = "2.08", what is the value mean? Thanks!

    Code
    <Sen Type="ImFree">
    <EStr>Message from RSI TestServer</EStr>
    <Tech T21="1.09" T22="2.08" T23="3.07" T24="4.06" T25="5.05" T26="6.04" T27="7.03" T28="8.02" T29="9.01" T210="10.00" />
    <RKorr X="0.0000" Y="0.0000" Z="0.0000" A="0.0000" B="0.0000" C="0.0000" />
    <DiO>0</DiO>
    <IPOC>101919648</IPOC>
    </Sen>

    Thank you for your reply. I test the program in KUKA Office Lite 8.63, is this effect?

    As I checked $PRO_STATE1==#P_FREE,and R on the top of the screen is grey. I change the code as the following, but still takes no effect. flag[3] is twinkle,0.5s true,0.5s fales.

    I added CWRITE in sps, but the program does not select on startup. Can anyone help? Thanks


    &ACCESS RVO

    &COMMENT PLC on control

    DEF SPS ( )

    ;FOLD DECLARATIONS

    ;FOLD BASISTECH DECL

    ;Automatik extern

    DECL STATE_T STAT

    DECL MODUS_T MODE

    ;ENDFOLD (BASISTECH DECL)

    ;FOLD USER DECL

    ; Please insert user defined declarations


    ;ENDFOLD (USER DECL)

    ;ENDFOLD (DECLARATIONS)

    ;FOLD INI

    ;FOLD AUTOEXT INIT

    INTERRUPT DECL 91 WHEN $PRO_STATE1==#P_FREE DO RESET_OUT ()

    INTERRUPT ON 91

    INTERRUPT DECL 92 WHEN $PRO_MOVE==TRUE DO RESET_LINESEL()

    INTERRUPT ON 92

    $LOOP_MSG[]=" "

    MODE=#SYNC

    $H_POS=$H_POS

    ;Automatik extern

    IF $MODE_OP==#EX THEN

    CWRITE($CMD,STAT,MODE,"RUN /R1/CELL()")

    ENDIF

    CWRITE($CMD,STAT,MODE,"RUN /R1/Program/t()")


    LOOP

    WAIT FOR NOT($POWER_FAIL)


    CWRITE($CMD,STAT,MODE,"RUN /R1/Program/t()")


    ENDLOOP



    ;FOLD

    END

    ;ENDFOLD



    DEF RESET_OUT ( )

    INT N

    MsgLoop(" ")

    IF REFLECT_PROG_NR == 1 THEN

    FOR N = 0 TO PGNO_LENGTH - 1

    $OUT[PGNO_FBIT_REFL + N] = FALSE

    ENDFOR

    ENDIF

    IF (PGNO_REQ>0) THEN

    $OUT[PGNO_REQ]=FALSE

    ELSE

    IF (PGNO_REQ<0) THEN

    $OUT[-PGNO_REQ]=TRUE

    ENDIF

    ENDIF

    END


    DEF RESET_LINESEL()

    $LINE_SEL_OK=FALSE

    END

    ;FOLD USER SUBROUTINE

    ; Integrate your user defined subroutines


    ;ENDFOLD (USER SUBROUTINE)

    ;ENDFOLD

Advertising from our partners