12.07.2015 Views

RAPID reference manual - Technology

RAPID reference manual - Technology

RAPID reference manual - Technology

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

InstructionClkStopRobotWare-OSClkStop - Stops a clock used for timingClkStop is used to stop a clock that functions as a stop-watch used for timing.ExampleClkStop clock1;The clock clock1 is stopped.ArgumentsClkStopClockClockData type: clockThe name of the clock to stop.Program executionWhen a clock is stopped, it will stop running.If a clock is stopped, it can be read, started again or reset.Error handlingIf the clock runs for 4,294,967 seconds (49 days 17 hours 2 minutes 47 seconds) itbecomes overflowed and the system variable ERRNO is set to ERR_OVERFLOW.The error can be handled in the error handler.SyntaxClkStop [ Clock ’:=’ ] < variable (VAR) of clock > ’;’<strong>RAPID</strong> <strong>reference</strong> <strong>manual</strong> - part 1a, Instructions A-R 43

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!