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

 
<< < 1 .. 35 36 37 38 39 .. 234 > >> (Page 37 of 234)

Post by bossjosh21 on Codesys Modbus RTU (Modbus_Slave_Com_Port Not Running) CODESYS Forge talk (Post)
Can someone help me about my problem of my Modbus_Slave_Com_Port Not Running. I am using RevPiConnect 4 and I connected my actuator to the RS485 of my RevPI.
Last updated: 2023-12-05

Post by landhen on Codesys HMI with a non codesys programmed controller CODESYS Forge talk (Post)
Hello, I would like to know, if it is possible to use codesys for a visualization of parameters in a controller (not PLC) not programmed using Codesys. I intend to use codesys for the visualiztion, and do not know yet what I may require.
Last updated: 2024-02-21

Post by tehthoams on Time will not read 12 CODESYS Forge talk (Post)
I know this post is a bit old, but i'm having this same issue: At noon, %t[hh:mm:ss tt] is displaying 00:00:00 PM There is no text variable, just using the default functionality of the visualization for the time display. This is running on an IFM CR1102 display. has anyone solved this?
Last updated: 2024-10-10

Post by jinlee on Multiple WebVisu CODESYS Forge talk (Post)
Hi there, I am having a similar problem like you. I have 3 screens connected to one PLC. I have set 3 different URLs for them. But 3 of them are still dependent to each other. How can I make them independently ? Kind regards, Jin.
Last updated: 2024-01-25

Post by meldawltly on Excel to Codesys 3.5 CODESYS Forge talk (Post)
Hello everyone, I have an excel file that i want to import into codesys3.5. Any idea how and what libraries can i use? To more clarify i have a table in codesys and i want to import my excel file into this table/ Thank you
Last updated: 2023-12-11

Post by meldawltly on Excel to Codesys 3.5 CODESYS Forge talk (Post)
Hello everyone, I have an excel file that i want to import into codesys3.5. Any idea how and what libraries can i use? To more clarify i have a table in codesys and i want to import my excel file into this table/ Thank you
Last updated: 2023-12-11

Post by reinier-geers on One project diverent devices CODESYS Forge talk (Post)
Ive got a project with 6 Divices version 9. They use networkvariable to communicate. I whant to add an Extra. But that one is probebly verion 19. Should that be a problem ? i have to update the software to 19. But i cant update the devices
Last updated: 2024-01-12

Post by marekxc on Translation - How to get text as reference in Frames translated? CODESYS Forge talk (Post)
Show a simple example of what you're doing. What and where are you changing? Maybe this link will be useful to you" https://content.helpme-codesys.com/en/CODESYS%20Visualization/_visu_using_visu_as_element.html
Last updated: 2023-12-29

Post by expertplas on No connection to opc server from codesys opc client CODESYS Forge talk (Post)
Hello, we have aproblen to connect our CODESYS OPC Client to the OPC Server. We installed the client according the CODESYS manual. We can browse the server and variables can be linked to the PLC. I created a self signed certificate for the CmpOPCUAClent as described. The server has a cerificate also. I copied the certificates to the trusted zone of server and client. But when it comes to data exchange we get an error message. "Communication error in data source OPC UA Library. Error ID : 7001 German : "Kommunikatinsfehler inder Datenquelle OPC UA -Bibiothek. Es wurde kein genauer Fehler angegeben. Fehler ID : 7001" It semms that there is no cerificate exchange. We are working with CODESYS 3.5 SP19 Patch 5. Can anyone here say something about this error or has an idea for a solution? Thanks.
Last updated: 2024-08-19

Transparency of element rectangle works only in simulation not in WebVisu CODESYS Forge talk (Thread)
Transparency of element rectangle works only in simulation not in WebVisu
Last updated: 2023-05-25

ST Condition " CASE... OF" is not working in CoDesys SP RTE CODESYS Forge talk (Thread)
ST Condition " CASE... OF" is not working in CoDesys SP RTE
Last updated: 2023-06-30

The selected PLC profile does not match the profile of .... CODESYS Forge talk (Thread)
The selected PLC profile does not match the profile of ....
Last updated: 2010-10-28

Identifier ioConfigConnector not defined. CODESYS IDE V3.5SP6 corruption after installation of CODESYS IDE V3.5SP10 CODESYS Forge talk (Thread)
Identifier ioConfigConnector not defined. CODESYS IDE V3.5SP6 corruption after installation of CODESYS IDE V3.5SP10
Last updated: 2017-10-20

Post by ryusoup on JSONByteArrayWriter problem? CODESYS Forge talk (Post)
Hello, I am trying to implement a FB to make JSON formatted WSTRING type message using JSON Utilities 1.9.0.0 included in the IIoT library. In my case, I want to set some objects or arrays and set values to them later. But when I wrote as the sample below, // init builder builder(pJsonData:=pJsonData, diRootObj=>diRootObj); // set the 1st key to root diKey1 := builder.SetKeyWithArray(wsKey:="key1", diParentIndex:=diRootObj, eError=>eError); // set a value to the 1st key wsValue:="value01"; builder.SetValue(Value:=wsValue, diParentIndex:=diKey1, eError=>eError); // set the 2nd key to root diKey2 := builder.SetKeyWithArray(wsKey:="key2", diParentIndex:=diRootObj, eError=>eError); // set a value to the 2nd key wsValue:="value02"; builder.SetValue(Value:=wsValue, diParentIndex:=diKey2, eError=>eError); // set a value to the 1st key again wsValue:="value03"; builder.SetValue(Value:=wsValue, diParentIndex:=diKey1, eError=>eError); // set a value to the 2nd key again wsValue:="value04"; builder.SetValue(Value:=wsValue, diParentIndex:=diKey2, eError=>eError); // write build result writer(xExecute:=TRUE, pwData:=ADR(wsResult), udiSize:=SIZEOF(wsResult), xAsyncMode:=FALSE, jsonData:=pJsonData^); the result was: { "key1": ["value01"], "key2": ["value02", "value03", "value04"] } while my expection was: { "key1": ["value01", "value03"], "key2": ["value02", "value04"] } Inspecting pJsonData^, JSONData itself seems to be ok, so I believe the issue is something caused by the writer FB. Does anyone know how to fix it? Thanks,
Last updated: 2023-10-04

Post by k2saki on Open dialog from ST , how to set parameters (vars) to dialog CODESYS Forge talk (Post)
Hi, I have a question regarding this. https://forge.codesys.com/forge/talk/Engineering/thread/8be0f6f14a/ But, How do I set parameters (var input, output ) to a dialog ?
Last updated: 2024-06-05

Post by paulpotat on Project size increasing continuously CODESYS Forge talk (Post)
I still have the same problem with Codesys 3.5 SP18. Initially, my project is ~5 Mo. I work on it for like 3-4 days and it goes up to ~10Mo. If I make an export of the project and import it in a new empty project, it goes back to approximately 5 Mo. Why is it doing this ?
Last updated: 2023-08-23

Post by davidbo on Is it possible in the log to see previous shutdown CODESYS Forge talk (Post)
If my application does some kind of violation which makes it cast an exception it will trigger my real watchdog which results in a reboot. Unfortunately the log it seems only shows the boot sequence. Is it possible to see what happen before reboot?
Last updated: 2024-02-08

Post by camilloo on Control for Linux SL on Ubuntu Core CODESYS Forge talk (Post)
Hello, Has anyone tried running CODESYS Linux on Ubuntu Core? I'm having problems installing the runtime. The connection to UC cannot be established. I used the instruction: https://content.helpme-codesys.com/en/CODESYS%20Control/_rtsl_linux_public_key_authentification.html I can connect to UC using SSH (putty, shell). Codesys can't. Do any of you have an idea?
Last updated: 2024-02-24

Post by kuegerls on SysProcessExecuteCommand2 and CANopen Device CODESYS Forge talk (Post)
I have now conducted some tests. The problem occurs when the Python script establishes an OPCUA connection, even if I only establish the connection without reading or writing any data. Is there another way to exchange data between Python and CODESYS without having to put in a lot of effort?
Last updated: 2024-06-24

Post by joep on overruling kinematic limits of [-90Β°, 90Β°] in bipod_rotary CODESYS Forge talk (Post)
Hi All, for my robotics application we are building a 2-axis parallel scara using the kin_bipod_rotary kinematics. Codesys implemented limits of [-90Β°, 90Β°] according to the documentation: https://content.helpme-codesys.com/en/libs/SM3_Transformation/Current/SM3_Transformation/Function-Blocks/Positioning-Kinematics/Parallel-Systems/Kin_Bipod_Rotary.html Would it be possible to overrule these limits somehow, our mechanical limits are more in the range of [-110Β°, 135Β°] In this range we also don't encounter point where singularity is an issue. Hopeful someone knows a solution, Best regards, Joep
Last updated: 2024-09-04

Post by sturmghost on Initialization of visualization variables and cyclic code execution CODESYS Forge talk (Post)
I'm looking for a smart and short way to implement initialization of visualization variables depending on the visualization input. For an easy example consider a rectangle which rests at XPos := 0 when the input state is false and at XPos := 50 when the input state is true. My visualization variables look like this: VAR_IN_OUT State : BOOL; END_VAR VAR XPos : INT; END_VAR I put this rectangle via a visualization frame element into another visualization and link a frame reference variable with the state to it. If the variable is true, the rectangle should rest at XPos := 50 and false at XPos := 0 at visualization init but how should I assign the 50 or 0 to the internal visualization variable XPos? I would need some init-methode for the visualization but I dont want a global init-method for such tasks. I want to do it inside of the visualization element but I can't see any solution for this? It would be good to be able to define ST-code within the visualization element which runs cyclic at each VISU_TASK task-cycle then I could just check the input state and change the XPos accordingly. Does someone have a solution?
Last updated: 2023-10-01

Post by matthew on Persistence Manager Backup CODESYS Forge talk (Post)
Hi, Is there a process to restore Persistence Manager files? I have backups of persistence variables used in a machine that is currently operating and tuned and all set points adjusted. There are about 500 persistence variables, they are building another identical machine. I would like to use Persistence Manager files from the first machine in the second also. I have tried copying the files and replacing them on the new RPI but then the Persistence Manager gets errors and then they are all reset to 0 etc I have tried adjusting the times to match. Instead of replacing whole file, I tried just changing the contents inside the file, but still does not work. I may be missing something here, but surely there must be a way to load a backup. Thanks!
Last updated: 2023-10-18

Post by bruceae on Ethernet/IP Scan CODESYS Forge talk (Post)
Hello, I have a robot configured as a Generic Ethernet Module under Ethernet/IP Scanner. I can not see the change of state of the outputs coming from the robot on the codesys side in real-time. (The robot has it's own internal program that would changes the values of remote outputs 0-3 off and on). Also when I send data down to the inputs of the robot it doesn't transfer over as expected. As an example I'll send to the robot's input bit 0 a value of 1. It doesn't see that value change. However, when I write that input bit 0 back to a value of 0, the robot changes state and shows a value of 1. And if I change the state of a different bit, the other bits update properly, except for the bit that I changed. Any advice would be greatly appreciated, and if anything else is needed let me know.
Last updated: 2024-09-10

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 egemenaksoy35 on About Codesys Task Executions CODESYS Forge talk (Post)
Hi, Regarding tasks created in Codesys, are they designed to execute sequentially or independently like how an RTOS operates? Best regards.
Last updated: 2023-12-13

<< < 1 .. 35 36 37 38 39 .. 234 > >> (Page 37 of 234)

Showing results of 5850

Sort by relevance or date