<< Prev        Next >>

ID : 534

Next Option

"Next option" is an option that allows to go on to the next line when designated motion starts.

If the following command is a non-motion command, the non-motion command can be executed simultaneously with the robot motion of the current command.

If the following command is not a non-motion command (motion command, motion-related command), the program suspends the following command until it becomes executable.

Usage

Turning on an I/O Simultaneously with a Motion Starts

In this example, an I/O turns on when a designated motion starts.

Move P, P0, Next 'Because of the Next option, the program goes on to the next line when the motion starts.
Set IO240 'Turn on io240.

Turning on an I/O When the Motion Ratio Reaches 50%

By adding an Arrive command immediate after a motion command having Next option, the execution timing of the next motion command can be specified.

Move P, P0, Next 'Because of the Next option, the program goes on to the next line when the motion starts.
Arrive 50 'Wait until the motion ratio reaches 50%
Set IO240 'Turn on io240.

Under the Teach Check Mode

Next option is disabled in the teach check mode.

ID : 534

<< Prev        Next >>