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 BG_Automation
2019-12-07
1

Recent Activities

    CODESYS Forge

  • tvm tvm posted a comment on discussion Engineering 🇬🇧

    fixed it

  • tvm tvm modified a comment on discussion Engineering 🇬🇧

    Depending on what environment you're using, you might be able to find a LIM function in one of the libraries (NOTE: not the same as the LIMIT operator). If not, it's easy to make one: FUNCTION LIM : BOOL VAR_INPUT i_Test: REAL; //value to test i_Upper: REAL; //upper limit i_Lower: REAL; //lower limit END_VAR LIM:= (i_Test >= i_Lower) AND (i_Test <= i_Upper); //in your program Start_Clapping:= LIM(Incoming_Real, Add_On + 0.8, Add_On - 0.8);

  • erkmah erkmah posted a comment on discussion Engineering 🇬🇧

    Hello all, I use Codesys Softmotion RTE V3 x64 for CNC machine. I hava problem about G Code transition. When the path transition between G1 and G2, the path does not write radius, it write linear path. Has anyone encountered this before ? I add path must be red line and non is blue line. Thanks.

  • keluangman keluangman posted a comment on discussion Codesys V2.3 🇬🇧

    Hallo liebe Leute, Ich habe die Systemkonfiguration von Codesys V2.3 erstellt (Projekt --> Optionen --> Symbolkonfiguration --> Häkchen bei allem). Aber nur eine .sym_xml statt xml Datei wurde erstellt. Wenn ich in der Codesys HMI einloggen möchte, bekomme ich immer einen Fehlerfenster (im Anhang). Ich weiß es nicht, was ich noch tun soll. Vielen Dank für eure Hilfe. Hello dear people, I have created the system configuration of Codesys V2.3 (project --> options --> symbol configuration --> tick everything)....

  • lefish lefish posted a comment on discussion Engineering 🇬🇧

    I can confirm these ports. Thank you very much!

  • martinll martinll posted a comment on discussion Engineering 🇬🇧

    Thank you so much tvm, this was exactly what i was looking for! I did not find one among my library's so i built one and it works great. If someone that is (even) newer to codesys than me and tries so build this there is a small typo in the program above, there are two i_Lower where one of them should be i_Upper but with that change it works great. Many thanks! Martin

  • johannes89 johannes89 posted a comment on discussion Runtime 🇬🇧

    Hello, I like to read several 1wire Sensors. In this project it is only possible to read one sensor (sOneWireAdress := 'xxxxxxx'). Can someone help me to add some more sensor adresses? regards, johannes

  • tvm tvm modified a comment on discussion Engineering 🇬🇧

    Depending on what environment you're using, you might be able to find a LIM function in one of the libraries (NOTE: not the same as the LIMIT operator). If not, it's easy to make one: FUNCTION LIM : BOOL VAR_INPUT i_Test: REAL; //value to test i_Upper: REAL; //upper limit i_Lower: REAL; //lower limit END_VAR LIM:= (i_Test >= i_Lower) AND (i_Test <= i_Lower); //in your program Start_Clapping:= LIM(Incoming_Real, Add_On + 0.8, Add_On - 0.8);

  • tvm tvm posted a comment on discussion Engineering 🇬🇧

    Depending on what environment you're using, you might be able to find a LIM function in one of the libraries (NOTE: not the same as the LIMIT operator). If not, it's easy to make one: FUNCTION LIM : BOOL VAR_INPUT i_Test: REAL; //value to test i_Diff: REAL; //differential END_VAR LIM:= (i_Test >= (i_Test - i_Diff)) AND (i_Test <= (i_Test - i_Diff)); //in your program Start_Clapping:= LIM(Incoming_Real, 0.8);

  • dkugler dkugler posted a comment on discussion Visualization 🇬🇧

    I was at the wrong direction! I'm working at the column and they are in the textlist! I searched for my first header and can't find it in the list. After changing it, clean the project etc. it appears there :-) So everything is fine. You are right, a overlay isn't a good idea and will only work, if the table is short enough to be shown completly without a scroll bar!