String Instructions - Siemens SIMATIC S7-200 System Manual

Programmable controller
Hide thumbs Also See for SIMATIC S7-200:
Table of Contents

Advertisement

S7-200 Programmable Controller System Manual

String Instructions

String Length
The String Length instruction (SLEN) returns the length of
the string specified by IN.
Copy String
The Copy String instruction (SCPY) copies the string
specified by IN to the string specified by OUT.
Concatenate String
The Concatenate String instruction (SCAT) appends the
string specified by IN to the end of the string specified by
OUT.
SM Bits and ENO
For the String Length, Copy String, and Concatenate String
instructions, the following conditions affect ENO.
Error conditions that set ENO = 0
H 0006 (indirect address)
H 0091 (range error)
Table 6-64
Valid Operands for the String Length Instruction
Inputs/Outputs
IN
OUT
Table 6-65
Valid Operands for the Copy String and Concatenate String Instructions
Inputs/Outputs
IN
OUT
184
Data Types
Operands
STRING
VB, LB, *VD, *LD, *AC, Constant String
BYTE
IB, QB, VB, MB, SMB, SB, LB, AC, *VD, *LD, *AC
Data Types
Operands
STRING
VB, LB, *VD, *LD, *AC , Constant String
STRING
VB, LB, *VD, *AC, *LD

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents