Activity for tvm

  • tvm tvm posted a comment on discussion Visualization

    I created the X axis values manually with a text field. I wish I had access to the trend element, but I'm using Schneider Machine Expert, and they haven't implemented it.

  • tvm tvm posted a comment on discussion Visualization

    I'm actually working on something similar right now, trending the amps for 50 motors. My plan, which I haven't completed or tested yet, is to create a generic visualization with an XY graph that references an array, then copy each motor's array of trend data into the generic display. The XY chart can be manipulated from the program to set scale, curves, etc. You also might find this thread useful. https://forge.codesys.com/forge/talk/Visualization/thread/bcbc83fe88/

  • tvm tvm posted a comment on discussion Engineering

    I have a question about the best way to initialize persistent variables contained in a function block. I have the following function block: FUNCTION_BLOCK TEST_FB VAR PERSISTENT Setpt: SETPTSTRUCT; //where SETPTSTRUCT is a structure containing all my persistent variables END_VAR I then go to PersistentVars, and "Declarations/Add all instance paths", and I'll get something like this: // Generated instance path of persistent variable Main_PRG.Test1.Setpt: SETPTSTRUCT; That all works fine, but I would...

  • tvm tvm posted a comment on discussion Visualization

    I have a project with two identical PLCs, and I would like to display data from PLC2 in a web visualization on PLC1. Is this possible?

  • tvm tvm posted a comment on discussion Forge

    There were several questions and replies under the JSON parsing and composing library as of earlier this week, now they've disappeared. What happened?

  • tvm tvm posted a comment on a wiki page

    I'll see if I can find some time to test this out.

  • tvm tvm posted a comment on a wiki page

    good catch, I'll add that to future versions

  • tvm tvm posted a comment on a wiki page

    Hi, I haven't had time to test it, but have you tried recordset :ARRAY [1..1] OF strPGTdataSet;

  • tvm tvm posted a comment on discussion Visualization

    Yes, that does work. The problem is, I'm using the Bitmap ID variable to animate some graphics, and if I check this option, it only downloads the first image in the pool. It makes sense that it works this way, but there almost needs to be a third option--only download image pools where at least one of the images is referenced.

  • tvm tvm posted a comment on discussion Visualization

    It looks like all image pools in every library are always downloaded to the /usr/Visu folder in the PLC for web visualization, even if they're not actually referenced in the program. Is there a way to prevent that?

  • tvm tvm posted a comment on discussion Engineering

    Can VARINFO be used within a library? VAR Info: __SYSTEM.VAR_INFO; TestVar: BOOL; END_VAR Info:= __VARINFO(TestVar); Code works in a program, as soon as I move it to a function block in a library I get the following: C0032: Cannot convert type 'Unknown type: 'MEMORY_AREA.MEM_LOCAL'' to type 'MEMORY_AREA' C0046: Identifier 'MEMORY_AREA' not defined

  • tvm tvm modified a wiki page

    Home

  • tvm tvm modified a comment on discussion Engineering

    It turns out I had to do a couple things: I had added DocFormat: reStructuredText to Project Information/Properties, but I had to remove the library from my project and re-add it before it started generating documentation "| " generates a new line, but it needs to have a space after it

  • tvm tvm posted a comment on discussion Engineering

    It turns out I had to do a couple thing: I had added DocFormat: reStructuredText to Project Information/Properties, but I had to remove the library from my project and re-add it before it started generating documentation "| " generates a new line, but it needs to have a space after it

  • tvm tvm posted a comment on discussion Engineering

    For anyone who needs to replace it, here's a function that works FUNCTION DATE_TO_DAY : INT(0..6) VAR_INPUT DateIn: DATE; END_VAR VAR CONSTANT SECONDS_PER_DAY: DINT:= 24*60*60; //number of seconds in a day EPOCH_STARTDAY: DINT:= 4; //DATE variable is stored as seconds since Jan 1, 1970, which was a Thursday END_VAR (*==================================================================================== DATE_TO_DAY Calculate day of week from date Sunday=0, Saturday=6 ======================================================================================*)...

  • tvm tvm posted a comment on discussion Engineering

    @ThK you seem to have access to this developer database. Can you explain why this kind of information is not publicly available? I used the CAA library because I made the assumption that a date and time utility would have been tested against dates and times, leap years being one of the most obvious tests. Knowing that it doesn't work, I don't see the use of it--I might as well write my own function.

  • tvm tvm modified a comment on discussion Engineering

    I believe I have found an error in the CAA DTUtils GetDayOfWeek function. According to the documentation, it should return 0-6 for days of the week, Sunday-Saturday. Today, I'm getting a return value of 7, and an error of DTU_ERROR_UNKNOWN. I have library version 3.5.12.0. Anyone else have this problem?

  • tvm tvm posted a comment on discussion Engineering

    I believe I have found an error in the CAA DTUtils GetDayOfWeek function. According to the documentation, it should return 0-6 for days of the week, Sunday-Saturday. Today, I'm getting a return value of 7, and an error of DTU_ERROR_UNKNOWN. I have library version 3.5.12.0. Anyone else have this problem?

  • tvm tvm posted a comment on discussion Engineering

    I've read through all the help files on reStructuredText, added the property to the library, but nothing seems to make a difference. I wonder if it's something to do with Schneider Machine Expert. This guy seemed to have the same problem, https://forge.codesys.com/forge/talk/Engineering/thread/cfdb933870/ but that was last updated in 2013. Machine Expert uses Codesys 3.5.12.80.

  • tvm tvm modified a wiki page

    Home

  • tvm tvm committed [r8]

    version 1.0.0.7

  • tvm tvm committed [r5]

    version 1.0.0.2

  • tvm tvm committed [r2]

  • tvm tvm committed [r1]

    Add initial directories

<< < 1 2 3