![Omron CJ1G-CPUxx Instructions Manual Download Page 1052](http://html1.mh-extra.com/html/omron/cj1g-cpuxx/cj1g-cpuxx_instructions-manual_7424911052.webp)
1031
Text String Processing Instructions
Section 3-33
If 0000 (hex) is output to D, the Equals Flag will turn ON.
Set the first destination word D so that it does not overlap with the areas set
with the replacement text string first word S2. RPLC$(654) will not work cor-
rectly if these areas overlap.
Example
In this example, RPLC$(654) is used to read three characters.
3-33-10 DELETE STRING: DEL$(658)
Purpose
Deletes a designated text string from the middle of a text string.
Ladder Symbol
Variations
Applicable Program Areas
Operands
S1: Text String
S1:
S3: D00300
D2: D00200
D:
D4: D00500
Text string ABCDEFGHI
Text string ABCDHI
From 5th byte.
Text string M
Three characters replaced
S1: Text string first word
S2: Number of characters
S3: Beginning position
D: First destination word
DEL$(658)
S1
S2
S3
D
Variations
Executed Each Cycle for ON Condition
DEL$(658)
Executed Once for Upward Differentiation
@DEL$(658)
Executed Once for Downward Differentiation
Not supported
Immediate Refreshing Specification
Not supported
Block program areas
Step program areas
Subroutines
Interrupt tasks
OK
OK
OK
OK
Text string data: 4,095 characters max. + NUL
S1 + maximum 2,047 words
15
0
S1
to
Summary of Contents for CJ1G-CPUxx
Page 3: ...iv N o t i c e ...
Page 5: ...vi ...
Page 21: ...xxii Conformance to EC Directives 6 ...
Page 35: ......
Page 1131: ...1110 CJ series Instruction Execution Times and Number of Steps Section 4 2 ...