Search talk: Object reference not set to an instance of an object

 
<< < 1 .. 264 265 266 267 268 > >> (Page 266 of 268)

Post by mondinmr on Direct Pointers in IOMapping for EtherCAT with IoDrvEthercatLib.ETCSlave_Dia CODESYS Forge talk (Post)
Thank you for the response! It's a path I had already considered, however, while it has always worked for me on inputs, it doesn't on outputs, because if I enable the option to update all IOs at every scan, the IO tasks overwrite each other. However, I have found something very interesting which I am posting below.
Last updated: 2024-02-13

Post by nano on Error building Extension SDK Linux code CODESYS Forge talk (Post)
Hey schnepper, when i look into your c-file, i would say that only the main-function is declared with cext-addendum in your codesys-library-project. all yöur funtions in library has to be the cext-addendum when the external implementation is activ. if i remeber right, methods and other subelements dont need that, but every base-elements
Last updated: 2024-04-02

Post by k2saki on CNC / G01 Speed is very slow (or go-stop motion) in Continuous short segment . CODESYS Forge talk (Post)
Hi, gseidel. Thank you so much for your advice. I have created a program to preprocess G-code as follows 1.SMC_ReadNCFile2 2.SMC_Interpreter 3.SMC_CheckVelocities Then I put SMC_OUT_QUEUE in SMC_Interpolator. Where should I insert SMC_SmoothMerge and SMC_SmoothPath? Or are there any example link for it ?
Last updated: 2024-04-30

Post by timvh on Codesys SVN CODESYS Forge talk (Post)
Minimum version is 3.5 SP19 Patch 3. See https://store.codesys.com/en/codesys-git.html But you could ask your PLC vendor if it is possible to program their PLC's which have Runtime version SP16 with development version 3.5 SP19 or higher (should normally be possible, but with Safety PLC's there could be some regulation limitations).
Last updated: 2024-05-01

Post by mp9876 on Problems with simulation in Window 10 CODESYS Forge talk (Post)
Hi Eschwellinger, sorry for so late reply but I found a solution back then; uninstall completely Codesys V3x64 and re-installed Codesys V3x32 to properly note the password I created and everything went ok. thank you for your suggestion and have a good day/evening Mike
Last updated: 2024-05-30

Post by hermsen on Raspberry Pi 4.12.0.0 SL also stops after 15s CODESYS Forge talk (Post)
After installing this new 4.12.0.0 SL version on my RPi5 8GB and the latest bootloader, the runtime disappeared after 15secs. The bootloader my pi uses is from 2024-06-11. I was able to resolve this issue using this post: https://forge.codesys.com/forge/talk/Runtime/thread/be25c0ff66/ The workaround works for me.
Last updated: 2024-07-06

Post by marks on Regarding trend storage access error CODESYS Forge talk (Post)
I had this problem when running the application as a Simulation. When I wrote it to the Pi all worked as expected. If this isn't the case for you, we've seen some issues with sqlite on the Pi's - so reset Origin and re-download may help in that case. Good luck, Mark
Last updated: 2024-07-24

Post by damian177 on OPC UA Client CODESYS Forge talk (Post)
Hi, Today I ran OPC UA Client Example in 1.1.0.0 version. I opened example visualisation and I tried connected to my OPC UA Server. In first steps looks good but connection was terminate with error OpcUa_BadLicenseLimitsExceeded. I can't test OPC UA Client witohut CODESYS OPC UA Client SL license ? Regards
Last updated: 2024-08-30

Post by joep on Creating Custom Kinematics CODESYS Forge talk (Post)
Hi John, Coincidentally I also tried creating a custom kinematics model for a parallel delta2 like the picture I added. bipod_rotary doesn't seem to do the job. Have you accomplished a working model? I'm stuck on error: "smc_cp_invalid_path_elem" while im certain my math is correct since we made it work using single axis movements. Maybe we could help each other Best regards, Joep
Last updated: 2024-09-06

Post by egau on Hard shutdown: no code on device after power on CODESYS Forge talk (Post)
Hi, thanks for the fast response :) Yes I Have a .err file. Sorry I forgot to upload it. It is a binary file though... "Runtime goes in exception before the shutdown ?" I think it goes into exception at the same time as the power is lost...
Last updated: 2024-10-03

Post by bolopg on MODBUS TCP REGISTERS CODESYS V3.5 CODESYS Forge talk (Post)
Hi. I have a problem with MODBUS TCP MASTER. I treid to read HR in range 3027-3037 but I cannot read them. I have modbus slave chanel with offset 0x3037. I checked what I read and it looks like I am reading HR in range 1-10. What I am doing wrong.
Last updated: 2024-10-11

Post by sigurdrb on Codesys SP20 and professional developer edition CODESYS Forge talk (Post)
Hi, I updated codesys IDE to the newest version, but I lost the "professional developer edition" in the process. It still works fine on the older version I have been using previously. Do you know what the easiest process for getting the same integration in the newer version? It is only the GIT integration that I really miss.
Last updated: 2024-11-11

Post by csu-chris on Colors look different when logged in and running CODESYS Forge talk (Post)
I am running CODESYS V3.5 SP19 Patch 2 (64-bit) I have buttons that are supposed to be either red or green depending on status. When I am logged out the colors look right. When I am logged in and running the colors are completely different and I can't understand why.
Last updated: 2024-12-06

Post by trusty-squire on Strange problem with the ‘MC_SetPosition’ function CODESYS Forge talk (Post)
Just a stab in the dark, but you might want to check the Dynamic Limits (accel, decel, velocity, jerk) in the Codesys SoftMotion device configuration, as well as checking similar limits on your servo drive? Are you seeing any errors, or does the MC_SetPosition FB get marked as complete?
Last updated: 2025-01-09

Post by s1ack on Wago PFC200 Ethernet / IoDrvEthernet Issue? CODESYS Forge talk (Post)
It's suspected that the CPU loading is the Linux Kernal in the Wago PFC200 dealing with IGMP multicast traffic (@ 250 uSec) from inverters on site. The inverters use the ethernet network and IGMP to synchronize, the customer removed the switch that shipped with the system, and thus removed IGMP Snooping that was plug-and-play within the provided switch.
Last updated: 2025-01-24

Post by gatto on Removing a symbol from the IEC Symbols Editor grid CODESYS Forge talk (Post)
Hi, I've never used Communication Manager, but I tried it and I saw that I can drag tags from left to right. If I click on a line on the right, it turns light blue. By pressing the DEL or CANC key (It depends on your keyboard language) I can delete the line
Last updated: 2025-02-12

Post by somlioy on CODESYS Control for PFC100 SL Firmware upgrade CODESYS Forge talk (Post)
Hi We delivered a system with a PFC100 using the CODESYS Control for PFC100 SL runtime a few years back. The system has once been decommissioned and are now to be commissioned again. Back then, there were only single licenses for the runtime. Can I now upgrade the firmware and runtime without purchasing a new license?
Last updated: 2025-02-27

Post by smic on Virtual Control SL Profinet connection CODESYS Forge talk (Post)
Hi. I'm trying to connect Profinet device with Virtual Control for Linux SL. After adding devices, I couldn't find actual device by Scan Device? Do I missed something? VPLC container on Docker IP: 172.17.0.4 Subnet: 255.255.0.0 Gateway: 172.17.0.1 Profinet device: AL1100 io-link master (default setting) IP: 0.0.0.0 Subnet:0.0.0.0 Gateway:0.0.0.0
Last updated: 2025-02-28

Post by fabiodasilveira on PLC Shell commands via ST Code CODESYS Forge talk (Post)
Thank you, Bingo. I have added the instructions below to the CODESYSControl.cfg file, but they haven't changed anything. [SysSocket] Adapter.0.Name="ETH0" Adapter.0.EnableSetIpAndMask=1 Adapter.1.Name="ETH1" Adapter.1.EnableSetIpAndMask=1 Regarding your second suggestion, could you please expand a bit on that?
Last updated: 2025-03-03

Post by davidmic on Struct Literal CODESYS Forge talk (Post)
Hi all I want to pass a struct into a function without declaring the struct in a VAR/END_VAR. Is this possible? I think this would be called a struct literal It would look something like this someFB.write(structArgument := MyStruct#(a := 1, b := 1.2), otherArgument := TRUE); With this struct declaration TYPE MyStruct : STRUCT a : INT; b : REAL; END_STRUCT END_TYPE
Last updated: 2025-03-28

Post by pafarrell on EtherCAT quick start for advanced programmers CODESYS Forge talk (Post)
It would be great if there was a thread that had some quick-start links for basic how-to. But one that advanced programmers can jump into. I found this video playlist by SoftMotion-Black, which was very, very helpful: https://www.youtube.com/playlist?list=PLkc8m2OD0r9xJyfTiCBb1vuU_d2yBhjZ_ This person has some other great vids like creating your own custom library, which is awesome for OEMS.
Last updated: 2025-05-14

Post by fionexyan on Codesys Installation Always Freeze when the installing is almost done CODESYS Forge talk (Post)
Hello Everyone , I have try in repeatedly with uninstall and reinstall the Codesys software and even turn-off the antivirus application before implement to reinstall the codesys ,but at the consequence the problem still same although go with such method, therefore is there any solution for this issue . Thank You .
Last updated: 2025-05-16

Post by soundboardw on Active vs Unacknowledged Alarm CODESYS Forge talk (Post)
Great goal! A single BOOL to detect any active alarm and another for unacknowledged ones is perfect. When unacknowledged, your buzzer and red light flash classic alert. Once acknowledged, keep the light solid. This mirrors soundboard logic: triggers activate sound buttons unblocked, meme soundboard effects, and free soundboard tools. Check trending sounds download at SoundBoardW.com!
Last updated: 2025-06-21

Post by davidking on Error, visualisation property handling, VISU_USEPROPERTYINFO CODESYS Forge talk (Post)
Solution: Disable VISU_USEPROPERTYINFO define Go to Project → Options (or Project → Properties, depending on your CODESYS version). Find the section called Compiler Defines. Look for the define: nginx Copy Edit VISU_USEPROPERTYINFO Delete it from the list, or uncheck it if it’s a checkbox. Save your changes and try compiling the project again. → This is the right approach if you don’t need property handling for visualization elements.
Last updated: 3 days ago

Post by transmin01 on PCAN serial "No CAN driver found" CODESYS Forge talk (Post)
Hi, I am using a PCAN mini CAN board which has the Windows drivers installed on the target PLC. PCAN board can be seen in device manager. However, I am getting "No CAN driver found" error. I have read the post https://forge.codesys.com/forge/talk/CODESYS-V2/thread/44aae19318/ and have uncommented the CmpPCANBasicDrv driver in the CodesysControl.cfg file in development PC and have copied it to the target PC. Current CodesysControl.cfg file attached. Is there anything else I am missing? Regards
Last updated: 2023-09-14

<< < 1 .. 264 265 266 267 268 > >> (Page 266 of 268)

Showing results of 6676

Sort by relevance or date