EasyManua.ls Logo

Allen-Bradley Micro800

Allen-Bradley Micro800
652 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Data conversion instructions Chapter 12
Rockwell Automation Publication 2080-RM001D-EN-E - February 2015 281
ANY_TO_DINT converts a value to 32-bit Double Integer value.
Arguments
Parameter Parameter Type Data Type Description
EN Input BOOL Function enable.
When Enable = TRUE, execute the conversion to the 32-bit Double
Integer computation.
When Enable = FALSE, there is no computation.
Applies only to LD programs.
i1 Input BOOL - SINT - USINT - BYTE - INT
- UINT - WORD - UDINT -
DWORD - LINT - ULINT - LWORD
- REAL - LREAL - TIME - DATE -
STRING
Any value other than a Double Integer.
o1 Output DINT A 32-bit Double Integer value.
ENO Output BOOL Enable out.
Applies only to LD programs.
ANY_TO_DINT operator ST language example
(* ST Equivalence: *)
bres := ANY_TO_DINT (true);
(* bres is 1 *)
tres := ANY_TO_DINT (t#1s46ms);
(* tres is 1046 *)
mres := ANY_TO_DINT ('0198');
(* mres is 198 *)
ANY_TO_DINT

Table of Contents

Other manuals for Allen-Bradley Micro800

Related product manuals