5 ascii conversion 1 (ascii) – Yaskawa MP900 Series Motion Programming Manual User Manual
Page 156
4.5 Data Operations
4 -23
4.5.5 ASCII CONVERSION 1 (ASCII)
Use in a sequence program
Possible
Use in a motion program
Possible
J
Overview
The ASCII command converts the character string specified during command execution into
ASCII code and stores it in the specified register (integer register). Upper and lower case
letters can be distinguished from each other.
The first character and the second character are stored respectively in the lower byte and upper
byte of the first word in order. If the number of characters in the string is odd, the upper byte
of the last word in the storage destination register becomes 0. The number of input characters
is up to 32.
The following−version programming software is required to use an ASCII command.
MP2000 Series (excluding MP2400)
Version 2 60 or later
MPE720 Version 5.38 or later
(
g
)
Version 2.60 or later
MPE720 Version 6.04 or later
MP2400 Version 2.60 or later
MPE720 Version 6.04 or later
MPE720 Version 6.04 Lite or later
J
Description
The ASCII command is designated as follows:
ASCII
‘ABCDEFG’
MW00200;
A
B
Symbol
Application
Usable Register
A
Character string
ASCII characters
B
Storage destination
register No.
Integer register
(excluding # and C registers)
The following tables show the characters that can be used in the ASCII command.
Usable characters
Alphanumeric
characters
a to z, A to Z, 0 to 9
Symbols
Space,
! # $ % & ( ) * + , − . / : ; < = > ? @ [ ] O ] ^ _ ‘ { | }
~
Unusable characters
Single quotation
‘
Double quotation
“
Double slash
//
4
INFO