UPPER - Convert a string to upper case characters

Help Contents

Introduction

Returns the string converted to uppercase characters.

Syntax

Informal Syntax:

UPPER( In )

Formal Syntax:

UPPER( In:=expression )

Parameters

ParameterTypeDescription
InANY_CHARSThe input string or character.

The function is overloaded and accepts either CHAR, WCHAR, STRING or WSTRING types for the In parameter.

Return Value

The function UPPER returns the upper case equivalent on the input parameter In.

The type of the return value is the same as the type of the In parameter.

Examples

ExampleReturn Value
UPPER('')STRING#''
UPPER('Modbus')STRING#'MODBUS'
UPPER("Modbus")STRING#"MODBUS"

Standards Compliance

The function UPPER is an extension to the IEC 61131-3 standard.

Further Information

String Functions

To learn about other String Functions.

Common Elements

To learn about other IEC 61131-3 Common Elements.

Glossary

For the meaning of terms used in Fernhill SCADA.