Hyundai HI4 User Manual

Page 380

Advertising
background image

11. Robot Language Explanation

------------------------------------------------------------------------------------------------

----------------------------------------------------------------------------------------

11 - 15

11.2.3.3 INPUT Command

Description Inputs the information to variable from the Teach Pendant screen or serial port.

Syntax

INPUT <Input Direction>, <variable>[, <timeout time>]

Input
Directi
on

#0 : Teach Pendant
#1 : Serial port COM1
#2 : Serial port COM2

Variabl
e

Arithmetic Variable, String variable

Parameter

timeout

Arithmetic Equation. If certain time is elapsed, moves
to the next line.

sec unit
integer
0.0∼60.0

example

INPUT #1, V20!, 5
INPUT #0, V1$

Advertising