Delta AS Series Programming Manual page 298

Hide thumbs Also See for AS Series:
Table of Contents

Advertisement

Instruction code
API
0036-
LD$※
0037
Device
X
Y
M
S
1
S
2
Data
type
S
1
S
2
Symbol
Taking LD$= for example
Explanation
1.
These instructions compare the strings in S
2.
S
and S
can contain strings up to 256 characters(16#00 the end symbol is included).
1
2
3.
Take the instruction LD$= for example. When the comparison result is that the value in S
continuity condition of the instruction is met. When the comparison result is that the value in S
in S
, the discontinuity condition of the instruction is met.
2
API number
4.
Only when the data in S–S+n (n indicates the n
the data be compared complete strings. For example:
Operand
,S
S
1
S
T
C
HC
Pulse Instruction
: Data source1
S
1
: Data source2
S
2
and S
1
2
16-bit
instruction
0036
LD$=
LD$<>
0037
th
device, up to 256 characters in each string) includes 16#00 can
b 15
16#32( 2)
S
16#34( 4)
S+1
16#00
S+2
C h a p t e r 6 Ap p l i e d I n s t r u c t i o n s
2
D
FR
SM
SR
16-bit instruction
-
AS
.
Continuity
Discontinuity
condition
condition
=S
S
S
1
2
1
≠S
=S
S
S
1
1
2
b 8 b 7
b 0
16#31( 1)
16#33( 3)
16#35( 5)
"
"
12345
Function
Comparing strings LD$※
E
K
16#
"$"
32-bit instruction
-
is equal to that in S
1
is not equal to that
1
≠S
2
2
F
6_
, the
2
6 - 1 9

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents