Lower Case (Lower); Relay Ladder; Structured Text - Allen-Bradley Logix5000 Reference Manual

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

Advertisement

Lower Case (LOWER)

LOWER(Source,Dest);
Description:
Arithmetic Status Flags:
Fault Conditions:
Condition
Prescan
Rung-condition-in is false
Rung-condition-in is true
EnableIn is set
Instruction execution
Postscan
ASCII Conversion Instructions (STOD, STOR, DTOS, RTOS, UPPER, LOWER)
The LOWER instruction converts the alphabetical characters in a string to lower
case characters.
Operands:

Relay Ladder

Operand
Source
Destination

Structured Text

The operands are the same as those for the relay ladder LOWER instruction.
The LOWER instruction converts to lower case all the letters in the Source and
places the result in the Destination.
· ASCII characters are case sensitive. Upper case 'A' ($41) is not equal to
lower case 'a' ($61).
· If operators directly enter ASCII characters, convert the characters to all
upper case or all lower case before you compare them.
Any characters in the Source string that are not letters remain unchanged.
Not affected
None
Execution:
Relay Ladder Action
The rung-condition-out is set to false.
The rung-condition-out is set to false.
The instruction executes.
The rung-condition-out is set to true.
N/A
The instruction converts the Source to lower case.
The rung-condition-out is set to false.
Rockwell Automation Publication 1756-RM003N-EN-P - October 2011
Type
Format
String
Tag
String
Tag
Structured Text Action
No action taken.
N/A
N/A
EnableIn is always set.
The instruction executes.
No action taken.
Description
Tag that contains the characters that you want to
convert to lower case
Tag to store the characters in lower case
Chapter 19
633

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents