EasyManua.ls Logo

YASKAWA NX100 - Page 475

YASKAWA NX100
493 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...
10 Table of Basic Instructions
10.5 Operating Instructions
10-20
149235-1CD
RE-CSO-A031
ASC
Function
Obtains the character code of the first letter of the character string
(ASCII) of Data2, and stores the result in Data1.
Format:ASC<Data1><Data2>
Additional
Item
Data1 B <variable number>, I <variable
number>, D <variable number>
Data2 Character string, S <variable
number>
Example
ASC B000 “ABC”
CHR$
Function
Obtains the character (ASCII) with the character code of Data2,
and stores the result in Data1.
Format:CHR$<Data1><Data2>
Additional
Item
Data1 S <variable number>
Data2 Constant, B <variable number>
Example
CHR$ S000 65
MID$
Function
Obtains the character string (ASCII) of any length (Data 3, 4) from
the character string (ASCII) of Data2, and stores the result in
Data1.
Format:MID$<Data1><Data2><Data3><Data4>
Additional
Item
Data1 S <variable number>
Data2 Character string, S <variable
number>
Data3 Constant, B <variable number>, I
<variable number>, D <variable
number>
Data4 Constant, B <variable number>, I
<variable number>, D <variable
number>
Example
MID$ S000 “123ABC456” 4 3
LEN
Function
Obtains the total number of bytes of the character string (ASCII) of
Data2, and stores the result in Data1.
Format:LEN<Data1><Data2>
Additional
Item
Data1 B <variable number>, I <variable
number>, D <variable number>
Data2 Character string, S <variable
number>
Example
LEN B000 “ABCDEF”
475 of 493

Table of Contents

Other manuals for YASKAWA NX100

Related product manuals