EasyManua.ls Logo

Toshiba TSL3000 - Basic Operation; Basic Operating Procedures

Toshiba TSL3000
174 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
STE 80722
32
COMMUNICATION MANUAL
series Robot Controller
4.3.2 Converting a Character String to Any Numeric Value
The value of (FUNCTION 1), the 1st column in 1st row of user parameter [U25]
FUNCTION SELECT SWITCH is set to 2.
[U25] FUNCTION SELECT SWITCH
= 2 0 0 0 0 0
= 0 0 0 0 0 0
= 0 0 0 0 0 0
= 0 0 0 0 0 0
When the value is set to 2, a nonnumeric character string is compared with the
character string in the previously created parameter file STRING.PAR” and the
conversion number of the matching character string is returned if received.
STRING.PAR should be created in the following format.
= 1 "▲▲▲▲▲"
Conversion number (0 to 32767)
Character string to be received (up to 32 characters)
Example of STRING.PAR:
= 0 "OK000"
= 1 "OK001"
= 2 "OK002"
= 127 "OK127"
The number of data rows can be specified to be up to 128. If 128 rows are
exceeded, data is truncated by 128 rows.
Character string
"ABC<CR>"
Note: <CR> signifies the record end code (0x0D).
External device
Robot controller
SCOL
language
INPUT
command
Numeric
”1”
INPUT character string conversion
= 1 "ABC"
STRING.PAR
...

Other manuals for Toshiba TSL3000

Related product manuals