Discussion

FAQ - Frequently asked Questions about CODESYS
FORUM LATEST POST # TOPICS
General Discussion

Forum about anything you want to talk about.

How to turn on a GPIO from a device function block
by lwalbert
2022-09-29
1

Recent Activities

    CODESYS Forge

  • eschwellinger eschwellinger posted a comment on discussion Runtime πŸ‡¬πŸ‡§

    no other chance than using Arm 64 SL on the device.

  • swissguyinchile swissguyinchile posted a comment on discussion Runtime πŸ‡¬πŸ‡§

    Hi everyone, I just realized that Runtime for Raspberry Pi does not run on 64Bit operating system. I tried with 4.4.0.0, then 4.5.0.0 (The system lets me install the single core version, but I am unable to start it). I am in the process of installing 3.5.18.30 and 4.6.0.0 and test if I can make it run. Has anyone been able to run at least single core on 64Bit OS? The problem I have, I need OpenVPN for the project I am preparing for this customer. I have been able to correctly configure OpenVPN on...

  • sgronchi sgronchi posted a comment on discussion Engineering πŸ‡¬πŸ‡§

    There is no way to make ETrigTo variables xExecute/xDone/xError/xBusy alongside ClientRequest own ones (see attached picture). One can have them only by calling the block as CBML.ETrigTo but then specific ones are lost. In CFC, on the other hand, they all show up fine. Furthermore, IClientRequest interface seems to be hidden.

  • ch-user ch-user posted a comment on discussion Engineering πŸ‡¬πŸ‡§

    Hi, Try without Simulation mode but with Codesys Control Win. Normaly it work fine.

  • oooo oooo posted a comment on discussion Forge πŸ‡¬πŸ‡§

    Got it. Thank you tvm.

  • JAPIB JAPIB posted a comment on discussion Runtime πŸ‡¬πŸ‡§

    Hi Thank you very much for your answer. Is there a program to drive the multiplexer.

  • sgronchi sgronchi posted a comment on discussion Engineering πŸ‡¬πŸ‡§

    It's probably done in the hardware. You should ask the manufacturer, typically the peripherals that do that stuff already have both the high/low time and the period information.

  • a-simone a-simone posted a comment on discussion Engineering πŸ‡¬πŸ‡§

    Dear, I'm mechatronic engineer using Codesys from some years. I have a PLC application with cycle time 10 ms. I have a library provided from the plc supplier able to read the period of the input digital signal with precision of 1 us (micro-second) and it works very well. My need is to read about the same digital signal, not the period, but the high level time with precision of 1 us. Because I have high level time that is variable and I want to rread it. Example I know that the signal has period of...

  • tvm tvm posted a comment on discussion Visualization πŸ‡¬πŸ‡§

    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.

  • tvm tvm modified a comment on discussion 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...