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...
Chapter 12 Data conversion instructions
286 Rockwell Automation Publication 2080-RM001D-EN-E - February 2015
ANY_TO_LWORD converts a value to a 64-bit Long Word value.
Arguments
Parameter Parameter Type Data Type Description
EN Input BOOL Function enable.
When Enable = TRUE, execute the conversion to the 64-bit long Word
computation.
When Enable = FALSE, there is no computation.
Applies only to LD programs.
i1 Input BOOL - SINT - USINT - BYTE - INT -
UINT - WORD - DINT - UDINT - DWORD
- LINT - ULINT - REAL - LREAL - TIME -
DATE - STRING
Any value other than a long Word.
o1 Output LWORD A 64-bit long Word value.
ENO Output BOOL Enable out.
Applies only to LD programs.
ANY_TO_LWORD operator ST language example
(* ST Equivalence: *)
bres := ANY_TO_LWORD (true);
(* bres is 1 *)
tres := ANY_TO_LWORD (t#0s46ms);
(* tres is 46 *)
mres := ANY_TO_LWORD ('0198');
(* mres is 198 *)
ANY_TO_LWORD

Table of Contents

Other manuals for Allen-Bradley Micro800

Related product manuals