1/20/2025 9:02 AM | |
Joined: 10/16/2007 Last visit: 8/18/2025 Posts: 652 Rating:
|
Hello, in which line exactly does the error occur? Regards Scott |
1/21/2025 1:22 AM | |
Joined: 10/7/2005 Last visit: 9/3/2025 Posts: 3049 Rating:
|
Hi mr.petrovicc the "DO FW 145, JU FB 0" program will call an FB based on the number that is in FW 145, e.g.:
While this was not uncommon in S5 with calls to PB's and SB's to implement for example Sequencer logic, it is rather uncommon to do so with FB's (albeit allowed). My advice, find out what possible values FW 145 can have in the program first so you can identify the FB's that are being called. Thereafter, rewrite it all in S7 to suit (and although Step7 does cater for UC FC xyz calls via indirect addressing, you are well adviced to stay away from this) |
Cheers |
|
Follow us on