1245
Text String Processing Instructions Section 3-33
3-33-12CLEAR STRING: CLR$(666)
Purpose Clears an entire text string with NUL (00 hex).
Ladder Symbol
Variations
Applicable Program Areas
Operands S: Text String First Word
Note The data from S to S + the maximum 2,047 words must be in the same area.
Operand Specifications
Ex1: D00100
Ex2: D00200
Ex1: D00100
Ex2: D00200
Ex1
Ex2
Text strings: FG and ABCDE
Previous data
remains.
Text strings ABCDE and FG
CLR$(666)
S
S: Text string first word
Variations Executed Each Cycle for ON Condition CLR$(666)
Executed Once for Upward Differentiation @CLR$(666)
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
15 0
S
to
Text string data: 4,095 characters max. + NUL
S + maximum 2,047 words
Area S
CIO Area CIO 0000 to CIO 6143
Work Area W000 to W511
Holding Bit Area H000 to H511
Auxiliary Bit Area A448 to A959
Timer Area T0000 to T4095
Counter Area C0000 to C4095
DM Area D00000 to D32767
EM Area without bank E00000 to E32767
EM Area with bank En_00000 to En_32767
(n = 0 to C)