![background image](http://html1.mh-extra.com/html/pixsys/td240-series/td240-series_operation-manual_1560862088.webp)
88
10.23 CONV functions
The function CONV converts the source data into one of the
available formats:
•
TO_7SEG_SIGNED: Converts the input data (a word with sign
–32768..+32767) into a number specified in digits already
transformed in code for 7-segment display. The function will
take as parameters the number of digits to convert, starting
from the least significant digit. The coded data will be saved
(one digit per word) starting from the destination word and
then in the successive words according to the number of digits
requested.
•
TO_7SEG_UNSIGNED: This is analogous to the above con la
description with the difference that the data of origin is segno
interpreted as a word without sign (0..65535). The code is
comprised of a bit set to “1” if a segment should be lit, and if
the segment should remain dark. The association between the
bits and the segments of the display is the following:
B0
B1
B2
B7
B3
B4
B5
B6
•
TO_ASCII_SIGNED: Convert the input data (a word with sign
–32768..+32767) into ASCII-coded digits. The function will
take as parameters the number of digits to save. The coded
data will be saved (one digit per word) starting from the
destination word and then in the successive words according
to the number of digits requested.ASCII.
•
TO_ASCII_UNSIGNED: This is analogous to the above
description with the difference that the data of origin is
interpreted as a word without sign (0..65535).
Summary of Contents for TD240 series
Page 1: ...Manuale operatore...
Page 2: ...2...
Page 6: ...6 3 Mechanical dimensions and installation...
Page 24: ...24 7 1 Starter Kit Connection of the terminal to the PC...
Page 27: ...27 7 2 1 Creation of a new project...
Page 89: ...89 11 Notes Updates...
Page 90: ...90...
Page 91: ...91...