How can I send the data in Real Time from OPC Read and OPC Write Blocks to KepServer(OPC Server)?
7 views (last 30 days)
Show older comments
I have established communication between my Simulink Model(containing OPC Read and Write Blocks) and KepServer (Which is an OPC Server) and I am receiving/sending the data to WAGO PLC. The problem is that data is not being sent to PLC in real time. I want to send pulses(at frequency of 5Hz) but the simulations runs at very slow pace. I have tried to use Real Time Target Windows ToolBox but when I build the model, it gives following error.
The corresponding 'opcslread.tlc' file for the MATLAB S-function 'opcslread' in block 'wago/OPC Read' must be located in the current working directory, the MATLAB S-function directory 'D:\MATLAB_Installation\toolbox\opc\opcblks\opcblks', or the directory 'D:\MATLAB_Installation\toolbox\opc\opcblks\opcblks\tlc_c'
Any help would be appreciated to solve this problem..////wago is my simulink model name...
1 Comment
Answers (0)
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!