Self-written function

  • Hello all.

    I am using KR300R2700 robot with KR C4 controller.


    I declared an INT in confg. i.e. DECL INT COUNTER & i use this in module as COUNTER = COUNTER + 1


    I want to use function as :

    IF (COUNTER<>1,2,3,4,5........10) THEN

    COUNTER=1

    ENDIF


    What is the correct way to use my code ??


    Please help

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account
Sign up for a new account in our community. It's easy!
Register a new account
Sign in
Already have an account? Sign in here.
Sign in Now