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

 
<< < 1 .. 44 45 46 47 48 .. 299 > >> (Page 46 of 299)

Setting up Raspberry pi as an Opc ua Server with UaExpert as Client CODESYS Forge talk (Thread)
Setting up Raspberry pi as an Opc ua Server with UaExpert as Client
Last updated: 2024-09-11

SEGV when using an Ethernet_IP_Scanner/Profinet-Master coming from the ETHTOOL syscall CODESYS Forge talk (Thread)
SEGV when using an Ethernet_IP_Scanner/Profinet-Master coming from the ETHTOOL syscall
Last updated: 2023-08-16

Can any PC with an Ethernet adapter be used as PN_Controller with Codesys? CODESYS Forge talk (Thread)
Can any PC with an Ethernet adapter be used as PN_Controller with Codesys?
Last updated: 2018-10-11

Rpi Runtime stops after about 16 hours with an Exception with CommCycleHook CODESYS Forge talk (Thread)
Rpi Runtime stops after about 16 hours with an Exception with CommCycleHook
Last updated: 2023-04-24

How do I pass a array throught a function and return an array - Pointers CODESYS Forge talk (Thread)
How do I pass a array throught a function and return an array - Pointers
Last updated: 2018-04-16

K-Bus Klemme an Ethercat Slave einbinden. Gerät konnte nicht hinzugefügt werden. CODESYS Forge talk (Thread)
K-Bus Klemme an Ethercat Slave einbinden. Gerät konnte nicht hinzugefügt werden.
Last updated: 2021-11-28

exporting or copying the COE online data from an ethercat slave device CODESYS Forge talk (Thread)
exporting or copying the COE online data from an ethercat slave device
Last updated: 2019-10-30

an item with the same key has already been added. Error CODESYS Forge talk (Thread)
an item with the same key has already been added. Error
Last updated: 2014-06-16

Dataserver - an item with the same key has already been adde CODESYS Forge talk (Thread)
Dataserver - an item with the same key has already been adde
Last updated: 2015-10-20

Extending a library function in an application and getting Interface conversion errors CODESYS Forge talk (Thread)
Extending a library function in an application and getting Interface conversion errors
Last updated: 2020-06-03

Table Control on an array using a constant for its size. CODESYS Forge talk (Thread)
Table Control on an array using a constant for its size.
Last updated: 2016-01-08

I present an error: program too large for the controller CODESYS Forge talk (Thread)
I present an error: program too large for the controller
Last updated: 2013-06-28

Error 'sysfile23, 3.5.13.0 (system)' and 'syssocket23, 3.5.13.0 (system)' using Oscat libraries on an IFM CR1203 HMI CODESYS Forge talk (Thread)
Error 'sysfile23, 3.5.13.0 (system)' and 'syssocket23, 3.5.13.0 (system)' using Oscat libraries on an IFM CR1203 HMI
Last updated: 2022-10-14

There is an error When calling IecTaskGetInfo3 with the RTS_IEC_HANDLE from SchedGetTaskHandleByName function CODESYS Forge talk (Thread)
There is an error When calling IecTaskGetInfo3 with the RTS_IEC_HANDLE from SchedGetTaskHandleByName function
Last updated: 2017-09-11

How can i read data from a file into an array? CODESYS Forge talk (Thread)
How can i read data from a file into an array?
Last updated: 2021-08-09

The element might be in an unsupported area and therefore cannot be edited. (e!Cockpit) CODESYS Forge talk (Thread)
The element might be in an unsupported area and therefore cannot be edited. (e!Cockpit)
Last updated: 2023-01-27

Post by dkugler on EtherCAT fieldbus CODESYS Forge talk (Post)
There is an example for activating/deaktivating an optional Slave in the FAQ's: https://faq.codesys.com/pages/viewpage.action?pageId=49283084
Last updated: 2024-04-12

Post by gland on Open project automatic with correct version CODESYS Forge talk (Post)
Goodmorning, The projects we have made (with several persons) are in differents versions, Codesys V3.5 sp18 patch4, V3.5 sp19 patch 2, V3,5 sp19 patch 5 etc V3.5 sp21 patch 3 etc.. Now when we're opening an project thats's not opend before on my pc and we're not sure in witch version it's made it's quite annoying. We don't want to update to the newest version. Is there a way that it's automatic opening the correct version? Is there a program/tool/easy way to do this? Thanks,
Last updated: 2026-01-27

Post by acc00 on Main Task cycle too long leading to PLC Fail CODESYS Forge talk (Post)
I have 2 Wago PFC200 PLC, running with Runtime SP19 Patch 5, with the Redundant application. The PLC communicates as Modbus Master with at this moment 15 Modbus Slaves -later there will be 28 in total- (Drives, Power management units,...). These devices are connected in 2 rings (1 ring of Drives, 1 ring of Power Management units), with 2 Managed Moxa Switches being part of the ring. Each PLC is connected to one of these switches. The issue I'm encountering is that the Cycle time of the Active PLC goes very high when I'm closing the Drive ring (simulating an issue on one Cabinet supply, resulting in that one Drive shut down, which can happen on field quite often). As a result of this long cycle, the PLC fails and goes to Exception, and the Passive PLC does not take control of the system. A normal cycle is around 30ms for the Main task, and a few ms for the Ethercat task. When I monitor with Profiler, I see that in this Maximum Cycle, the main Task is only taking 13ms, so I'm not sure where the PLC is hanging for so long. Is the remaining cycle time the Redundant management/sync or something else? Thank you in advance.
Last updated: 2024-03-08

Post by caprez95 on Trace Restart Visuelement CODESYS Forge talk (Post)
Hello everyone. I've been struggling with the problem for a long time that I can't reset (restart) a trend (visual element). With the example I have now managed to control the trace recording via the CmpTraceMgr library. But how do I get this trace recording into a visual element? The code looks like this: // Configure trace IF xInit THEN // Create a trace packet PacketConfig.pszName := ADR('IECTraceConfiguration.Trace1'); // Name of trace PacketConfig.pszApplicationName := ADR('IECTraceConfiguration'); // Name of the application PacketConfig.pszIecTaskName := ADR('Task'); // Name of the task PacketConfig.pszComment := ADR('Demo packet'); PacketConfig.ulEveryNCycles := 1; PacketConfig.ulBufferEntries := 1000; PacketConfig.ulFlags := TRACE_PACKET_FLAGS.TRACE_PACKET_FLAGS_TIMESTAMP_MS AND TRACE_PACKET_FLAGS.TRACE_PACKET_FLAGS_AUTOSTART; IF (NOT fbTraceManager.CreatePacket(PacketConfig := PacketConfig, hPacket=>hPacket1)) THEN xError := TRUE; END_IF // Create a trace record RecordConfig.pszVariable := ADR('iSignal'); // This is the name of variable to record RecordConfig.tcClass := INT_TO_UDINT(TypeClass.TYPE_INT); // Type of the recording variable RecordConfig.ulSize := SIZEOF(iSignal); // Size of the recording variable pApp := AppFindApplicationByName('IECTraceConfiguration', 0); AppGetAreaOffsetByAddress(pApp, ADR(iSignal), ADR(RecordConfig.tvaAddress.taAddress.Area.usArea), ADR(RecordConfig.tvaAddress.taAddress.Area.ulOffset)); // Get and set area offsets RecordConfig.tvaAddress.ulAddressFlags := TRACE_VAR_ADDRESS_FLAGS_IEC OR TRACE_VAR_ADDRESS_FLAGS_AREA_OFFSET; RecordConfig.ulGraphColor := 16#FF00FF00; // green RecordConfig.ulGraphType := 1; // Line with points IF (NOT fbTraceManager.AddRecord(RecordConfig := RecordConfig, hPacket := hPacket1, hRecord => hRecord1)) THEN xError := TRUE; END_IF xInit := FALSE; END_IF // Starts the recording IF xStart THEN IF (NOT fbTraceManager.StartPacket(hPacket := hPacket1)) THEN xError := TRUE; END_IF xStart := FALSE; END_IF // Stop the recording IF xStop THEN IF (NOT fbTraceManager.StopPacket(hPacket := hPacket1)) THEN xError := TRUE; END_IF xStop := FALSE; END_IF // Reset the recording IF xReset THEN IF (NOT fbTraceManager.ResetPacket(hPacket := hPacket1)) THEN xError := TRUE; END_IF xReset := FALSE; END_IF
Last updated: 2024-06-04

Post by lgeertsema on Checkbox font color in visualization style CODESYS Forge talk (Post)
Hello, I'm having a similar issue with buttons. I want to be able to set the default color and transparency of a button. I've tried a lot of different iterations like KNewman, but to no avail. Has there been some documentation released since KNewman posted this, or is the style editor still as undocumented as ever?
Last updated: 2024-01-11

Post by takashi on CODESYSControlWinCE Crash CODESYS Forge talk (Post)
Hey all CODESYS-experts. I'm at a customer site, and we hade a power-failure and one of the devices apparently runs codesys and has crashed. It's an old device (out of warranty) that is bought many years ago. Now this device doesn't seem to boot. Any idea what to do in this case? We have access to the drive so we have access to the files. See screenshots.
Last updated: 2024-01-23

Post by installwhat on Initialization of POUs (FB_Init) CODESYS Forge talk (Post)
Hi I was wondering if there's a pattern I can employ to acheive what you're doing but with a "reference to" and also allowing for online changes? Someone told me that the new beckhoff keeps references safe during online changes but all the documentation I've found suggests that's not the case. The easiest thing is to use fb_init for normal vars and pointers and references can be added in the function body every cycle and this allows for method calls after so far as I can tell.
Last updated: 2024-07-29

Post by dhumphries on WAGO PLC 200 750-8216 Ethernet connection to Codesys 3.5 CODESYS Forge talk (Post)
make sure the PLC and the programming PC have IP addresses that are on the same subnet, you'll have to know the default address of the PLC or you may need to connect to it with a special cable and use a software tool to set the IP address.
Last updated: 2024-02-06

Post by fless on How to change bHiresMode CODESYS Forge talk (Post)
you need to set the increments to 10 (the screenshot shows 10000 hex = 65536). all the turn settings to 1. and the application units to 366. But usually you use the resolver resolution per motor turn. Insert the gear ratios (1:1 for no gear) and the last field you put the circumference of your drive wheel.
Last updated: 2024-03-12

<< < 1 .. 44 45 46 47 48 .. 299 > >> (Page 46 of 299)

Showing results of 7460

Sort by relevance or date