Post by arnaud on eCockpit - unable to start simulation
CODESYS Forge
talk
(Post)
Hi there! I'm using eCockpit WAGO software to develop HMI's for multiple projects. As I recently starting this, my knowledge on the software is somewhat limited (so maybe my question is a simple one). For most of my projects I can simulate the application and start it to test the code and HMI. However for two projects, I can initiate the "simulation activation" but I cannot start it. Nothing happens when I press start and the visualization shows "The online visualization is waiting for connection. please start the application". - I don't see any errors in the messages - Initially the project are made by a colleague, which moved on. I guess I'm forgetting something, like missing a setting. I appreciate any help I can get. If you need more information to help me out, let me know. Thanks!
Last updated: 2023-08-25
Post by eschwellinger on Problems connecting to Codesys 4.9.0.0 runtime on my Wago PFC200
CODESYS Forge
talk
(Post)
I've send out a workaround for this.. Best Regards Edwin
Last updated: 2023-08-26
Post by totorovic on CSVReaderInit returns error : INVALID_HANDLE
CODESYS Forge
talk
(Post)
Hello, Can we please have some details about the error : INVALID_HANDLE? So we can try to avoid it.
Last updated: 2023-08-28
Post by eschwellinger on v3.5 SP19 - Modbus TCP Devices - Channel Limit?
CODESYS Forge
talk
(Post)
Guess you could just add two modbus slaves with the same ip, to enlarge the 10 channel limit.
Last updated: 2023-08-28
Post by reinier-geers on Trun off webvisu
CODESYS Forge
talk
(Post)
How do i see if Webvisu is active and how to shot down if i dont want webvisu?
Last updated: 2023-08-29
Post by eschwellinger on new feature: list/view plclogs from the plcs
CODESYS Forge
talk
(Post)
Since 1.31.0.0 version there is this really helpful feature to browse the plclogs remote via CODESYS Automation server:
Last updated: 2023-08-30
Post by jegerjon on VPN
CODESYS Forge
talk
(Post)
Hi, witch VPN provider for remote PLC Acess do you use/recomend? Preferedbly one where you can Grant certain users acess to specific controllers.
Last updated: 2023-09-06
Post by jegerjon on VPN
CODESYS Forge
talk
(Post)
Hi, witch VPN provider for remote PLC Acess do you use/recomend? Preferedbly one where you can Grant certain users acess to specific controllers.
Last updated: 2023-09-06
Post by jegerjon on VPN
CODESYS Forge
talk
(Post)
Hi, witch VPN provider for remote PLC Acess do you use/recomend? Preferedbly one where you can Grant certain users acess to specific controllers.
Last updated: 2023-09-06
Post by jari-koivuluoma on JSON_Utilities_SL JSONFileWriter error NULL_POINTER
CODESYS Forge
talk
(Post)
FB jsonFileWriter gives a NULL_POINTER error, why? JSONByteArrayWriter works fine so the JSONData FB should be fine. The device is CODESYS Control Win V3 x64 in simulation mode. Codesys version is V3.5 SP16 Patch 5 JSON_Utilities_SL version is 1.3.0.0 Src: ST_TestStruct1a; TXT: WSTRING(10000); MakeJSON : BOOL := TRUE; SrcJSONData: JSON.JSONData; jsonFileWriter : JSON.JSONFileWriter; IF MakeJSON THEN MakeJSON := FALSE; // Struct data to JSONData FB F_TestStructToJSON(ADR(Src),ADR(SrcJSONData)); // Writing to file jsonFileWriter( xExecute := TRUE, sFileName := 'c:\JSONTEST\JSON.txt', eEncoding := JSON.Encoding.UTF_16, xAsyncMode := TRUE, jsonData := SrcJSONData ); // Waiting to finish WHILE jsonFileWriter.xBusy DO ; END_WHILE // To text jsonArrayWriter( xExecute := TRUE, pwData := ADR(TXT), udiSize := SIZEOF(TXT), jsonData := SrcJSONData, xAsyncMode := FALSE, ); END_IF
Last updated: 2023-09-08
Post by eschwellinger on Project compiling error in Simulation mode
CODESYS Forge
talk
(Post)
I fear you need to update if you need a solution for this.
Last updated: 2023-09-08
Post by necatibilgin on How to access files correctly in Linux
CODESYS Forge
talk
(Post)
This may help you. https://forge.codesys.com/forge/talk/Engineering/thread/3da9ded84e/?limit=250#62b3
Last updated: 2023-09-12
Post by transmin01 on EL6751 Canopen_Manager issue
CODESYS Forge
talk
(Post)
Fixed, in the end it just required the target to be rebooted. DOH! Regards Trevor
Last updated: 2023-09-12
Post by timvh on Get the numer of day
CODESYS Forge
talk
(Post)
For a demo application related to date/time, see: https://forge.codesys.com/prj/codesys-example/date-and-time/home/Home/
Last updated: 2023-09-14
Post by eschwellinger on EtherCat Master cannot open network adaptor on Win10x64 target
CODESYS Forge
talk
(Post)
you need to have either Winpcap (versions < CODESYS 3.5.19.0) or Npcap installed
Last updated: 2023-09-20
Post by aott33 on Webvisu NO load
CODESYS Forge
talk
(Post)
After loading, it seems to be quite responsive. It's just the initial loading that is taking a long time.
Last updated: 2023-09-21
Post by hki75 on FILE_OPERATION_DENIED
CODESYS Forge
talk
(Post)
mmm.. I moved my file to /var/opt/codesys/PlcLogic directory but I still getting FILE_OPERATION_DENIED.. Did I miss something? file rights are 0755
Last updated: 2023-09-27
Post by derpaul on Official MQTT-Client: MAX_RECEIVE_BUFFER_SIZE_EXCEEDED
CODESYS Forge
talk
(Post)
Okay, i've extendet ist from 6000 to 20000, but the error is still present :-(
Last updated: 2023-09-28
Post by derpaul on PFC200 Update to 4.9.0.0 - No Connection
CODESYS Forge
talk
(Post)
Im running again. I did a firmware update and Runtime update -> PFC200 is online again Thank you very much
Last updated: 2023-09-28
Post by eschwellinger on The required device description is not installed..
CODESYS Forge
talk
(Post)
just rightclick to the second J1939 device in the devicetree and 'update device'
Last updated: 2023-10-03
Post by eschwellinger on Delete PLC Log
CODESYS Forge
talk
(Post)
logger is a ringbuffer - means depends on your settings - how fast the files will be overwritten - but this should never lead to PLC hangs
Last updated: 2023-10-16
Post by i-campbell on FILE_OPERATION_DENIED
CODESYS Forge
talk
(Post)
in your project, to access /var/opt/codesys/PlcLogic/my.file, use the string 'my.file' or '$$PlcLogic$$/my.file'
Last updated: 2023-10-17
Post by arnaud on eCockpit - unable to start simulation
CODESYS Forge
talk
(Post)
Thanks for your help. Seems like one of these libraries are the root cause indeed.
Last updated: 2023-10-20
Post by benediktenger on Access project information of references library by script
CODESYS Forge
talk
(Post)
Hi, I need to accesss to project information of a referenced library in the project. At least I need the "Released" flag from these information to check that no project gets shipped with unreleased libraries. Unfortunally, I do not get this information by script. I archieved to get the library reference object and the managed library object but both won't give me this flag but only basic information like company, name, version, etc. Here is my code: # get the library refernces proj = projects.primary objects = proj.get_children(recursive=True) for object in objects: if object.is_libman: for libref in iter(object): if libref.is_placeholder and isinstance(libref.effective_resolution,str): print(libref) print(libref.name) # get the managed libraries libs = librarymanager.get_all_libraries() for lib in libs: print(lib.displayname) print(lib.version) Does somebody know how do get these information?
Last updated: 2023-10-23
Post by jerry-sorrells on Find Function: Object reference not set to an instance of an object.
CODESYS Forge
talk
(Post)
Build: CODESYS 3.5 SP19 Patch 1 (64-bit) Host OS: Windows 10 Target: Linux SL I have a project with programs in Structured Text and Ladder Diagram. When I try to use the Find function, it works for the Active Editor; however, when I try to use Find for the Entire Project, I get the error "Object reference not set to the instance of an object." I know what this error means in the context of the program, but I have no idea why the find function is returning this error. The variable I am searching does not matter: it happens with all variables. Any help with this will be greatly appreciated. I generally use the Find function quite often as I am developing and not having it is really slowing me down.
Last updated: 2023-10-23
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
.