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

 
<< < 1 .. 43 44 45 46 47 .. 293 > >> (Page 45 of 293)

Post by mp9876 on Problem using MeasureFrequence FB CODESYS Forge talk (Post)
Hi everyone, new at Codesys and PLC programming in general. I am using Codesys Win V3.5 SP20 I would like to measure an encoder's frequency output (obtaining that pulse train from Factory IO) and intended to use the MeasureFrequence FB (Intern/CAA/Utilities/CAA Mathematics/3.5.19.0). As mentioned in the title what I need to measure is low frequency, such as lower than 40hz (a cycle every 25mS) or so; I could even go lower frequency if required as this is for test purposes) therefore I am not expecting problem measuring a low frequency with that FB The library in question appears to be installed as I can retrieve it from the Library Repository. I can also see it from the Device's Library Manager. Problem arises when I am trying to instantiate this particular FB. I go like this: VAR MeasF:MeasureFrequence; END_VAR Please note that as soon as I start typing the "MeasureFrequence", the MeasureFrequence comes out as a viable option in auto-typing; seems to indicate that the FB is recognized somehow. But there is no way I can compile this as it comes back with the following: C0046: Identifier 'MeasureFrequence' not defined. Tried to rename that to ABC instead of MeasF; same issue. Possibly that the library is not properly installed ? Placeholder ? I would greatly appreciate a bit of guidance if possible. Thank you and regards, Mike
Last updated: 2024-06-24

Post by snhatton on Can't open online view of FB instance from code editor, only from Device/POU windows CODESYS Forge talk (Post)
Good morning, Yes, this is a known bug that has been reported. For now, the only workaround is to open the function block instances from the device tree. Regards, -Shawn
Last updated: 2023-11-08

Post by runtimevictor on virtual plc vPLC configure nics CODESYS Forge talk (Post)
Hello, When I add 2 nics in vPLC this happens to me..., why is it? If I just put one of the two NICs, the vPLC runtime instance starts running correctly...
Last updated: 2025-02-02

Post by mbart on VAR_INFO from inside of a FB to get info on the instance. CODESYS Forge talk (Post)
I experienced the same problem: using __VARINFO is working only in PRG context, while it crashes if used inside Function Blocks. I would really appreciate if they would fix this issue
Last updated: 2025-12-04

Post by scrollman on Attribute FB for comment CODESYS Forge talk (Post)
Hello, I can use {attribute 'reflection'} FUNCTION_BLOCK POU VAR {attribute 'instance-path'} {attribute 'noinit'} str: STRING; END_VAR to get name of FB. How I can get the comment this FB, in the same way in the FB? Thank you for your time!
Last updated: 1 hour ago

Using a method called from opcua fill an specific array position CODESYS Forge talk (Thread)
Using a method called from opcua fill an specific array position
Last updated: 2022-02-18

Establishing communication between a Raspberry Pi 4 and an Arduino UNO R3 using I²C. CODESYS Forge talk (Thread)
Establishing communication between a Raspberry Pi 4 and an Arduino UNO R3 using I²C.
Last updated: 2023-12-03

UDB Block in Codesys V2.3 implementieren um Werte an bestimmte IP-Adresse zu senden CODESYS Forge talk (Thread)
UDB Block in Codesys V2.3 implementieren um Werte an bestimmte IP-Adresse zu senden
Last updated: 2024-07-19

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

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

<< < 1 .. 43 44 45 46 47 .. 293 > >> (Page 45 of 293)

Showing results of 7322

Sort by relevance or date