Input Command - Toshiba TS3000 Series Instruction Manual

Robot controller
Hide thumbs Also See for TS3000 Series:
Table of Contents

Advertisement

series Robot Controller
4.1.2

INPUT Command

As opposed to the PRINT command, which is used for transmitting data, the INPUT
command is used for receiving data. The only data which may be received by the
controller are integers and real numbers. Data received by the controller is put into
a variable (in a robot language program) specified by the INPUT command. This
data can be referred to later in the program to operate the robot.
The format of the INPUT command is shown below:
INPUT
[<channel>, ] <variable>, [ <variable>] ...
<channel>:
Specifies the communication channel over which the data is to be received. One of
the following should be specified as the channel.
COM1 : COM1 port
IP1
: Ethernet IP1 port
IP2
: Ethernet IP2 port
TP
: Key input from teach pendant
Unless <channel> is specified, the controller receives data from the teach pendant.
<variable>:
Specifies the variable in the robot program into which the data is to be entered.
Ex.: INPUT COM1, N1, N2
INPUT IP1, N1, N2
Commas are used to separate two (2) or more variables specified in the INPUT
command. The controller waits until data comes in over the communication
channel specified by the INPUT command. Add a record end code (0x0D) to the
end of data which is sent to the controller. When multiple units of data are to be
sent to the controller, the individual data units should be separated with commas
before being transmitted. When more units of data are received by the controller
than was specified with the INPUT command, the surplus data are ignored and used
for the next INPUT command. If fewer units of data are received by the controller
COMMUNICATION MANUAL
– 17 –
STE 80722

Advertisement

Table of Contents
loading

This manual is also suitable for:

Ts3000 scaraTs3000 linearTs3100 scaraTs3100 linearTs3100

Table of Contents