Delta AS Series Programming Manual page 1073

Hide thumbs Also See for AS Series:
Table of Contents

Advertisement

API
Instruction code
2122
SPLIT
Device
X
Y
M
S
1
S
2
S
3
S
4
D
1
D
2
Data
type
S
1
S
2
S
3
S
4
D
1
D
2
Symbol
Explanation
1.
This instruction is only available for firmware version 1.04 or later.
2.
S
is the string source. For characters in a string, only the characters before an ending character or the value in S
1
will be used as a valid string.
3.
S
is the splitter that separates strings. S
2
byte are valid for S
and S
2
send any error message. When S
format. Values in S
and S
2
4.
S
is the storing length for a string after a splitter; unit: WORD. The ending characters, such as 16#00 and 16#0000
4
Operand
,S
,S
,S
,D
P
S
1
2
3
4
S
T
C
HC
Pulse instruction
AS
: String
S
1
: Splitter
S
2
: Designated ending character of a splitter
S
3
: Storing Length for a string after a splitter
S
4
: Device in which the string after a splitter is stored
D
1
: Device in which the quantity of split strings is stored
D
2
is a designated ending character of a splitter. Only values in the lower 8-
3
. However, if you input a value other than the value in the lower 8-byte, PLC does not
3
and S
use D devices to store values, only use lower 8-byte for values in ASCII
2
3
can be a constant number, an ASCII or a string.
3
Cha p ter 6 App l ied Ins truc tio ns
,D
1
2
D
FR
SM
SR
E
16-bit instruction
AS
Function
Splitting a string
K
16#
"$"
F
32-bit
i
t
ti
-
6 - 7 9 3
6_
3

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents