EasyManuals Logo

Panasonic FP Series User Manual

Panasonic FP Series
1345 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #273 background imageLoading...
Page #273 background image
String instructions
272
Part II IEC Instructions
DELETE
Delete characters from a string
To add an enable input and enable output to the instruction, select [With EN/ENO] from the
"Instructions" pane (LD, FBD or IL editor). To reuse an instruction select "Recently used" from the
context menu or press <Ctrl>+<Shift>+<v> in the programming window.
PLC types
Availability of DELETE (see page 1319)
If the output string is longer than the length defined for the output
variable (output_string) in the field "Type", only as many characters
are copied, starting from the left, as the output variable can hold. The
special internal relay R9009 (%MX0.900.9) is set.
The number of steps may vary depending on the PLC and parameters
used, see also Table of Code Intensive Instructions in the online help.
(up to 200 steps)
Data type I/O Function
STRING 1st input input string
INT 2nd input number of input string's characters that are deleted
INT 3rd input position where deletion begins
STRING output resulting string
No. IEC address Set If
R9007 %MX0.900.7 permanently
R9008 %MX0.900.8 for an instant
input string is longer than the length
defined for the input variable in the field
"Type"
R9009 %MX0.900.9 for an instant output string is longer than the length
defined for the output variable in the field
"Type"
In this example the input variables (input_string, character_number and start_position) have
been declared. Instead, you may enter the string ('Ideas for life'), the number of characters to be
Description
DELETE deletes L characters in the string IN starting at position P with 1 denoting the first
character of the string. The result is written into the output variable.
Data types
Error flags
Example
In this example, the same POU header is used for all programming languages. For an example
using IL (instruction list), please refer to the online help.
POU header
All input and output variables used for programming this function have been declared in the POU
header.

Table of Contents

Other manuals for Panasonic FP Series

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Panasonic FP Series and is the answer not in the manual?

Panasonic FP Series Specifications

General IconGeneral
MountingDIN rail
TypePLC
Communication InterfaceRS-232, RS-485, Ethernet (depending on model)
Input Voltage100-240V AC or 24V DC (depending on model)
Output TypeRelay, Transistor
I/O PointsVaries by model
Operating Temperature0°C to 55°C
DimensionsVaries by model
WeightVaries by model

Related product manuals