11: D
ATA
C
ONVERSION
I
NSTRUCTIONS
11-20
FT1A S
MART
A
XIS
U
SER
’
S
M
ANUAL
FT9Y-B1382
Examples: CVDT
Data Type: Either S1 or D1 is not F (float)
Unless F (float) data type is selected for both source and destination, only the integral number is moved, omitting the fraction.
Data Type: S1 has a larger data range than D1
When the source data exceeds the range of destination data type, the destination stores a value closest to the source data within the destination
data type
.
Device
Data Type
Value
Source
F
3.141593
Destination
W
3
When input I0 is turned on, 3 is stored to data register D2.
I0
REP
D1 –
D2
SOTU
S1 –
D0
CVDT
FTOW
3
D2
D1
S1
3.141593
D0·D1
Device
Data Type
Value
Source
D
4294967295
Destination
W
65535
When input I0 is turned on, 65535 is stored to data register D2.
I0
REP
D1 –
D2
SOTU
S1 –
D0
CVDT
DTOW
65535
D2
D1
S1
42949672953
D0·D1
Содержание microsmart pentra
Страница 1: ...FT1A SERIES FC9Y B1382 Ladder Programming Manual ...
Страница 6: ...Preface 5 FT1A SMARTAXIS USER S MANUAL FT9Y B1382 ...
Страница 104: ...7 DATA COMPARISON INSTRUCTIONS 7 10 FT1A SMARTAXIS USER S MANUAL FT9Y B1382 ...
Страница 122: ...8 BINARY ARITHMETIC INSTRUCTIONS 8 18 FT1A SMARTAXIS USER S MANUAL FT9Y B1382 ...
Страница 138: ...10 SHIFT ROTATE INSTRUCTIONS 10 12 FT1A SMARTAXIS USER S MANUAL FT9Y B1382 ...
Страница 162: ...11 DATA CONVERSION INSTRUCTIONS 11 24 FT1A SMARTAXIS USER S MANUAL FT9Y B1382 ...
Страница 188: ...12 CALENDAR COMPARISON INSTRUCTIONS 12 26 FT1A SMARTAXIS USER S MANUAL FT9Y B1382 ...
Страница 198: ...15 REFRESH INSTRUCTIONS 15 4 FT1A SMARTAXIS USER S MANUAL FT9Y B1382 ...
Страница 202: ...16 INTERRUPT CONTROL INSTRUCTIONS 16 4 FT1A SMARTAXIS USER S MANUAL FT9Y B1382 ...
Страница 266: ...20 DUAL TEACHING TIMER INSTRUCTIONS 20 4 FC5A MICROSMART USER S MANUAL FC9Y B1273 ...
Страница 318: ...25 USER COMMUNICATION INSTRUCTIONS 25 22 FT1A SMARTAXIS USER S MANUAL FT9Y B1382 ...