beautypg.com

4-10 wait, 4-11 timr, Robot language – Yamaha SRCP User Manual

Page 109

background image

8-

11

8

ROBOT LANGUAGE

8-4 Robot Language Description

8-4-10 WAIT

Function:

Waits until a specified general-purpose input or memory input changes
to a specified state.

Format:

WAIT ,

Example:

WAIT 5, 1
Waits until DI5 turns on.

Explanation:

This command adjusts the timing according to the general-purpose in-
put or memory input state.
(1) DI or MI number

Specify one of the general-purpose input numbers from 0 to 7 (8
points) or memory input numbers from 100 to 147 (48 points).

(2) Input status

"1" means "on" and "0" means "off",

8-4-11 TIMR

Function:

Waits for a specified amount of time before advancing to the next step.

Format:

TIMR

Example:

TIMR 100
Moves to the next step after waiting one second.

Explanation:

This command is used when adjusting the time within the program. Time
may be specified in lengths from 1 to 65535, in units of 10ms. In other
words, time may be specified from 0.01 seconds up to 655.35 seconds.