Talk

FAQ - Frequently asked Questions about CODESYS
FORUM LATEST POST # TOPICS
Engineering πŸ‡¬πŸ‡§

Discussions about the CODESYS Development System, IEC programming, CODESYS Professional Developer Edition

Rounding error in simple addition
by dhumphries
58 minutes ago
5089
Runtime πŸ‡¬πŸ‡§

Related questions to SoftPLCs e.g. Raspberry Pi, Beaglebone, IoT2000 and other platforms

Raspberry PI change tag only responds after stopping PLC
by yofi
13 hours ago
2111
Visualization πŸ‡¬πŸ‡§

Realizing operator screens with CODESYS HMI, Targetvisu, Webvisu

Table How to set row number from 1 ( not from 0)
by k2saki
15 hours ago
892
Motion πŸ‡¬πŸ‡§

Realizing single or multi axis motion control, CAM, CNC and Robotic applications

Configuring an Encoder
by yofi
8 hours ago
441
Codesys V2.3 πŸ‡¬πŸ‡§

Forum about V2.3

The current baud rate could not be determined in CR0020 IFM with mainten...
by engrahman
4 days ago
2162
Deutsch πŸ‡©πŸ‡ͺ

German forum

Bacnet-Properties werden nicht aktualisiert
by jozef
3 days ago
4448
Automation Server πŸ‡¬πŸ‡§

The Industry 4.0 administration platform for users and operators of CODESYS compatible controllers

File transfer via visu and codesys automation server
by eschwellinger
2024-03-11
30
Forge πŸ‡¬πŸ‡§

Discussions about CODESYS Forge projects and features of the CODESYS Forge website

Safety
by lzml
2 days ago
174

Recent Activities

    CODESYS Forge

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

    Thanks for the response, as I've thought about this problem over the last month I began to suspect this was a problem with not being able to exactly represent .1 as a 32 bit binary number. I think I've found a work around by making the number an integer, then dividing it by 10 and storing that value as a floating point number. There is still an issue with the value not being exact somewhere in the 8th or 9th decimal place, but because I'm incrementing an integer value then dividing it, the error...

  • yofi posted a comment on discussion Motion πŸ‡¬πŸ‡§

    I have a raspberry pi trying to add encoder to it using that free encoder node. I simply dont understand where the encoder channel A/B suppoded to be mapped when i got to I/O mapping on encoder I get nothing to where to set the channels for the encoder or is there any blocks from a library or how is it that you use an encoder with Codesys it doesn't seem clear at all

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

    Using V19 Patch 7 and 4.11.0.0 for Pi 4 Model B, My problem is whenever I change a tag e.g bool from true to false it will change in software but the pin will only go high to low after pressing stop PLC in codesys and same if i want to bring it back to high, have to login start plc change it and stop plc in order to change. any insight ? thanks

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

    Hello all, Somebody try to run the CodeSys at RPi Zero 2W with external ETHx device? I need to more information how youi do it, what need to it, ...etc. It is interesting to use it together with EtherCat-interface. For example I had try to connect W5500 over SPI. The eth0 is present, but does not found any EtherCat IO-device. BR

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

    In Codesys visu, Table row number always start from 0. How do I set row number from 1 ?

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

    hey time := INT_TO_TIME(minutes100060);

  • Wiresplus modified a comment on discussion Engineering πŸ‡¬πŸ‡§

    Hello, I have a counter that increments an INT value once per minute I want to display this value in Minutes until 60, then Hours/Minutes thereafter on the HMI Codesys V3.5 SP16 I can divide the minutes by 60 to get hours, but then the minutes is still more than 60. Example: a process has run for 350 Minutes. I need to display "5 Hours 50 Minutes" But if it's only been 45 Minutes, I don't want "0 Hours 45 Minutes" , just "45 Minutes"

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

    Hello, I have a counter that increments an INT value once per minute I want to display this value in Minutes until 60, then Hours/Minutes thereafter I can divide the minutes by 60 to get hours, but then the minutes is still more than 60. Example: a process has run for 350 Minutes. I need to display "5 Hours 50 Minutes"

  • ndzied2 modified a comment on discussion Engineering πŸ‡¬πŸ‡§

    Ignore, was duplicate post. Can't find a way to delete it.

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

    Hi everyone, I have a my App that reads values from a shared memory than 2 variables x,y were calculated. here as you can see in my code: PROGRAM PLC_PRG VAR szName : STRING := '/SM'; ( Name of the shared memory.) uxiSize : __UXINT := 646 * 2 * SIZEOF(REAL); ( Size of the shared memory. ) hShm : RTS_IEC_HANDLE; ( Handle to the shared memory ) pStart : POINTER TO REAL; ( Pointer to the first element in the memory ) pData : POINTER TO REAL; ( Pointer, which is incremented until the last sign in the...