Siemens S5 to S7 Migration

S5 to S7 program

Hai All..

I really want to know and needs your help. Currently i'm doing the conversion
S5 to S7. I used S5 135U and convert to S7-3XX..The problem is i do not know how to migrate some blocks into S

Can anyone help me how to convert this S5 program to S7 and need your suggestion or opinion..

The data blocks and so on will going later..

//JU FB 232 II - Controller
//Name :RLG:II
//ON : F 185.0 Heating zone on
//MODB : KY 2,62 MODX
//XE : OW 126 Act.val.heat.zone
//ZT : FY 126 Time tact counter
//ZNZR : KY 3,5 Time tact
//YHIA : Q 61.7 Output heating
//YCIA : F 255.7 Output cooling
//EMDB : DB 121 Transfer DB UNIX --> S5
//SET : DW 98 DW for setp.
//ACDB : DB 132 Transfer DB UNIX <-- S5
//ACT : DW 172 DW for act.val.
//ACOH : DW 173 contr.outp.htg
//ACOC : FW 254
//HIHI : F 169.0 HIHI alarm
//OPWI : F 171.0 open wire
//HILO : F 173.0 out of tolerance
//MANU : F 175.0 controller in manual
 
mrbundle, that looks like a specific siemens function?

If so, you would have to find the equivalent block in S7 and then just translate the addresses.

Remember to double your dataword address because S5 DWs are addresssed 0,1,2,3 but S7 are addressed 0,2,4,6 so DW98 in your example becomes DBW196.

;-)
 
mrbundle, that looks like a specific siemens function?

If so, you would have to find the equivalent block in S7 and then just translate the addresses.

Remember to double your dataword address because S5 DWs are addresssed 0,1,2,3 but S7 are addressed 0,2,4,6 so DW98 in your example becomes DBW196.

;-)

Hai uptown 47,

thanks for your advise..reallt appreciate..can you give the example structure of S7 program..
 
An S7 program is structured normally via OB1.
OB1 then 'calls' other functions and function blocks. Some of those functions can be special functions (SFB's and SFC's). These are built in to the software to stop people having to reinvent the wheel everytime they want to do something like a shift register etc.

Hope that helps

;-)
 

Similar Topics

Hi everyone, i have a Siemens S7-300 Cpu 314C-2 DP with several cards of i/o and servos my laptop has TIA version 16 and 17 loaded and...
Replies
4
Views
170
Good day, May I ask, what do I need to perform MIGRATION of HMI program from Siemens MP277 10" Touch hmi to TP1200. I already have WinCC Flexible...
Replies
0
Views
164
Hello, i am using siemens s7-1200 normally but since the chip crisis thingy there are like no siemens plcs left in my country anymore, so i was...
Replies
11
Views
3,654
I need to confirm that the can we convert the KTP1200 Basic PN to TP1200 Comfort HMI. I am using TIA Ver 14 and it shows the Device change option...
Replies
1
Views
2,243
Greetings can any one help to know how to do application program migration from S5 to S7 , what should i take care with?!! thanks in advance
Replies
0
Views
1,652
Back
Top Bottom