Delete - Allen-Bradley Micro800 General Instructions Manual

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

Advertisement

Chapter 22
String manipulation instructions

DELETE

Parameter
EN
IN
NbC
Pos
DELETE
ENO
598
DELETE deletes part of a string.
Arguments
Parameter Type
Data Type
Input
BOOL
Input
STRING
Input
DINT
Input
DINT
Output
STRING
Output
BOOL
DELETE function language examples
Function block diagram
Rockwell Automation Publication 2080-RM001D-EN-E - February 2015
Description
Function enable.
When EN = TRUE, delete specified part of a string.
When EN = FALSE, no operation.
Any non-empty string.
Number of characters to be deleted.
Position of the first deleted character
(first character of the string has position 1).
Can be a(n):
• modified string
• empty string (if Pos < 1)
• initial string (if Pos > IN string length)
• initial string (if NbC <= 0)
Enable out.

Advertisement

Table of Contents
loading

Table of Contents