Is there any timer function in simulink PLC lib?
3 views (last 30 days)
Show older comments
I am using simulink plc coder to generate .scl files for Siemens step 7. I want to create a function block that can maintain an output for several seconds, like a timer in normal PLC. Is there any blocks support this function? Since I found the “clock” blocks are not available in PLClib. The integrator is also not available in the plclib, since it is continuous block. I used the discrete time integrator to create a system, but cannot be recognize by step 7.
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/165421/image.jpeg)
0 Comments
Answers (0)
See Also
Categories
Find more on Simulink PLC Coder in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!