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

 
<< < 1 .. 48 49 50 51 52 .. 303 > >> (Page 50 of 303)

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 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 imdatatas on SMC_ERROR.SMC_AXIS_NOT_READY_FOR_MOTION when using Drive Virtual CODESYS Forge talk (Post)
@ducng, Another possible situation could be that normally there are 3 inputs for MC_Power. In your above images, I can't see the "bDriveStart" input activated. As Mr. @gseidel mentioned, you need to make sure MC_Power.Status output should be TRUE. Issuing any movement command without activating the axis would naturally result in an error. For MC_Power; You can set the Enable and bDriveStart inputs to TRUE and try turning the axis activation on and off using only the bRegulatorOn input. Regards, Imdat
Last updated: 2025-11-28

Adding a scaling factor to text sizes of different languages CODESYS Forge talk (Thread)
Adding a scaling factor to text sizes of different languages
Last updated: 2017-03-31

Number of Connections to Modbus TCP Slave CODESYS Forge talk (Thread)
Number of Connections to Modbus TCP Slave
Last updated: 2024-08-01

Number of Connections to Modbus TCP Slave CODESYS Forge talk (Thread)
Number of Connections to Modbus TCP Slave
Last updated: 2024-08-01

Number of Connections to Modbus TCP Slave CODESYS Forge talk (Thread)
Number of Connections to Modbus TCP Slave
Last updated: 2024-08-01

Number of Connections to Modbus TCP Slave CODESYS Forge talk (Thread)
Number of Connections to Modbus TCP Slave
Last updated: 2024-08-01

How to get component name and IDs of enumeration? CODESYS Forge talk (Thread)
How to get component name and IDs of enumeration?
Last updated: 2022-11-21

How to ensure a clean, consistent install of Codesys 3.5.4? CODESYS Forge talk (Thread)
How to ensure a clean, consistent install of Codesys 3.5.4?
Last updated: 2014-01-13

Transfer array of byte to i2c-device CODESYS Forge talk (Thread)
Transfer array of byte to i2c-device
Last updated: 2022-08-12

Add to EL2521 AXIS ENCODDER FEEDBACK of EL5101 CODESYS Forge talk (Thread)
Add to EL2521 AXIS ENCODDER FEEDBACK of EL5101
Last updated: 2018-02-08

Access to device via IP instead of codesys address CODESYS Forge talk (Thread)
Access to device via IP instead of codesys address
Last updated: 2014-02-13

Ladder: how to use second output of FB CODESYS Forge talk (Thread)
Ladder: how to use second output of FB
Last updated: 2015-05-29

how to use the function block of MC_ProfilePosition CODESYS Forge talk (Thread)
how to use the function block of MC_ProfilePosition
Last updated: 2013-05-17

Address components of variable to IO-addresses CODESYS Forge talk (Thread)
Address components of variable to IO-addresses
Last updated: 2014-04-01

How to tweak the performance of BeagleBone Black (with realtime) CODESYS Forge talk (Thread)
How to tweak the performance of BeagleBone Black (with realtime)
Last updated: 2021-04-26

How to specify the font name of a visu element? CODESYS Forge talk (Thread)
How to specify the font name of a visu element?
Last updated: 2013-09-24

User permission to view/ hide parts of offline program CODESYS Forge talk (Thread)
User permission to view/ hide parts of offline program
Last updated: 2023-04-17

How do I convert string to array of bytes? CODESYS Forge talk (Thread)
How do I convert string to array of bytes?
Last updated: 2010-04-09

Convert 2 diff type of int to real type CODESYS Forge talk (Thread)
Convert 2 diff type of int to real type
Last updated: 2021-08-17

Merge image to the cell of Table element CODESYS Forge talk (Thread)
Merge image to the cell of Table element
Last updated: 2019-06-04

How to use the function block of CANOpenDevice? CODESYS Forge talk (Thread)
How to use the function block of CANOpenDevice?
Last updated: 2013-04-15

y no array of bool to bool CODESYS Forge talk (Thread)
y no array of bool to bool
Last updated: 2013-02-22

How to make the output of a function blok persistent? CODESYS Forge talk (Thread)
How to make the output of a function blok persistent?
Last updated: 2020-11-09

<< < 1 .. 48 49 50 51 52 .. 303 > >> (Page 50 of 303)

Showing results of 7574

Sort by relevance or date