Download CODESYS: PLC Cycle time using Cycle_time function block from OSCAT library
CODESYS: PLC Cycle time using Cycle_time function block from OSCAT library
CODESYS: PLC Cycle time using Cycle_time function block from OSCAT library
In this short video, I will show you how to get the cycle time of the PLC using a function block called Cycle_Time, provided by OSCAT library. the cycle time may vary based on the PLC that you are usi...
In this short video, I will show you how to get the cycle time of the PLC using a function block called Cycle_Time, provided by OSCAT library. the cycle time may vary based on the PLC that you are using, the complexity of the program, the number of inputs and outputs and few other facts.
The function block has1 input (rst or reset) and several outputs, as below:
Input RES: BOOL (Reset)
Output CT_MIN: TIME (minimum measured cycle time) CT_MAX: TIME (maximum measured cycle time) CT_LAST: TIME (recently measured cycle time) SYSTIME: TIME (duration since the last start) SYSDAYS: INT (number of days since the last start) CYCLES: DWORD (number of cycles since the last start)
You may need to know the PLC cycle time in various situations, such as using an integrator. The cycles output could also be used in a specific scenario, when, for example, you want to call a function block every 200 cycles. You can have a look at the contents of the function block by double clicking on it. The underlying language is structured text.
I will provide more examples on using this FB in the next videos. Stay tuned!
Show more
Loading...
You are about to download a video in MP4 format.
If you'd like to adjust the format or resolution, just select it here
Download
Download has already started, please wait 10 Seconds
Youtube Vimeo Metacafe Flicker Photobcket Dailymotion Google video Youku 56.com Break Ustream Xhamster Wat Wrzuta Worldstarhiphop Web of Stories Washington Post Vk Vidme Video Mega Videa Viddler Vee HD Twitter Facebook USA Discovery
Loading...