Hyundai HI4 Robotics User Manual


 
11. Robot Language Explanation
------------------------------------------------------------------------------------------------
----------------------------------------------------------------------------------------
11 - 3
11.1 basic elements
11.1.1 Line
Line number can be added at forefront of line.(optional).
254 characters can be described in 1 line. 1 line can has only 1 instruction statement.
11.1.2 Character
11.1.3 Address
Reference
(1) Unsigned integer can only be used in line No. and step No.
(real number, arithmetic statement X)
(2) Label number per program is within 100.
letter
A ∼ Z, a ∼ z, Korean (capital character can be usable except in comment
statement contents and string )
digit 0 ∼ 9
symbol
! " ' # $ % & ( ) * + - . , / ₩ : ; = < > ? @ ` [ ₩ ] ^ { } | _
space <space> <tab>( conversion to <space> before transmission to controller)
explana-
tion
line No., step No. or label. It is used for jump such as GOTO, GOSUB, etc.
line No. can be omit.
step
number
S0∼S999
step No. is automatically numberring when MOVE statement is
used.
line No. 1∼9999
The procedure of line No. is not connected to the procedure of
program execution.
label *<label name>
label name can be consists of alphabet and under bar within 8
characers. It should start with alphabet.
example
for use
50 PRINT....
*ERRHDL
GOTO 10
GOSUB *CALC