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

 
<< < 1 .. 18 19 20 21 22 .. 309 > >> (Page 20 of 309)

Eliminate an expired demo licese to use a valid full one. CODESYS Forge talk (Thread)
Eliminate an expired demo licese to use a valid full one.
Last updated: 2015-10-28

How do I convert an INT variable to a TIME variable? CODESYS Forge talk (Thread)
How do I convert an INT variable to a TIME variable?
Last updated: 2011-03-30

Visualization - writing to an array using a variable for the index CODESYS Forge talk (Thread)
Visualization - writing to an array using a variable for the index
Last updated: 2019-01-18

Cant assign a remote device as an input to a function block CODESYS Forge talk (Thread)
Cant assign a remote device as an input to a function block
Last updated: 2023-03-23

how to create an external C library targetting on xc167? CODESYS Forge talk (Thread)
how to create an external C library targetting on xc167?
Last updated: 2009-12-08

How to make my own library / edit an existing one? CODESYS Forge talk (Thread)
How to make my own library / edit an existing one?
Last updated: 2010-11-24

Example: How to create an IEC Unit Test FB via Python script CODESYS Forge talk (Thread)
Example: How to create an IEC Unit Test FB via Python script
Last updated: 2013-10-30

Post by davidbo on What does CODESYS expect to do when I get such an error message CODESYS Forge talk (Post)
What does CODESYS expect me to do when I get such an error message:
Last updated: 2024-01-08

What does CODESYS expect to do when I get such an error message CODESYS Forge talk (Thread)
What does CODESYS expect to do when I get such an error message
Last updated: 2024-01-08

How to use TON inside an FB that is instanced within a Visu page CODESYS Forge talk (Thread)
How to use TON inside an FB that is instanced within a Visu page
Last updated: 2024-04-15

How to use TON inside an FB that is instanced within a Visu page CODESYS Forge talk (Thread)
How to use TON inside an FB that is instanced within a Visu page
Last updated: 2024-04-15

Post by pazderai on CanOpen write issue CODESYS Forge talk (Post)
Thank you for an answer. Unfortunatelly, it doesn't work. The slave needs command byte as follows 0x22. It means expedited transfer where s-bit is not set, therefore data length is not specified. If I use segmented mode by CiA405.SDO_WRITE_DATA it produce command byte as follows 0x21 which is unfortunately supported by the slave and it returns with error 0x05040001 - SDO Abort Code -Client/server command specifier not valid or unknown. I can use CAN API low level to overcome this problem where it is possible to set 0x22 as a command byte, but than I can use user interface to set the communication probably, because I thing that machine expert uses library CiA405.SDO_WRITE for setting the slave. Or am I wrong?
Last updated: 2024-07-16

Post by apurv on Cannot pass array of constant size to a function as a reference CODESYS Forge talk (Post)
I have a Array of constant size defined like this Var Constant MAX_SIZE :UINT := 10; End_var VAR array : ARRAY[0..MAX_SIZE] OF INT; END_VAR Now I want to pass this array to a function by reference, Function fun : INT VAR_IN_OUT CONSTANT MAX_SIZE : UINT; END_VAR VAR_INPUT array : REFERENCE TO ARRAY[0..MAX_SIZE] OF INT; END_VAR but when I run this it gives strange Errors Error : Cannot Convert type 'ARRAY [0..MAX_SIZE] OF INT' to type 'ARRAY[0..MAX_SIZE] OF INT'
Last updated: 2024-01-07

Post by fransh on WAGO PFC200 FW25 unable to connect CODESYS Forge talk (Post)
Hi I set up my WAGO PFC200 controller and am unable to connect to the processor. Gateway is set to local host. I can connect to the unit with the WAGO Web Based management but not with Codesys V3.5 SP18.5. Any suggestion?
Last updated: 2023-12-09

Post by pernockham on How to manage soft container licenses for (remote) multi units? CODESYS Forge talk (Post)
Using Codesys runtime for Linux and thinking of the process of preparing multiple such systems for my customer. I don't necessarily have physical access to these units, they can be (very) remote. The idea so far is to use an image to install the Linux OS and codesys runtime. Application updates can be done by distribution of the PlcLogic/Application/application.app and application.crc files. But whats the most practical way of managing the license for these units? Do each controller need to be physically connected to a License Manager instance or can licenses be distributed by means of a license file for each unit? I believe that the license should be stored in soft containers for each unit. Help and insights appreciated! Per
Last updated: 2025-04-04

Instance Problems with wide visualizations CODESYS Forge talk (Thread)
Instance Problems with wide visualizations
Last updated: 2005-10-20

Instance v's Implementation & breakpoints CODESYS Forge talk (Thread)
Instance v's Implementation & breakpoints
Last updated: 2005-04-04

Exporting FB instance parameters in PLCopenXML CODESYS Forge talk (Thread)
Exporting FB instance parameters in PLCopenXML
Last updated: 2016-08-01

{attribute 'instance-path'} crashs in 3.5.16.0 CODESYS Forge talk (Thread)
{attribute 'instance-path'} crashs in 3.5.16.0
Last updated: 2020-05-13

Issues with "Add all instance path" CODESYS Forge talk (Thread)
Issues with "Add all instance path"
Last updated: 2023-12-29

Post by ranadheer on Implementation of IEC-104 CODESYS Forge talk (Post)
Hi Everyone, As we didn't have client for IEC - 104 - only server server is available , so because of that we are trying to make establish the communication between the external simulator as a Client and codesys itself as a server. We are looking for the variable behavior from CODESYS has to change according to the message triggered by the CLIENT (we are using simulator Application like Redisant). We are able to see the log data as the status of triggering the SCS from Client received to the Log data of the codesys device(attached screen shot of it) and in simulator panel we had set the details to trigger the data from Redisant to Codesys. Current Status: The project builds and runs successfully, but I need guidance on how to connect this to an external IEC-104 simulator for testing and visualization by using demo mode.
Last updated: 2025-10-14

Post by dkugler on Codesys SVN CODESYS Forge talk (Post)
Don't set on SVN. The service phase has started in March 2024 and will be discontinued in 2027. We actually use SVN and have to switch to GIT in the future. As I informed, there is no way of getting a single SVN or GIT licence. I' dont understand, why Codesys forces us customers to pay for an expensive Professional Edition paket from year to year using only one part of it! If you find a way to buy a single licence, let me know.
Last updated: 2024-04-29

Post by alexgooi on Licensing info not available. CODESYS Forge talk (Post)
Thank you for your quick response, I have updated to the 4.17.0 (Virtual control and the license server). Now I am able to see the softcontainer from the Codesys IDE. But when I want to activate the license I get the following message: Licensing info not available. The device does not support this service (See picture). I then tried to active it via the WBM service like you suggested. But when I try this is get an error (see picture for error). I also tried to put RTS- in front of the serial number, but when I try this I get an error that the serial number is not correct. I think I'm getting closer, but I'm not there yet.
Last updated: 2025-10-01

Post by ofey on Modbus TCP communication CODESYS Forge talk (Post)
Hi! I tried setting up the PLC I'm working with (Beijer GN-9373) to connect to a modbus master running on a laptop. I have an ethernet connection (via USB-C to ethernet) between the laptop and the controller. I have tried following tutorial on how to set this up. I have added an ethernet device with the IP-address of the PLC. Further I added a ModbusTCP_Slave_Device with default settings. I get the error "Failed to open TCP Port: 1" when I try to go online with the PLC. Earlier I tested the exact same set up with the soft PLC from codesys. I can then read/write values correctly with the Modbus master i have running on the laptop. Hope anybody can help me with this, thanks in advance!
Last updated: 2023-10-06

Post by ulvis on CFC Pages Cut&Paste is not working at its best CODESYS Forge talk (Post)
In the CFC page oriendted editor, if I copy some elements consisting of an input connector, some connected logic and an output connector and then paste this on a another page then the pasted elements get inserted with an offset to the right so that the rightmost connector falls outside of the page, in the grey hatched area. So far so good. Then I mark all the elements and try to drag them into the correct placement, collectively. THIS IS NOT POSSIBLE! I only get the "forbidden" icon tooltip. One has to drag & drop the INDIVIDUAL elements to move the elements around. What am I doing wrong?
Last updated: 2025-05-15

<< < 1 .. 18 19 20 21 22 .. 309 > >> (Page 20 of 309)

Showing results of 7709

Sort by relevance or date