Personal Data

Username:
timvh
Joined:
2019-06-17 14:40:41
Location:
Ridderkerk / Netherlands / CEST

Projects

User Activity

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

    I never tried this, but maybe you need to create a certificate on the controller for this? See the menu View - Security Screen. Select the device and see if you need to create a certificate. And maybe you also need to accept the certificate of the other device. This can also be done in the security screen. PS, the CODESYS Runtime Control version must be greater than 3.5.21.0.

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

    I never tried this, but maybe you need to create a certificate on the controller for this? See the menu View - Security Screen. Select the device and see if you need to create a certificate. And maybe you also need to accept the certificate of the other device. This can also be done in the security screen.

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

    Yes, this can be fixed by setting the correct reference to the structure.... But by only the given information it is impossible to say what you did wrong. Maybe you can start by first creating an instance of the structure within the program to see how this works.

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

    See : https://forge.codesys.com/forge/talk/Engineering/thread/9afc7c8bad/#711c

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

    See : https://forge.codesys.com/forge/talk/Engineering/thread/9afc7c8bad/#711c

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

    See the example below. You can insert key/value pairs as required At first the JSON string will be filled with: "{$"Key1$": $"Value0$", $"Key2$": [{$"Key3$": 1, $"Key4$": 2}]}" With xAdd, you can insert items, which will result in: "{$"Key1$": $"Value0$", $"Key2$": [{$"Key3$": 1, $"Key4$": 2},{$"Key3$": 3, $"Key4$": 4}]}" VAR factory : JSON.JSONDataFactory; eDataFactoryError : FBF.ERROR; pJsonData : POINTER TO JSON.JSONData := factory.Create(eError => eDataFactoryError); fb_JBuilder : JSON.JSONBuilder;...

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

    I'm not sure it will work, but you could try it with the CmpCharDevice library. You could create a function block that looks something like this: As input for the filename, you have to use your Linux device, e.g.: '/dev/input/event0' '/dev/input/by-path/platform-button@23-event' Off course you must also pass the pointer to the memory where the data can be written to and the size (count in number of bytes) of the buffer. FUNCTION_BLOCK FB_CharDevice VAR_INPUT szFilename: STRING; pbyBuffer : POINTER...

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

    Probably best to create an alarm template for your motor function block. Then automatically the alarm manager can be filled with all the alarms for all instances of the motor function blocks (based on the created alarm template). See: https://content.helpme-codesys.com/en/CODESYS%20Visualization/_cds_obj_alarm_group_template.html

View All