Skip to content
  • There are no suggestions because the search field is empty.

Converting S5 to S7 using S5/S7 for Windows Programming Software

Can S5/S7 for Windows convert an S5 program to run on an S7? Are there any issues in the conversion, such as converting protected code in the S5 to S7 format?

The Siemens Programming Software for S5 and S7 can convert an S5 Program to run on an S7. There can be issues where a special function was used that is not supported in S7 or the S7 version is significantly different than the S5 one. It converts everything that can be converted. You should always plan on testing after a conversion.

Below is a list of the instructions that cannot be converted. If the function is a Siemens proprietary function you may not be able to view it, but it can still be converted.

Not all S5 instructions can be converted into the S7-300/400 format. These are mainly the instructions to access the system memory areas (e.g. LIR, TIR, etc.) of a S5 CPU. These instructions cannot be used with an S7 CPU. Blocks using one or more of the following instructions cannot be transferred to the S7-300 / 400 PLC series.

Bit – Test Operations

TB T x.y; TB C x.y; TB RI x.y
TBN T x.y; TBN C x.y; TBN RI x.y
SU T x.y; SU C x.y; SU RI x.y
RU T x.y; RU C x.y; RU RI x.y
TB RJ x.y; TB RS x,y; TB RT x.y
TBN RJ x.y; TBN RS x,y; TBN RT x.y
SU RJ x.y; SU RS x,y; SU RT x.y
RU RJ x.y; RU RS x,y; RU RT x.y

Load - and Transfer Operations with System Data

L RI x; L RJ x; L RS x; L RT x
T RI x; T RJ x; T RS x; T RT x

Register Functions

LDI A1; LDI A2; LDI SA; LDI BA; LDI BR
LIR
TDI A1; TDI A2; TDI SA; TDI BA; TDI BR
TIR
MAS; MAB; MSA; MSB; MBA; MBS
MBR ABR

Load - and Transfer Operations to or from Absolute Addresses

LYCBx; LYCWx; LYCDx; LYGBx; LYGWx; LYGDx
LRWx; LRDx; LWCWx; LWCDx; LWGWx; LWGDx
TYCBx; TYCWx; TYCDx; TYGBx; TYGWx; TYGDx
TWCWx; TWCDx; TWGWx; TWGDx
TRWx; TRDx; TYCx; TNBx; TNWx

Block Transfer Operations

TXB; TXW

Jump Operations

JU OBx; JC OBx

Other Organizational Operations

SEDx; (SESx)
SEEx; (SEFx)
TSCx; TSGx; LIM; SIM
DO; RS; RAS; RAF; IAE; RAE; IA
RA; UBE; STP; STS; STW

Other Operations

ACR; ENT; DI; ASM KHx