Porovnávané verzie

Kľúč

  • Tento riadok sa pridal
  • Riadok je odstránený.
  • Formátovanie sa zmenilo.

...

The following table shows conversion possibilities among individual data types in the D2000 system. The character "N" means that the conversion of the type in the given row to the type in the given column is not possible. The character "Y" means, that the conversion is possible and the conversion result is shown in the parenthesis.

  • B - (Boolean) logical value
  • I - Integer value
  • R - Real value
  • Ta - Absolute Time
  • Tr - Relative Time

 


 

BIRTaTr
B×Y (0,1)*Y (0.0, 1.0)NN
IN×Y (same value)NY (seconds)
RNY (rounding)×NY (seconds, milliseconds)
TaNNN×**N
TrNY (seconds)Y (seconds, milliseconds)N×

* R=(B+B)*1.0

** Ta-Ta=Tr

 


Note

  • Change of operand value type to Integer is performed by multiplying the value by the number 1 (value * 1).
  • Change of operand value type to Real is performed by multiplying the value by the number 1.0 (value * 1.0).

Info
titleRelated pages:

DODM - dynamic object data model
Internal data types
Object classification
Object communication

...