Toshiba STE 58762 instruction manual - 1-7 -

Page 14

STE 58762

Type

 

Purpose

Commands

Calculator functions

(1)

Perform calculations for real

SIN, COS, TAN, ASIN, ACOS,

 

 

numbers.

ATAN, ATAN2, SQRT, ABS,

 

 

 

SGN, INT, REAL, LN, MOD,

 

 

 

LOGIO, EXP, AND, OR, NOT

 

(2)

Perform calculations

HERE, DEST, POINT, TRANS

 

 

involving positional and

 

 

 

coordinate data.

 

 

(3)

Use an array.

DIM, AS

Movement reference

(1)

Check robot movement.

MOTION, MOTIONT, REMAIN

commands

(2)

Check system movement.

REMAINT, TIMER, MODE

 

 

(3)

Assign a coordinate

TOOL, BASE, WORK

 

 

system.

 

 

 

 

 

Others

(1)

Define a variable.

GLOBAL, END

 

(2)

Restore an updated value in

RESTORE

 

 

the program file.

 

1-7

Image 14
Contents Industrial Robot SR Series Robot Language Manual STE- i - Preface - ii -- iii - Remarks and COMMENTS・・・・・・・・・・・・・・・・・ Table of Contents AN Outline of Robot LanguageVariables and Constants ・・・・・・・・・・・・・・・・ Things to Watch OUT for When Writing a PROGRAM・・ Explanation of Robot CommandsThings not to do When Programming ・・・・・・・・・ Program Examples Programming Hints and WarningsAppendix a List of Commands ・・・・・・・・・・・・・・・・・HOW to Read Symbols ・・・・・・・・・・・・・・・ Appendix B List of Reserved Words ・・・・・・・・・・・・・- 1-1 - Chapter AN Outline of Robot LanguageRobot Movement - 1-2 - Robot movement- 1-3 - Robot Language - 1-4 - Types of Commands - 1-5 -- 1-6 - - 1-7 - Files Program ConfigurationChapter Writing Programs in Robot Language ProgramPositional Data - 2-2 -Character SET - 2-3 -S H I B a R O B O T Identifiers- 2-4 - - 2-5 - Variables and ConstantsScalar Data - 2-6 - Vector Data - 2-7 -- 2-8 - - 2-9 - STE System Variables - 2-10 -System Constants - 2-11 -Mathematical Functions - 2-12 -Computational Expressions - 2-13 -- 2-14 - AND, or- 2-15 - - 2-16 - - 2-17 - If J1 then Goto BRANCH1 Else Goto BRANCH2 Logical Expressions- 2-18 - LOOP1 Move P1 Goto LOOP1 Labels- 2-19 - - 2-20 - Move P1 This Command Moves the Robot to P1Remarks and Comments Remark this Program WAS Written by ME- 2-21 - ProgramsProgram Declaration STE Subprograms - 2-22 -Program Main Remark *** Sample - 2-23 -Program Subexample M1, M2, M3 Print K ENDLibrary - 2-24 -STE Multitask Processing - 2-25 -- 2-26 - - 2-27 - Global Global Variable Definition- 2-28 - END ProgramDIM F5 AS Point - 2-29 -DIM D10 AS INT