2/27/2017 1:32 PM | |
Posts: 25 Rating: (0) |
Hi, I am afraid, the behavior of InOut params is not clear and depends on the type of FB (optimised <> standard). Some thread deals with it... Regards |
2/27/2017 5:51 PM | |
Posts: 5225 Rating: (1185)
|
Hi-ya all. Please find for your review a little piece of code that will demonstrate/simulate two ways that tags can be referenced. The code can be loaded and the Watch Table can be used to control the triggers. The code has been created in TIA Portal V13 SP1 Update 9 and is able to run in the PLCSIM simulator. The project is zipped. The ZAP13 file contained within, can be opened by the TIA software File > Retrieve. I have used the code to simulate what happens if a HMI or interrupt routine manipulate a value that is already being used by an FB / FC. FC1 and FC2 represents those out of sequence occurrences. In FB1 and FB2 these are called in the worst possible moment. Maybe best if others have a look at the code before discussing more detail.
Reference post: [LINK] AttachmentSimInterrupt_V1.zip (181 Downloads) |
Last edited by: William_B at: 2/27/2017 5:56:08 PMAdd link |
|
Follow us on