IDEC MICROSmart FC6A Series Ladder Programming Manual page 212

Automation organizer windldr
Hide thumbs Also See for MICROSmart FC6A Series:
Table of Contents

Advertisement

10: D
C
ATA
ONVERSION
Examples: CVDT
• Data Type: Either S1 or D1 is not F (float)
Unless F (float) data is selected for both source and destination, only the integral number is moved, omitting the fraction.
CVDT
SOTU
FTOW
I0
• 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.
.
CVDT
SOTU
DTOW
I0
10-20
I
NSTRUCTIONS
S1 –
D1 –
REP
D0
D2
S1 –
D1 –
REP
D0
D2
FC6A S
MICROS
ERIES
MART
Device
Source
Destination
When input I0 is turned on, 3 is stored to data register D2.
S1
3.141593
D0·D1
Device
Source
Destination
When input I0 is turned on, 65,535 is stored to data register D2.
S1
4294967295
D0·D1
L
P
M
ADDER
ROGRAMMING
ANUAL
Data Type
Value
F
3.141593
W
3
D1
D2
3
Data Type
Value
D
4,294,967,295
W
65,535
D1
D2
65535
FC9Y-B1726

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents