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 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
Post by janber0206 on Gateway doesn't come online, regarding a working internet connection
CODESYS Forge
talk
(Post)
Solved (see comment) Setup: Kunbus RevPi Connect+ (a raspberry based PLC) Codesys runtime package: 4.5.0.0 (raspberry, armhf) based on Codesys V3.5.18.20 Edge Gateway: 4.5.0.0 (edgearmhf,armhf) EN: The edge-gateway was added over a year ago to the automation server. I now need to make a few changes to the Codesys software, but the Pi is not showing as online in the Automation Server. Internet connection is established, I have remote access to the Pi via RealVNC. Anyone have an idea how I can solve this? Some screenshots added. DE: Ich muss nun ein paar Änderungen an der Codesys-Software vornehmen, aber der Pi wird im Automation Server nicht als online angezeigt. Die Internetverbindung ist hergestellt, ich habe über RealVNC Fernzugriff auf den Pi. Hat jemand eine Idee, wie ich das Problem lösen kann?
Last updated: 2023-10-26
Post by masmith1553 on Focus/Selection color frame around the element
CODESYS Forge
talk
(Post)
Is there a way to control what element is in focus?
Last updated: 2023-10-27
Post by helcioburd on When using the Element Collections library, is there a proper way to remove a dynamically created collection from memory?
CODESYS Forge
talk
(Post)
I am having exactly the same question...
Last updated: 2023-10-31
Post by dhumphries on install codesys runtime on linux
CODESYS Forge
talk
(Post)
Adding the command worked. I was able to deploy the runtime on an ubuntu server installation. Thanks!
Last updated: 2023-11-04
Post by imdatatas on Detecting if a client is connected to webvisu server
CODESYS Forge
talk
(Post)
Thank you @dgirard Your idea and above description helped me what i was looking for.
Last updated: 2023-11-08
Post by vformanek on Datasource OPC UA Client error ID:7012
CODESYS Forge
talk
(Post)
Sorry to bother but what do you mean by target ?
Last updated: 2023-11-21
Post by tomgr on Codesys 3.5.19 Control Win x64 - network adapter for EtherCAT master not working
CODESYS Forge
talk
(Post)
Hi guys I am trying to run on my laptop Codesys 3.5.19 Control Win x64 where I created a EtherCAT master. I have defined the controler, specified network adapter (my docking station) and everything worked as expected. Later I needed to test it on site (without docking station) so I changed the network adapter by EC master to my laptop network card. After that it shows "Network adapter opened" but no device can be found by scanning and in LOG is saying "SysEthernet: packet could not be sent, error code: -1". Same error with USB network card, but if I switch back to docking station, all is working again... Any idea what I'm doing wrong?
Last updated: 2023-11-22
Post by ulvis on How to do horizontal scroll in CFC editor?
CODESYS Forge
talk
(Post)
No. UX & GUI is not a Codesys GmbH priority, it seems :-(
Last updated: 2023-11-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
.