EasyManua.ls Logo

Omron NJ501-1500

Omron NJ501-1500
990 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
2-537
2 Instruction Descriptions
NJ-series Instructions Reference Manual (W502)
Text String Instructions
2
ClearString
ClearString
The ClearString instruction clears a text string.
The ClearString instruction clears clear string InOut. NULL characters are stored in the entire range of
InOut.
The following figure shows a programming example. The content of STRING variable will be all NULL
characters.
Return value Out is not used when the instruction is used in ST.
Instruction Name FB/FUN Graphic expression ST expression
ClearString Clear String FUN ClearString(InOut);
Variables
Name Meaning I/O Description Valid range Unit Default
InOut Clear string In-out Text string to clear Depends on data type.
--- ---
Out Return
value
Output Always TRUE TRUE only --- ---
Boolean
Bit strings Integers
Real
numbers
Times, durations,
dates, and text strings
BOOL
BYTE
WORD
DWORD
LWORD
USINT
UINT
UDINT
ULINT
SINT
INT
DINT
LINT
REAL
LREAL
TIME
DATE
TOD
DT
STRING
InOut OK
Out OK
Function
Precautions for Correct Use
(@)ClearString
EN ENO
InOut
Out
ClearString(abc);
LD ST
abc abc
ClearString
EN ENO
InOut

Table of Contents

Related product manuals