Is there any way to remove the warning for having two enumerators with the same value in the same enum?
CODESYS Forge
talk
(Thread)
Is there any way to remove the warning for having two enumerators with the same value in the same enum?
Last updated: 2016-12-22
Post by abjha1998 on Converting UINT into bytes and converting 2Bytes into UINT
CODESYS Forge
talk
(Post)
Thank you for the reply. I got an error saying that MEM.PackBytesToWord(GVL.Actual_Speed_DUT_high,GVL.Actual_Speed_DUT_low) = u; is not a valid statement. Am I missing some library?
Last updated: 2023-12-08
Post by abjha1998 on Converting UINT into bytes and converting 2Bytes into UINT
CODESYS Forge
talk
(Post)
Thank you for the reply. I got an error saying that MEM.PackBytesToWord(GVL.Actual_Speed_DUT_high,GVL.Actual_Speed_DUT_low) = u; is not a valid statement. Am I missing some library?
Last updated: 2023-12-08
Post by snhatton on Trace commands via Test Manager
CODESYS Forge
talk
(Post)
One option could be to use a trigger variable to execute your trace and then toggle that variable from a step within a test case.
Last updated: 2023-12-08
Post by arrotek on Visualisation Toolbox not displaying Alarm Manager Objects
CODESYS Forge
talk
(Post)
After upgrading to 3.5 SP19 Patch 4 I can no longer see the Alarm Manager Tab in the Visualisation Toolbox. Anyone had this error? Can anyone assist?
Last updated: 2023-12-09
Post by eschwellinger on WAGO PFC200 FW25 unable to connect
CODESYS Forge
talk
(Post)
please double check if you have in the project the same plc type like online available. (untag the " Hide non matching device filter.."
Last updated: 2023-12-09
Post by snhatton on Visu - changing auto-logout time
CODESYS Forge
talk
(Post)
You could try using the VUM_UserGroup struct from the VisuUserManagement library. I haven't tried this, but there is a variable for tAutoLogout to set the logout time.
Last updated: 2023-12-11
Post by ph0010421 on Device Reader option from 'Tools' menu
CODESYS Forge
talk
(Post)
Hello I've just seen this feature: very nice. Using the 'DeviceReader' project previously, I could see the SL possibility too (Dongle or Softkey). Is it possible to get this status too please?
Last updated: 2023-12-12
Post by ton on How to create a stopwatch?
CODESYS Forge
talk
(Post)
Hi, i guess you want to make a hour counter. You need to store the measured value. Try to use a retain variable, but need a graceful shutdown, or save it your self. see https://forge.codesys.com/forge/talk/Runtime/thread/278e325579/ Succes.
Last updated: 2023-12-12
Post by eschwellinger on Possibility to deactivate CmpBlkDrvUdp
CODESYS Forge
talk
(Post)
you could give this a try - just an idea, I did not try it because have no device in my hands: [CmpBlkDrvUdp] MaxInterfaces=1 itf.0.ipadress=192.168.10.1
Last updated: 2023-12-12
Post by ewi04 on SysDirRead - miss 1 file in the folder list research
CODESYS Forge
talk
(Post)
Hello, I also had this problem. I was able to solve it with the CAA File library. Here the example page: https://content.helpme-codesys.com/en/libs/CAA%20File/Current/Examples.html
Last updated: 2023-12-13
Post by open on How to create a stopwatch?
CODESYS Forge
talk
(Post)
Thanks everyone for your input, I am using persistent variables to retain the timer value after machine shutdown, and main task to be as low as possible for the seconds TON to be accurate.
Last updated: 2023-12-14
Post by trycyclepower on How to transfer data from DINT to Union(16 Bools) which I need to use in Few FBs
CODESYS Forge
talk
(Post)
I have DINT data from drive input and would like to use this data in Bools in bunch of the FBs. I have tried using Union but it is not working. Please suggest
Last updated: 2023-12-14
How to transfer data from DINT to Union(16 Bools) which I need to use in Few FBs
CODESYS Forge
talk
(Thread)
How to transfer data from DINT to Union(16 Bools) which I need to use in Few FBs
Last updated: 2023-12-14
Post by lostcontrol on USB barcode scanners
CODESYS Forge
talk
(Post)
Hi Team, Anyone had success integrating an USB scanner into a raspberryPi application.? There is notes/old links that dont work, but cannt seem to find them yet.
Last updated: 2023-12-14
Post by lostcontrol on Bool turning on in case stament in wrong state?
CODESYS Forge
talk
(Post)
are you sure it is not used anywhere else.? does it have an address that could be duplicated perhaps? nothing external writing to it?
Last updated: 2023-12-16
Post by lostcontrol on Bool turning on in case stament in wrong state?
CODESYS Forge
talk
(Post)
i would be looking at what the case variable is doing then.. sounds like there might be a logic race going on
Last updated: 2023-12-16
Post by user0815 on Web Socket Client SL -Bibliothek Fehler
CODESYS Forge
talk
(Post)
Doch aber ich dachte nur die Fehler sind in den Logs relevant. Ich kann morgen ein Bild von den gesamten Logs hochladen.
Last updated: 2023-12-18
Post by reinier-geers on Softmotion general
CODESYS Forge
talk
(Post)
Hi, Im busy using softmotion. But its reading data , but no respons on the commands. Most examples has Softmotion General exis pool. How can get that?
Last updated: 2023-12-19
Post by yelshebani on Add device greyed out
CODESYS Forge
talk
(Post)
Hi Add device is greyed out, havent connected to the PLC yet. what do I need to do to have ability to add devices, I want to add a Modbus TCP Master device
Last updated: 2023-12-19
Post by giackanto on Eoe issues with Windows and Linux
CODESYS Forge
talk
(Post)
Hi eschwellinger, I changed the name to tap2 due to network issues with Debian (I don't know why it changes the tap0 IP every time the program restarts). Anyway, I think the tap name doesn't affect the connection.
Last updated: 2023-12-20
Post by dhumphries on Minimum system requirements for codesys control standard S
CODESYS Forge
talk
(Post)
I'm working on a low cost project and I'm considering installing the Codesys runtime on a PC running Linux Debian instead of buying a PLC with a pre-installed runtime. For my needs the Control Standard S license should be capable of running some IO over ethernet/ip, and a webvisu. The PC I am considering has a AMD GX-424CC 2.4GHz processor (4 core/4 thread) and 4GB RAM. This may compare to a raspberry pi4, but I know an X86 processor doesn't directly compare to an ARM processor, and a processor can have a high clock speed but other factors like L2/L3 cache can influence the overall performance. I can't find any published specs for the processor and RAM requirements to run the Codesys Control runtime, does anybody have a link to the minimum system requirements or experience using devices that are at or below the minimum system requirements. A raspberry pi with the control for raspberry pi SL runtime license would be the lowest cost option, but the license is not for commerical use. This restriction is somewhat vague, can anybody clarify if this means I can use a raspberry Pi runtime for in-house automation, what about if I am selling an integrated system that uses a raspberry Pi as a controller?
Last updated: 2023-12-25
Post by oe2swm on Raspberry pi rt preempt
CODESYS Forge
talk
(Post)
Hello, I tried very hard to get Raspberry working with RT PREEMPT Kernel, But still i cannot get it working. Is there someone who can provide a Image for Raspberry 3b or 4(4gb) Thanks a lot!
Last updated: 2023-12-25
Post by reinier-geers on Add licence
CODESYS Forge
talk
(Post)
Hi I want to add a licence. I dont have the dongle jet. I tried a Stick. I dont see a Container. My Controler deliverer Dont put a motion licencens because its to expensive. How can i add a licensens?
Last updated: 2023-12-28
Post by eschwellinger on Raspberry Pi
CODESYS Forge
talk
(Post)
Which RaspberryPi OS - have you installed on the PI? At the moment, there is a problem with latest Bookworm from December. You need to downgrade to October version of the OS - or wait 4.11.0.0. is released ( February) https://downloads.raspberrypi.com/raspios_armhf/images/ 2023-10-10 16:13 Version will work.
Last updated: 2023-12-28
To search for an exact phrase, put it in quotes. Example: "getting started docs"
To exclude a word or phrase, put a dash in front of it. Example: docs -help
To search on specific fields, use these field names instead of a general text search. You can group with AND
or OR
.