Personal Data

Username:
open
Joined:
2023-01-10 01:03:06

Projects

  • No projects to display.

User Activity

  • Posted a comment on discussion Engineering πŸ‡¬πŸ‡§ on CODESYS Forge

    Thanks everyone for your input, I am using persistent variables to retain the timer value after machine shutdown, and main task to be as low as possible for the seconds TON to be accurate.

  • Posted a comment on discussion Engineering πŸ‡¬πŸ‡§ on CODESYS Forge

    Hi @ph0010421 and @Ton, Is it possible to program a stopwatch to measure a system running time when it is turn on, and pause when the system is turn off. I tried your examples when stopped, the elapsed time will then be calculated, but i need the time to be continuously counting. Warmest regards,

  • Posted a comment on discussion Engineering πŸ‡¬πŸ‡§ on CODESYS Forge

    Hi @ph0010421, I tried the program the TimeTaken is calculated when stop is triggered. I want the TimeTaken to be continuously calculated and counting when a BOOL variable is true. I tried to program this way: Declaration: PROGRAM PLC_PRG VAR bStartStop: BOOL := FALSE; // Start/Stop button bReset: BOOL := FALSE; // Reset button bRunning: BOOL := FALSE; // Flag indicating whether the stopwatch is running tStartTime: TIME; // Variable to store the start time tElapsedTime: TIME; // Variable to store...

  • Posted a comment on discussion Engineering πŸ‡¬πŸ‡§ on CODESYS Forge

    Hi, how to create a stopwatch when start is pressed, timer will start counting and stop is pressed, timer will stop counting in structured text?

  • Posted a comment on discussion Visualization πŸ‡¬πŸ‡§ on CODESYS Forge

    Hello Community, I need to create a duration graph with start, stop and reset button for the graph, I am trying to do that with trace visualization object. But however i am not able to to reset the graph. Are there any alternatives or solution in resetting the graph? Warmest regards,

  • Posted a comment on discussion Visualization πŸ‡¬πŸ‡§ on CODESYS Forge

    Hello Community, I want to store trace as .csv from trace special controls visualization is this doable instead of storing as .trace file? Please see attached. Warmest regards,

  • Posted a comment on discussion Engineering πŸ‡¬πŸ‡§ on CODESYS Forge

    Hi Francesco, Thank you for your reply, I used SysTimeRTC library to get the PLC time. I wrote a if function a boolean variable true then freeze the start time in a date_time variable. Warmest regards,

  • Posted a comment on discussion Engineering πŸ‡¬πŸ‡§ on CODESYS Forge

    Hello, I am new to codesys programming, How to record timestamp and saved the value in a variable? I need to record start time and end time of a process. Warmest regards.

View All