![Omron CJ1G-CPUxx Instructions Manual Download Page 1058](http://html1.mh-extra.com/html/omron/cj1g-cpuxx/cj1g-cpuxx_instructions-manual_7424911058.webp)
1037
Text String Processing Instructions
Section 3-33
Flags
Precautions
The Error Flag will all turn OFF when the instruction is executed.
Example
In this example, CLR$(666) is used to clear text string ABCDE.
3-33-13 INSERT INTO STRING: INS$(657)
Purpose
Deletes a designated text string from the middle of a text string.
Ladder Symbol
Variations
Applicable Program Areas
Operands
S1: Base Text String
S2: Inserted Text String
Name
Label
Operation
Error Flag
ER
OFF
S:
S:
S
Text string ABCDE
S1: Base text string first word
S2: Inserted text string first word
S3: Beginning position
D: First destination word
INS$(657)
S1
S2
S3
D
Variations
Executed Each Cycle for ON Condition
INS$(657)
Executed Once for Upward Differentiation
@INS$(657)
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
Text string data: 4,095 characters max. + NUL
S2 + maximum 2,047 words
to
15
0
S2
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 ...