All Neighborhoods

CODESYS Talk

    CODESYS Forge

  • yannickasselin posted a comment on discussion Runtime 🇬🇧

    A bit of work but maybe possible to make your own driver using "CODESYS Control SL Extension Package". Look at the "ExternalIoDrv" example. It is installed in "C:\Program Files\CODESYS 3.5.20.0\CODESYS\CODESYS Control SL Extension Package" when you install the "CODESYS Control for Linux SL".

  • yannickasselin modified a comment on discussion Engineering 🇬🇧

    Just adding: sSubscriberdata := ''; Right before your memcopy should fix the extra characters. It is because your are copying 36 characters into a string which can contain more than 36 characters and there is garbage left in the extra characters. Regarding the parsing of json, I usually build a structure that mirrors the json data and use the available methods in the IIoT library to parse the data and fill the structure.

  • yannickasselin posted a comment on discussion Engineering 🇬🇧

    Just adding: sSubscriberdata := ''; Right before your memcopy should fix the extra characters. It is because your are copying 36 characters into a string which can contain more than 36 characters and there is garbage left in the extra characters. Regarding the parsing of json, I usually build a structure that mirrors the jason data and use the available methods in the IIoT library to parse the data and fill the structure.

  • manuknecht posted a comment on discussion Motion 🇬🇧

    Hello all I use an axis group with two linear axes in a kinematic system. Using MC_MoveLinearAbsolute and MC_MoveLinearRelative, I am trying to realise dynamic movements (set velocity: 1 m/s, set acceleration: 30 m/s^2) with the highest possible jerk, as I want to compare this with a movement with a trapezoidal velocity profile. However, my measurements show that the axes accelerate with a maximum jerk of approx. 800 m/s^3, even if the value in the function block was set to 10,000 m/s^3. I have already...

  • mehmetembedded posted a comment on discussion Runtime 🇬🇧

    Hello. I am using TI AM64x evaluation board TMDS64EVM. It has 8 leds connected via I2C to SoC.I wanna control them via codesys GPIO device. Is that possible? If so how I can do it. I had no problem installing codesys runtime, and running program on device. But when it comes to GPIO access, It couldn’t make it.