Left - Allen-Bradley Micro800 General Instructions Manual

Programmable controllers
Hide thumbs Also See for Micro800:
Table of Contents

Advertisement

Chapter 22
String manipulation instructions

Left

Parameter
EN
IN
NbC
LEFT
ENO
604
From the left end of strings, LEFT yields the number of characters defined.
Arguments
Parameter Type
Data Type
Input
BOOL
Input
STRING
Input
DINT
Output
STRING
Output
BOOL
LEFT function language examples
Function block diagram
Ladder diagram
Rockwell Automation Publication 2080-RM001D-EN-E - February 2015
Description
Function enable.
When EN = TRUE, yield number of characters from left side of string.
When EN = FALSE, no operation.
Any non-empty string.
Number of characters to be extracted. This number cannot be greater than
the length of the IN string.
Left part of the IN string (its length = NbC). Can be:
• empty string if NbC <= 0
• complete IN string if NbC >= IN string length
Enable out.

Advertisement

Table of Contents
loading

Table of Contents