Toshiba PROSEC T1 User Manual page 134

Programmable controller
Hide thumbs Also See for PROSEC T1:
Table of Contents

Advertisement

7. Instructions
Conversion instructions
FUN
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
132
T1/T1S User's Manual
CTi Automation - Phone: 800.894.0412 - Fax: 208.368.0415 - Web: www.ctiautomation.net - Email: info@ctiautomation.net
Name
Expression
-[ A HTOA ( n ) B ]-
-[ A ATOH ( n ) B ]-
-[ A ABS B ]-
-[ A NEG B ]-
-[ A+1 × A DNEG B+1 × B ]-
-[ A 7SEG B ]-
-[ A ASC B ]-
-[ A BIN B ]-
-[ A BCD B ]-
Function
Converts the hexadecimal
data of n words stating with A
into ASCII characters, and
stores them in n x2 registers
starting with B .
Converts the ASCII
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
in B .
Stores the 2's complement
value of A in B .
Stores the 2's complement
value of A+1 × A in B+1 × B .
Converts lower 4 bits of A into
7-segment code, and stores it
in B .
Converts the alphanumerics
(max. 16 characters) of A into
ASCII codes, and stores them
in registers starting with B .
Converts the BCD data in A
into binary data, and stores it
in B .
Converts the binary data in A
into BCD data, and stores it in
B .
6F3B0250
Steps Speed Available Page
T1 T1S
(ms)
Ö
4
Ö
4
Ö
Ö
3
5.0
Ö
Ö
3
4.6
Ö
Ö
3
4.6
Ö
Ö
3
43.9
Ö
Ö
3 - 10 29.8 -
49.6
Ö
Ö
3
65.5
Ö
Ö
3
55.6
179
180
249
250
251
252
254
255
256

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Prosec t1s

Table of Contents