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