Siemens SIMATIC S7 System Manual page 363

Hide thumbs Also See for SIMATIC S7:
Table of Contents

Advertisement

Error conditions with ENO = 0
0006H Indirect address
0091H Operand out of range
Inputs/Outputs
Data types
IN
STRING
OUT
STRING
Example: Concatenate string, copy string, and string length Instructions
LAD
S7-200 SMART
System Manual, V2.3, 07/2017, A5E03822230-AF
SM bits affected
None
Operands
VB, LB, *VD, *LD, *AC, Constant string
VB, LB, *VD, *LD, *AC
1. Append the string "WORLD" to the
string at VB0.
2. Copy the string at VB0 to a new string
at VB100.
3. Get the length of the string that starts
at VB100.
Program instructions
7.15 String
STL
Network 1
LD I0.0
SCAT "WORLD", VB0
SCPY VB0, VB100
SLEN VB100, AC0
363

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Simatic s7-200 smart

Table of Contents