Delta AS Series Programming Manual page 1051

Hide thumbs Also See for AS Series:
Table of Contents

Advertisement

API
Instruction code
2111
$RIGHT
Device
X
Y
M
S
n
D
Data
type
S
n
D
Symbol
Explanation
1.
This instruction retrieves n characters from the string in S from the right, and stores the retrieved characters in D.
When the data type of S (source value) is string, the maximum length for the value in S is 31 characters. When the
data type of S (source value) is not string, the maximum length for the value in S is 255 characters.
2.
If n is 0, the value in D is 0. The maximum length for n is 255 characters. .
Operand
P
S, n, D
S
T
C
HC
Pulse instruction
S : String
n : Number of characters to be retrieved
D : Device where the characters retrieved are stored
Cha p ter 6 App l ied Ins truc tio ns
Retrieving characters from a string
beginning from the right.
D
FR
SM
SR
16-bit instruction
AS
AS
Function
E
K
16#
"$"
32-bit instruction
-
6 - 7 7 1
F
6_

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents