Toshiba PROSEC T1-16S User Manual page 116

Programmable controller basic hardware and function
Hide thumbs Also See for PROSEC T1-16S:
Table of Contents

Advertisement

7. Instructions
Conversion instructions
FUN
Name
No.
062 Hex to ASCII
conversion
063 ASCII to Hex
conversion
180 Absolute value
182 2's
complement
183 Double-word
2's
complement
185 7-segment
decode
186 ASCII
conversion
188 Binary
conversion
190 BCD
conversion
114
T1-16S User's Manual
Expression
Converts the hexadecimal
[ A HTOA (n) B ]
data of n words stating with
A into ASCII characters, and
stores them in nx2 registers
starting with B.
Converts the ASCII
[ A ATOH (n) B ]
characters stored in n
registers stating with A into
hexadecimal data, and stores
them in n/2 registers starting
with B.
Stores the absolute value of
[ A ABS B ]
A in B.
Stores the 2's complement
[ A NEG B ]
value of A in B.
Stores the 2's complement
[ A+1 A DNEG B+1 B ]
value of A+1 A in B+1 B.
[ A 7SEG B ]
Converts lower 4 bits of A
into 7-segment code, and
stores it in B.
Converts the alphanumerics
[ A ASC B ]
(max. 16 characters) of A
into ASCII codes, and stores
them in registers starting
with B.
[ A BIN B ]
Converts the BCD data in A
into binary data, and stores it
in B.
[ A BCD B ]
Converts the binary data in A
into BCD data, and stores it
in B.
Function
Steps
4
4
3
3
3
3
3 - 10
3
3
6F3B0253
Speed
Page
( s)
161
162
5.0
231
4.6
232
4.6
233
43.9
234
29.8 -
236
49.6
65.5
237
55.6
238

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents