Allen-Bradley Logix5000 Reference Manual page 621

1756 controllogix, 1768 compactlogix, 1769 compactlogix, 1789 softlogix, 1794 flexlogix, powerflex 700s with drivelogix
Hide thumbs Also See for Logix5000:
Table of Contents

Advertisement

If you want to
Convert the ASCII representation of an
integer value to a SINT, INT, DINT, or
REAL value
Convert the ASCII representation of a
floating-point value to a REAL value
Convert a SINT, INT, DINT, or REAL value
to a string of ASCII characters
Convert a REAL value to a string of ASCII
characters
Convert the letters in a string of ASCII
characters to upper case
Convert the letters in a string of ASCII
characters to lower case
ASCII Conversion Instructions
(STOD, STOR, DTOS, RTOS, UPPER, LOWER)
Topic
String To DINT (STOD)
String To REAL (STOR)
DINT to String (DTOS)
REAL to String (RTOS)
Upper Case (UPPER)
Lower Case (LOWER)
Use the ASCII conversion instructions to alter the format of data.
For example
Convert a value from a weight scale or
other ASCII device to an integer so you
can use it in your logic
Convert a value from a weight scale or
other ASCII device to a REAL value so you
can use it in your logic
Convert a variable to an ASCII string so
you can send it to a MessageView
terminal
Convert a variable to an ASCII string so
you can send it to a MessageView
terminal
Convert an entry made by an operator to
all upper case so you can search for it in
an array
Convert an entry made by an operator to
all lower case so you can search for it in
an array
Rockwell Automation Publication 1756-RM003N-EN-P - October 2011
Page
623
625
627
629
631
633
Use this
Available in these
instruction
languages
STOD
Relay ladder
Structured text
STOR
Relay ladder
Structured text
DTOS
Relay ladder
Structured text
RTOS
Relay ladder
Structured text
UPPER
Relay ladder
Structured text
LOWER
Relay ladder
Structured text
19
Chapter
Page
623
625
627
629
631
633
621

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents