Delta AS Series Programming Manual page 1039

Hide thumbs Also See for AS Series:
Table of Contents

Advertisement

b15
S
16#42( B)
16#44( D)
S+1
16#46( F)
S+2
16#48( H)
S+3
16#00
S+4
(
En di ng cha ra cter
Example 1
1. Declare two symbols Test String and Len.
2. When M0 switches from OFF to ON, the instruction $LEN counts and stores the string length into the value in Len.
Additional remarks
1.
If the string does not end with 16#00, the instruction executes to the maximum length of 32767.
2.
If the length of the value exceeds the device range, the last character is processed as the ending character.
b8
b7
b0
16#41( A)
16#43( C)
ABCDEF GHI
16#45( E)
16#47( G)
16#49( I)
)
Cha p ter 6 App l ied Ins truc tio ns
b15
9
b0
D
6_
6 - 7 5 9

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents