Delta AH500 Programming Manual page 660

Hide thumbs Also See for AH500:
Table of Contents

Advertisement

AH 5 00 Pr ogr am m ing Ma n ua l
API
Instruction code
2118
$CLR
Device X
Y
M
S
Symbol:
Explanation:
1.
The string in S is cleared.
b15
S
16#31(1)
S
+1
16#
33(3)
S
+2
16#
34(4)
16#
36(6)
S
+3
S
+4
16#
38(8)
S
+5
Example:
The string in D0 is cleared, as illustrated below.
b15
b8
D0
16#32(2)
D1
16#
34(4)
D2
16#
36(6)
D3
16#
00
Additional remark:
1.
If the string in S does not end with 16#00, SM0 is ON, and the error code in SR0 is 16#200E.
6 - 4 9 2
Operand
P
S
S
T
C
HC
D
Pulse instruction 16-bit instruction (3 steps) 32-bit instruction
AH500
S : String which is cleared
b8
b7
b0
16#
2D(-)
16#
32(2)
16#
35(5)
16#
2E(.)
After the instruction
16#
37(7)
is executed
16#
00
b7
b0
16#31(1)
16#
33(3)
16#
35(5)
After the instruction
16#
37(7)
is executed
Clearing the string
L
SM SR
E
PR
AH500
S
S
+1
S
+2
S
+3
S
+4
S
+5
16#
0000
16#
0000
16#
0000
16#
0000
Function
K
16# "$"
DF
-
Word
16#
0000
16#
0000
16#
0000
16#
0000
16#
0000
16#
0000
D0
D1
D2
D3

Advertisement

Table of Contents
loading

Table of Contents