This setting is ONLY applicable for repeat mode (teach mode is different).
Often this setting gets changed when someone is 'stepping' through the program in repeat or by accident and fails to return it.
You can control this setting from a program, as it is a system switch (Aux 0502) called STP_ONCE.
By using the following AS Commands into a program, you can effectively control/monitor for this:
SWITCH ; Returns status of a system switch
STP_ONCE OFF ; Step Continuous
STP_ONCE ON ; Step Single
A simple example would be in your main program at the start to ensure it's correct you could insert:
STP_ONCE OFF
Alternatively, you could just check whether it is on and if so, turn it off:
IF SWITCH(STP_ONCE) THEN
STP_ONCE OFF
END
There are many iterations which can be used due to the flexibility of AS Language and you could implement a full control/monitoring sequence in a PC Program to effectively 'lock' this setting down under certain conditions...…...but keeping it simple, a simple activation at the start of the main program is usually sufficient enough in most cases...……
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!