Personal Data

Username:
i-campbell
Joined:
2019-10-25 09:00:48
Location:
Leipzig / Germany / CEST

Projects

User Activity

  • Posted a comment on discussion Engineering 🇬🇧 on CODESYS Forge

    hello, please enjoy. # i-campbell 2024 import subprocess from scriptengine import * # with a project already open # save if not yet saved # check pool objects if it is a library # generate code only for the active application if it is a project # beep thanks to https://devblogs.microsoft.com/scripting/powertip-use-powershell-to-send-beep-to-console/ if projects.primary: # check project is open if projects.primary.dirty: # save projects.primary.save() if projects.primary.path.lower().endswith('.library'):...

  • Posted a comment on discussion Engineering 🇬🇧 on CODESYS Forge

    your are sending as a WSTRING which is UTF16, but your receiver is interpriting as UTF8. Change the receiver to use UTF16, or better change your sender to convert to UTF8. You publish the entire storage space (SIZEOF) Instead of the number of bytes of actual text (StrLenA) try using utf8JsonData : STRING(2000); JSON.Stu.ConvertUTF16toUTF8( ADR(wsJsonData), ADR(utf8JsonData), SIZEOF(utf8JsonData) ); and change your publish to mqttPublish( mqttClient:=mqttClient, pbPayload:=ADR(utf8JsonData), udiPayloadSize:=To_UDINT(JSON.Stu.StrLenA(ADR(utr8JsonData))),...

  • Posted a comment on discussion Visualization 🇬🇧 on CODESYS Forge

    Hello, I think you can try to change the Connection from Multicast to Point to Point. Please also make sure your windows firewall is allowing the correct UDP ports inbound for ethernet IP. You might also need to increase the RPI, so it times out slower.

  • Posted a comment on discussion Runtime 🇬🇧 on CODESYS Forge

    I think it is a similar issue, but different. I saw you use AWS IoT Core. AWS limits you in this - search in page here for text "Subscriptions per connection" it is 50, cannot be changed.

  • Modified ticket #14 on co⚡e: Sparkplug™ MQTT edge

    MQTT Host Library VfInit

  • Modified ticket #14 on co⚡e: Sparkplug™ MQTT edge

    MQTT Host Library VfInit

  • Posted a comment on discussion Engineering 🇬🇧 on CODESYS Forge

    add the attribute to your FB like this {attribute 'no_assign'} FUNCTION_BLOCK UDFB_FinActuator_Rx VAR_INPUT ... source

  • Modified ticket #14 on co⚡e: Sparkplug™ MQTT edge

    MQTT Host Library VfInit

View All