Search talk: Average Cycle Time

 
<< < 1 .. 8 9 10 11 12 .. 34 > >> (Page 10 of 34)

Post by ph0010421 on How to create a stopwatch? CODESYS Forge talk (Post)
FUNCTION_BLOCK fbdStopwatch VAR_INPUT Condition: BOOL; END_VAR VAR_OUTPUT TimeTaken: TIME; END_VAR VAR StartTime: TIME; fbiStartOs: R_TRIG; fbiStopOs: F_TRIG; END_VAR and then: fbiStartOs(CLK := Condition); fbiStopOs(CLK := Condition); IF fbiStartOs.Q THEN StartTime := TIME(); END_IF; IF fbiStopOs.Q THEN TimeTaken := TIME() - StartTime; END_IF;
Last updated: 2023-12-07

Post by nathant on Saving variable values on power cycle (RevPi Connect) CODESYS Forge talk (Post)
Hello, this seems to be a known issue, but persistent/retain variables don't seem to work properly on RevPi devices. Is there a workaround to this? All I need is for a few configuration variables to be remembered through power cycle.
Last updated: 2023-12-03

Post by trycyclepower on EtherCAT drive going into fault mode require power cycle everytime CODESYS Forge talk (Post)
I have EtherCAT servo drive lost communication with PLC everytime it gets faulted, it does not not communicate until I power cycle everything again, how to solve this issue?
Last updated: 2024-09-11

Post by banialuk on CAN Open Manager - varible of SYNC CODESYS Forge talk (Post)
Hello, were I have find varaible of SYNC "Cycle Period" , or variable that informs about the start of a new cycle SYNC. I want to use this variable in program code. I need to for communication beetween Mster and slave, and send PDO informations.
Last updated: 2024-10-26

Post by banialuk on CAN Open Manager - varible of SYNC CODESYS Forge talk (Post)
Hello, were I have find varaible of SYNC "Cycle Period" , or variable that informs about the start of a new cycle SYNC. I want to use this variable in program code. I need to for communication beetween Mster and slave, and send PDO informations.
Last updated: 2024-10-26

Post by z870623 on About CPU Loading CODESYS Forge talk (Post)
I am running a runtime environment on an ARM A35 dual-core processor (1.5GHz) and have encountered some issues. The CPU load (both CPU0 and CPU1) occasionally spikes above 50% before returning to normal, and this happens around 2-3 times per minute. At the same time, I’ve noticed that the Max Cycle Time in the Codesys monitoring screen shows much worse performance compared to the A53 (1.2GHz), with nearly double the cycle time. The optimizations I have made so far are as follows: Set the CPU to performance mode. Isolated CPUs: CPU0 is dedicated to running Linux services and the runtime itself, while CPU1 runs the EtherCAT task and the MainTask. Despite CPU1 only running these two tasks, the utilization still increases above 50%, which I find unreasonable. Additionally, I performed tests using cyclictest both without and with the runtime running. The performance is shown in the following image: From the results, I believe the CPU performance should be fine, but I am unsure why the monitoring results are not as expected. The testing outcomes should ideally be as close as possible to the cyclictest results. Does anyone have related solutions to this issue?
Last updated: 2024-10-14

Post by maxkemmeren on PFC200 (750-8214) high linux load average, but seems random. Possibly EtherCAT related. CODESYS Forge talk (Post)
Have you received any feedback or found any solutions to the load problem. We are running into similar issues, even without codesys running the load avarage is above 1 meaning that it is to busy already without plc code running. Hope you might have some more insight.
Last updated: 2024-07-11

