1/11/2007 6:32 PM | |
Joined: 10/31/2005 Last visit: 8/6/2024 Posts: 366 Rating:
|
Here's one solution. This is without use of OB35. I'll use OB35 for what I need, but I'd like to read your comments about this. Thanks AttachmentFB_D_T_s.zip (948 Downloads) |
1/12/2007 7:36 AM | |
Joined: 10/31/2005 Last visit: 8/6/2024 Posts: 366 Rating:
|
[quote user="Aret"] 2) In FB2 you use x_tmp and y_tmp as TEMP variables. So it might be cleared on next call. You should declare them as static. You say might; I also think in same way, but when I tested my program, it worked. If I understood story about FB, temp variables will be cleared on each next cycle. If that is true, then this will not work. However, I tested it with PLCSIM and it works. I would like you to test it also. Please, is there any way to convert project to different language options so you can open it? P.S. I have change Regional settings in windows, opened project and closed it. Can you try to open it now? AttachmentFB_D_T_s.zip (755 Downloads) |
Last edited by: Pandiani at: 1/12/2007 8:14 AM |
|
Follow us on