Personal Data

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

Projects

Skills

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

Personal Tools

User Activity

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

    I'm not exactly sure why, but your variable is of type Integer, but the value looks more like a Real. This is one of the places where JSON doesn't correspond to IEC61131 types. In JSON, a Number can be either floating point or integer. Of course, we have to strictly declare the types, so the library uses types like this: TYPE JSONVALUETYPE : ( json_string, //local var is type STRING json_number, //local var is REAL json_integer, //local var is DINT json_boolean, //local var is BOOL json_null, //local...

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

    It's on my list of things to do, but I'm in the middle of a big project right now so I probably won't get to it until the new year.

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

    Yeah I understand that, but some visu elements don't have the OnMouseClick input. Checkboxes and Combo Boxes, for example. So in the example, I want to more than just check the box on a Checkbox element, I also want to set a variable.

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

    ok yeah, that's not actually a great example. I'll make some better ones. The resulting JSON string from ComposeJSON looks like this: {"LocalJSONObj":{"var1":true,"var2":34.8756,"var3":"teststring","obj":{"var4":22,"var5":false,"var6":"qwer","var7":[123.234,55.46001,985]},"arrayobj":[1,2,3]}} It's created an object starting at the first level "LocalJSONObj" variable. Therefore, it doesn't match the "NewJSONObj" variable in the parse There's two ways to fix this: 1.Use a different string on the parse...

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

    ok yeah, that's not actually a great example. I'll make some better ones. The resulting JSON string from ComposeJSON looks like this: {"LocalJSONObj":{"var1":true,"var2":34.8756,"var3":"teststring","obj":{"var4":22,"var5":false,"var6":"qwer","var7":[123.234,55.46001,985]},"arrayobj":[1,2,3]}} It's created an object starting at the first level "LocalJSONObj" variable. Therefore, it doesn't match the "NewJSONObj" variable in the parse There's two ways to fix this: 1.Use a different string on the parse...

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

    ok yeah, that's not actually a great example. I'll make some better ones. The resulting JSON string from ComposeJSON looks like this: {"LocalJSONObj":{"var1":true,"var2":34.8756,"var3":"teststring","obj":{"var4":22,"var5":false,"var6":"qwer","var7":[123.234,55.46001,985]},"arrayobj":[1,2,3]}} It's created an object starting at the first level "LocalJSONObj" variable. Therefore, it doesn't match the "NewJSONObj" variable in the parse There's two ways to fix this: 1. Use a different string on the parse...

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

    ok yeah, that's not actually a great example. I'll make some better ones. The resulting JSON string from ComposeJSON looks like this: {"LocalJSONObj":{"var1":true,"var2":34.8756,"var3":"teststring","obj":{"var4":22,"var5":false,"var6":"qwer","var7":[123.234,55.46001,985]},"arrayobj":[1,2,3]}} It's created an object starting at the first level "LocalJSONObj" variable. Therefore, it doesn't match the "NewJSONObj" variable in the parse There's two ways to fix this: 1. Use a different string on the parse...

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

    ok yeah, that's not actually a great example. I'll make some better ones. The resulting JSON string from ComposeJSON looks like this: {"LocalJSONObj":{"var1":true,"var2":34.8756,"var3":"teststring","obj":{"var4":22,"var5":false,"var6":"qwer","var7":[123.234,55.46001,985]},"arrayobj":[1,2,3]}} It's created an object starting at the first level "LocalJSONObj" variable. Therefore, it doesn't match the "NewJSONObj" variable in the parse There's two ways to fix this: 1. Use a different string on the parse...

View All