9/19/2006 8:40 AM | |
Joined: 9/28/2005 Last visit: 12/14/2022 Posts: 414 Rating:
|
Hi, So this ishow your project looks like? (see attachment) Where are you monitoring the variables? In the VAT? If so, you should not have any problems AttachmentJump_tes.zip (467 Downloads) |
Last edited by: Smurf at: 9/19/2006 10:11 AMtextual correction Smurf |
|
9/19/2006 9:32 AM | |
Joined: 9/30/2005 Last visit: 5/20/2024 Posts: 15 Rating:
|
Yes, that's exactly the same project as mine (except CPU type - I have 314 1AF11...). The problems still apears when observing variables in VAT, takea look at screenshots (attachment)...Attachmentjump_issue.zip (455 Downloads) |
9/19/2006 11:18 AM | |
Joined: 9/30/2005 Last visit: 5/20/2024 Posts: 15 Rating:
|
If somebody is interested, I've made some analysis using breakpoints. Screenshots are included in pdf file. I've also send request to service support. Best regards, Bartek Attachmentjump_issue.pdf (441 Downloads) |
9/20/2006 3:12 PM | |
Joined: 9/30/2005 Last visit: 5/20/2024 Posts: 15 Rating:
|
Hello, I get answer from Siemens Support. They confirm this behaviour and advice to consider it during programming (!). They also answered, why this example program works on PLCSim. They state that PLCSim works like S7-400. I have also got following link: http://support.automation.siemens.com/WW/view/en/22171961 Explanation available there does not answer all questions. I think that to explain this phenomena we must know how exactly compilation process looks like and how exactly logic is processed inside PLC. ---- Writing programs (in assembly language) on microprocessor You will never suspect such behaviour - during jump, the PC register (program counter) is increased by specific number of bytes and program continues execution from new location... |
Follow us on