Deleting String Data - Mitsubishi Electric MELSEC iQ-R Series Programming Manual

Hide thumbs Also See for MELSEC iQ-R Series:
Table of Contents

Advertisement

Deleting string data

STRDEL(P)
RnPCPU
RnCPU RnENCPU
(Process)
These instructions delete (n) characters starting from the specified position of string data.
Ladder
(d)
FBD/LD
EN
ENO
s
d
n
■Execution condition
Instruction
STRDEL
STRDELP
Setting data
■Descriptions, ranges, and data types
Operand
Description
(d)
Start device containing the character string to be deleted
(s)
Deletion start position
(n)
Number of characters to be deleted
EN
Execution condition
ENO
Execution result
■Applicable devices
Operand
Bit
X, Y, M, L,
SM, F, B, SB,
FX, FY
(d)
(s)
(n)
7 APPLICATION INSTRUCTIONS
702
7.8 String Processing Instructions
RnPCPU
RnSFCPU RnSFCPU
(Redundant)
(Standard)
(Safety)
(s)
(n)
Execution condition
Word
J\
T, ST, C, D, W,
SD, SW, FD, R,
ZR, RD
ST
ENO:=STRDEL(EN,s,n,d);
ENO:=STRDELP(EN,s,n,d);
Range
1 to 16383
0 to 16384-(s)
Double word Indirect
U\G, J\,
Z
LT, LST,
U3E\(H)G
LC
Data type
Data type (label)
String
ANYSTRING_SINGLE
16-bit unsigned binary
ANY16
16-bit unsigned binary
ANY16
Bit
BOOL
Bit
BOOL
Constant
specification
LZ
K, H E
Others
$

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents