Writing Data into OPC Simulink Blocks
Show older comments
Im totally new to these OPC blocks and was trying out the functions
I noticed that when i tried to write things into the OPC Write block and read it, the output from the reading always give me a slight delay (abt 0.1s).
Is it because the OPC blocks are programmed this way? And is there any ways to bypass this problem such that whatever i write will be shown in the read ouput instantly?
And also how do i write array into the OPC write block in simulink? I used (1x3) array but it says that the input for write block is 1 only when it should be able to take an array of any size. (Tested out in the OPC GUI and it can take any (1xn) array size)
2 Comments
Walter Roberson
on 6 Apr 2011
I don't know anything about OPC, but upon reading your query, I skimmed the documentation.
I'm wondering what the scan rate shows up as in your configuration? http://www.mathworks.com/help/toolbox/opc/ug/f0-6823.html
I'm also wondering if the delay stays constant if you use a speed-up? http://www.mathworks.com/help/toolbox/opc/ug/f5-136562.html#f5-136643
Tan Edwin
on 6 Apr 2011
Accepted Answer
More Answers (0)
Categories
Find more on Unified Architecture in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!