3.7.0 3.6.0 3.5.0 3.4.0 3.3.0 3.2.2 3.2.1 3.2.0 Korean English Chinese Czech Dutch French German Hungarian Italian Japanese Polish Portuguese Spanish
3.7.0 3.6.0 3.5.0 3.4.0 3.3.0 3.2.2 3.2.1 3.2.0 Korean English Chinese Czech Dutch French German Hungarian Italian Japanese Polish Portuguese Spanish

end_timer()

기능

제어기의 시뮬레이션 프로그램 수행시간을 측정하기 위한 명령어입니다. start_timer() 명령어와 연동하여 두 함수의 사이에 있는 스크립트의 수행시간을 반환합니다.

주의

해당 기능은 Windows 환경과 Linux 환경에서의 모션 수행 시간을 측정하기 위한 기능입니다. 에뮬레이터(가상 제어기) 환경에서 Real 모드로 측정 시 잘못된 값이 반환될 수 있습니다.

리턴

설명

float

측정된 시간 정보(process 수행 시간)

예제

Python
start_timer()
wait(1)
t= end_timer()
tp_log("tttt={0} sec".format(t))

관련 명령어

Keyword

end_ / timer