Explanation Of String Processing Instructions - Delta AS Series Programming Manual

Hide thumbs Also See for AS Series:
Table of Contents

Advertisement

6.21.2

Explanation of String Processing Instructions

API
Instruction code
2100
D
BINDA
Device
X
Y
M
S
D
Data
type
S
D
Symbol
Explanation
1.
This instruction converts the signed decimal binary number in S into an ASCII code, and stores the conversion
result in D.
2.
The instruction supports SM690 to control the ending character.
3.
For 16-bit instructions, the value in S must be a binary number and between -32768 to 32767. The operand D
occupies four word devices. The instruction converts the data is converted as follows.
b15
1234
Operand
P
S, D
S
T
C
HC
Pulse instruction
S : Source value
D : Device where the conversion result is stored
b0
b15
b8
16#32
16#34
16#00
Cha p ter 6 App l ied Ins truc tio ns
Converting a signed decimal number
D
FR
SM
SR
E
16-bit instruction
AS
AS
b7
b0
16#31
D + 0
16#33
D + 1
16#00
D + 2
Function
into an ASCII code
K
16#
"$"
F
32-bit instruction
AS
6 - 7 3 7
6_

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents