Personal Data

Username:
tvm
Joined:
2018-11-06 03:41:30+00:00
Location:
Canada / EDT
Gender:
Male

Skills

  • JavaScript
  • Continuous Function Chart
  • Structured Text
  • Sequencial Function Chart

User Activity

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

    Yes, then I would create a library that contains the ENUM as well as the function block. Then you can reuse them in whatever project you install the library into.

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

    Why don't you just create an ENUM, call it ASCII or whatever TYPE ASCII { CHR_STX:= 16#02; CHR_ETX:= 16#03; CHR_ACK:= 16#06; CHR_NAK:= 16#15; } BYTE END_TYPE then just make your method input of type ASCII VAR_INPUT In: ASCII; END_VAR Then call your method like this: myBlock.SendChar(ASCII.CHR_STX); same thing with the error code ENUM. Just create the ENUM and you can use it anywhere. VAR ErrorCode: enumErrorCode; END_VAR

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

    When did VisuUtils become available? I'm using Schneider Machine Expert, which is based on Codesys 3.5.12, but I don't have that library.

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

    Is it possible to use functions from the VisuElems library within my own library? My idea was to create some functions to open/close dialogs, change the displayed visu, get information from clients, etc, and put them all in my own library so I don't have to copy and paste code all the time. But I'm having issues with using the functions from the library. They work when copied into a project, but not from the library. Some functions crash, some just don't work. Any issues with this concept? thank...

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

    I'm doing this by creating a separate X axis array in the visualization that's nothing more than an array of numbers counting up within the visu that's displaying the XY Chart: VAR XAxisData: ARRAY[1..1440] OF REAL:= INIT_XAXIS(); END_VAR where the INIT_XAXIS function is simply: FOR i:= 1 TO 1440 DO //initialize X Axis: 1 to 1440 INIT_XAXIS[i]:= INT_TO_REAL(i); END_FOR the XY chart curve Data X variable points to XAxisData then I hide all the X axis numbers, ruler, ets, and create the timestamps...

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

    I'm doing this by creating a separate X axis array in the visualization that's nothing more than an array of numbers counting up within the visu that's displaying the XY Chart: VAR XAxisData: ARRAY[1..1440] OF REAL:= INIT_XAXIS(); END_VAR where the INIT_XAXIS function is simply: FOR i:= 1 TO 1440 DO //initialize X Axis: 1 to 1440 INIT_XAXIS[i]:= INT_TO_REAL(i); END_FOR the XY chart curve Data X variable points to XAxisData then I hide all the X axis numbers, ruler, ets, and create the timestamps...

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

    I'm doing this by creating a separate X axis array in the visualization that's nothing more than an array of numbers counting up within the visu that's displaying the XY Chart: VAR XAxisData: ARRAY[1..1440] OF REAL:= INIT_XAXIS(); END_VAR where the INIT_XAXIS function is simply: FOR i:= 1 TO 1440 DO //initialize X Axis: 1 to 1440 INIT_XAXIS[i]:= INT_TO_REAL(i); END_FOR then I hide all the X axis numbers, ruler, ets, and create the timestamps manually using text fields and some functions to get the...

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

    I have several text boxes configured with this text formatting string for a DT variable: %t[MMM d, yyyy HH:mm:ss]. They all display "mar 10, 2021 13:21:21" Any reason why the month is all lower case? I'd like it to show "Mar"...

View All

Personal Tools

Projects