Post by tk096 on Fieldbus has lost synchronicity CODESYS Forge talk (Post)
Hi, a few suggestions on how to tackle the problem: - it might help to increase the cycle time of the ethercat task - increase the value of the ethercat parameter DCInSyncWindow (https://content.helpme-codesys.com/en/libs/IODrvEtherCATDriver/Current/pou-IoDrvEtherCAT/DCInSyncWindow.html) (see attached image) - enable FrameAtTaskStart (https://content.helpme-codesys.com/en/libs/IODrvEtherCATDriver/Current/pou-IoDrvEtherCAT/FrameAtTaskStart.html) in the ethercat master (see attached image) - if the drives can handle the synchronization problems, checking of the synchronization can be deactivated using SMC_Set_ETC_DCSyncSupervision (https://content.helpme-codesys.com/en/libs/SM3_Drive_ETC/Current/SMC_Set_ETC_DCSyncSupervision.html).
Last updated: 2024-04-11

Post by timvh on Get the numer of day CODESYS Forge talk (Post)
For a demo application related to date/time, see: https://forge.codesys.com/prj/codesys-example/date-and-time/home/Home/
Last updated: 2023-09-14

How to make Alarm table display timestamp with local time for alarms? CODESYS Forge talk (Thread)
How to make Alarm table display timestamp with local time for alarms?
Last updated: 2020-03-31

Time Measurement between two events with V2.3 using Wago750-890 CODESYS Forge talk (Thread)
Time Measurement between two events with V2.3 using Wago750-890
Last updated: 2020-12-22

Wago 758-870 User interface for adjusting Date and Time CODESYS Forge talk (Thread)
Wago 758-870 User interface for adjusting Date and Time
Last updated: 2008-07-01

__NEW vs FB Factory for one-time creation of FB's at start-up CODESYS Forge talk (Thread)
__NEW vs FB Factory for one-time creation of FB's at start-up
Last updated: 2023-01-15

Going online from 2 different PC. (Not at the same time) CODESYS Forge talk (Thread)
Going online from 2 different PC. (Not at the same time)
Last updated: 2022-04-13

SM3_Robotics, time and distance remaining until the end of a group motion. CODESYS Forge talk (Thread)
SM3_Robotics, time and distance remaining until the end of a group motion.
Last updated: 2021-07-09

Installing V2.3 for Turck BL20 at same time as Bosch V12. CODESYS Forge talk (Thread)
Installing V2.3 for Turck BL20 at same time as Bosch V12.
Last updated: 2012-05-15

Does all programs in a task calls exactly at the same time ? CODESYS Forge talk (Thread)
Does all programs in a task calls exactly at the same time ?
Last updated: 2016-08-05

How to change data format of 'Trend' time data to DT or something else CODESYS Forge talk (Thread)
How to change data format of 'Trend' time data to DT or something else
Last updated: 2021-05-10

Wago Ecockpit Web Display issue with trendlog selection time and hour CODESYS Forge talk (Thread)
Wago Ecockpit Web Display issue with trendlog selection time and hour
Last updated: 2020-09-04

What if the time for a cyclic task is not enough ? CODESYS Forge talk (Thread)
What if the time for a cyclic task is not enough ?
Last updated: 2012-01-15

How to measure the time it takes to compile a program in codesys? CODESYS Forge talk (Thread)
How to measure the time it takes to compile a program in codesys?
Last updated: 2020-12-04

Is it possible to make The runtime system have real-time properties. CODESYS Forge talk (Thread)
Is it possible to make The runtime system have real-time properties.
Last updated: 2017-11-10

Every time I display the watch 1 window, I get a .Net exception CODESYS Forge talk (Thread)
Every time I display the watch 1 window, I get a .Net exception
Last updated: 2020-02-24

Wago Ecockpit Web Display issue with trendlog selection time and hours CODESYS Forge talk (Thread)
Wago Ecockpit Web Display issue with trendlog selection time and hours
Last updated: 2020-09-04

How do I convert an INT variable to a TIME variable? CODESYS Forge talk (Thread)
How do I convert an INT variable to a TIME variable?
Last updated: 2011-03-30

<< < 1 .. 8 9 10 11 12 .. 34 > >> (Page 10 of 34)

Showing results of 833

Sort by relevance or date