Activity for open

  • open open posted a comment on discussion Engineering πŸ‡¬πŸ‡§

    Hello, I want my button to be attached image ON_Good when variable true but however when i copied the visualization object into a new visualization screen it become attached image ON_Bad. Anyone know how to make it attached image ON_Good? Warmest regards,

  • open open posted a comment on discussion Engineering πŸ‡¬πŸ‡§

    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.

  • open open posted a comment on discussion Engineering πŸ‡¬πŸ‡§

    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,

  • open open posted a comment on discussion Engineering πŸ‡¬πŸ‡§

    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...

  • open open posted a comment on discussion Engineering πŸ‡¬πŸ‡§

    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?

  • open open posted a comment on discussion Visualization πŸ‡¬πŸ‡§

    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,

  • open open posted a comment on discussion Visualization πŸ‡¬πŸ‡§

    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,

  • open open posted a comment on discussion Engineering πŸ‡¬πŸ‡§

    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,

  • open open posted a comment on discussion Engineering πŸ‡¬πŸ‡§

    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.

  • open open posted a comment on discussion Visualization πŸ‡¬πŸ‡§

    Hi, I am having this question too i cant seem to zoom and scroll in my webvisualization on my android tablet. Anyone know how to do it? Warmest regards,

  • open open posted a comment on discussion Engineering πŸ‡¬πŸ‡§

    Hello, Thank you! for your input we will go ahead with using array. Warmest regards,

  • open open posted a comment on discussion Engineering πŸ‡¬πŸ‡§

    Hi, I am new to Codesys Forge not sure if this is the right place to post this. I am using Codesys for PLC programming and we have a specific table of unit conversion (see attached) to convert the unit, however the lines will be very long if we were to use the IF Else function for conversion. Are there any other ways to simplify the process? Warmest regards,

1