Right - Allen-Bradley Micro800 General Instructions Manual

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

Advertisement

Chapter 22
String manipulation instructions

RIGHT

Parameter
EN
IN
NbC
RIGHT
ENO
610
From the right ends of strings, RIGHT yields the number of characters defined.
Arguments
Parameter Type
Data Type
Input
BOOL
Input
STRING
Input
DINT
Output
STRING
Output
BOOL
Rockwell Automation Publication 2080-RM001D-EN-E - February 2015
Description
Function enable.
When EN = TRUE, yield specified number of characters from the right end
of the 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.
Right part of the string (length = NbC). Can be:
• empty string if NbC <= 0
• complete string if NbC >= string length
Enable out.

Advertisement

Table of Contents
loading

Table of Contents