EasyManua.ls Logo

Inovance H3U Series - Page 238

Inovance H3U Series
737 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
237
4
4 Instructions 4.6.4 Matrix Rotation and Shift
STR: Conversion from BIN to string format
Overview
The STR instruction converts BIN numbers into ASCII-encoded strings.
STR
S1 S2 D
Conversion from
BIN to string
format
Applicable model:
H3U
S1
Character
count
Start number of elements that store the total
number of characters contained in a string after
conversion
16-bit instruction (7
steps)
STR: Continuous
execution
STRP: Pulse
execution
32-bit instruction
(13 steps)
DSTR: Continuous
execution
DSTRP: Pulse
execution
S2
Converted
data
Number of the element that stores the BIN
number to be converted
D Output
Start number of elements that store the string
after conversion
Operands
Operand
Bit Element Word Element
System·User System·User Bit Designation Indexed Address Constant
Real
Number
S1 X Y M T C S SM D R T C SD KnX KnY KnM KnS KnSM
V,Z
Modication K H E
S2 X Y M T C S SM D R T C SD KnX KnY KnM KnS KnSM
V,Z
Modication K H E
D X Y M T C S SM D R T C SD KnX KnY KnM KnS KnSM
V,Z
Modication K H E
Note: The elements in gray background are supported.
Function
1) 16-bit operation (STR and STRP)
A decimal point is inserted into the 16-bit BIN number in [S2] to convert it to a string. The position of
insertion is specied collectively by [S1] (which indicates the total number of characters) and [S1+1]
(which indicates the number of characters in the fractional part). The result is stored in elements from
head address [D].
STR S1 S2 D

Table of Contents

Other manuals for Inovance H3U Series

Related product manuals