Search talk: REFERENCE

 
<< < 1 2 3 4 5 6 > >> (Page 4 of 6)

Post by dkugler on Direct Pointers in IOMapping for EtherCAT with IoDrvEthercatLib.ETCSlave_Dia CODESYS Forge talk (Post)
rmaas: how do you get the reference of the slave?
Last updated: 2024-02-13

Post by olemart on Set REFERENCE to 0 (null) when no longer used CODESYS Forge talk (Post)
Did you find out if this work?
Last updated: 2024-10-02

Post by awatson on User Management - REFERENCE TO VisuUserMgmtProvider CODESYS Forge talk (Post)
Hello Guys I have IFM CR1140 screens that I want to use the basic user management Elements on - But I am trying to figure out where I am going wrong with the References "REFERENCE TO VisuUserMgmtProvider" The Device will look after the security itself - I have enabled the User Management in Visualization Manager and added an admin user to the device and sync'd.
Last updated: 2023-11-17

Post by tvm on Cannot pass array of constant size to a function as a reference CODESYS Forge talk (Post)
It will be a reference, because it's a VAR_IN_OUT. it's a little weird debugging the array online. It just shows as a POINTER TO INT, and you can't actually see the array from the function side. But you can still work with it as a normal array, not a pointer.
Last updated: 2024-01-09

Post by fpawlak on KNX SL on stock PFC200 firmware CODESYS Forge talk (Post)
Hi All. Is it possible to use CODESYS KNX SL on stock Wago firmware (Codesys version, not e!Cockpit). I have Wago 750-8212 with firmware 0.4.04.03(26). When I tried to run 'KNX SL' or even 'Device Reader', I have got [FATAL ERROR] Unresolved reference: 'CODEMGETCONTENTBYFIRMCODE3' [FATAL ERROR] Unresolved reference: 'CODEMGETCONTENTBYFIRMCODE2' [FATAL ERROR] Unresolved reference: 'CODEMGETCONTENTBYFIRMCODE2' What probbalby means that there is no running CodeMeter component on PLC. I have checked /etc/codesys3.d/CODESYSControl.cfg [CmpWebServer] WebServerPortNr=58080 [CmpSecureChannel] CertificateHash=86ccf31839a098ee32067179e26600f1bd6b36f8 [CmpUserMgr] AsymmetricAuthKey=a9d38381e75bbf1bbfc8749e97f536f68238a2ce So the question is if I can somehow add Codemeter to stock firmware? Or should I switched to CODDESYS Control for PFC200 SL or application-base runtime licence?
Last updated: 2024-05-23

Post by macros8 on Translation - How to get text as reference in Frames translated? CODESYS Forge talk (Post)
Hi all, I need a help. I want to create Frame where some parameters are done via reference input to this frame. What I have realized that if I use for Label/Caption etc. string variable (%s) it is not included in translation list. This is a quite a big deal and I did not find way how to add text to the list manually. Would you give me a hint how to proceed? I hope there is a way (workaround) how to do it. Thanks a lot. M.
Last updated: 2023-12-01

Post by timvh on Troubles with using CAN API CODESYS Forge talk (Post)
In the example project, you can see that a CAN.CANAreaReceiver is used which has an VAR_IN_OUT reference to a RECEIVER_AREA structure. This structure has a dwIdStart and dwIdEnd to filter a range of ID's and process them through the referenced msgProcessor.
Last updated: 2023-09-19

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 apurv on Cannot pass array of constant size to a function as a reference CODESYS Forge talk (Post)
Could not find the solution to this issue but I have side stepped this by creating a global variable MAX_SIZE.
Last updated: 2024-01-08

Post by matt-s on HMI Pushbutton/Move Instruction CODESYS Forge talk (Post)
I put the cross reference at the bottom of the pictures. It is not being written to elsewhere. I have tried the execute block too.
Last updated: 2024-01-26

Post by matt-s on HMI Pushbutton/Move Instruction CODESYS Forge talk (Post)
I put the cross reference at the bottom of the pictures. It is not being written to elsewhere. I have tried the execute block too.
Last updated: 2024-01-26

Post by saugat10 on Cannot find existing placeholder CODESYS Forge talk (Post)
I have installed a library VisuUtils. As you can see in the picture it cannot find the reference to System_VisuElemBase though it is indeed present. How can i resolve this issue?
Last updated: 2024-04-08

Post by tvm on Passing properties as VAR_IN_OUT variables. CODESYS Forge talk (Post)
Use a VAR_INPUT for properties. The reason for the error is that you can't get a reference to a property. Using a VAR_INPUT will copy the property to an input variable.
Last updated: 2025-03-06

Post by felipemsgarcia on Axis EtherCAT address CODESYS Forge talk (Post)
Hello, I'd like to write some parameters to axes from inside a function block where I passed axis by reference, using ETC_CO_SdoWrite. Is it possible to get the device address from inside the function block? Please see example below. Thank you!
Last updated: 2025-03-06

Post by avenue68 on REFERENCE TO in an array CODESYS Forge talk (Post)
That's because the array only contains structures themselves, not references. It doesn't matter that what consists of each struectures unless they are not pointers.
Last updated: 2025-05-21

Post by thomasfrank on TCP Server CODESYS Forge talk (Post)
You can use function blocks like TCPServer to start the Retro Bowl College server and TCPAccept to handle incoming connections, with CAA.Handle simply acting as a reference ID for each resource.
Last updated: 2025-06-03

Post by timothyzalusky on Missing Device Descriptions in Repository CODESYS Forge talk (Post)
For reference this is fixed by installing the new codesys install with a separate repository folder. Completely resolved. If anyone else sees this. I would like to know why the persistent devices repository folder does not properly retain between installs though.
Last updated: 2025-06-12

Post by timothyzalusky on Missing Device Descriptions in Repository CODESYS Forge talk (Post)
For reference this is fixed by installing the new codesys install with a separate repository folder. Completely resolved. If anyone else sees this. I would like to know why the persistent devices repository folder does not properly retain between installs though.
Last updated: 2025-06-12

Post by timothyzalusky on Missing Device Descriptions in Repository CODESYS Forge talk (Post)
For reference this is fixed by installing the new codesys install with a separate repository folder. Completely resolved. If anyone else sees this. I would like to know why the persistent devices repository folder does not properly retain between installs though.
Last updated: 2025-06-12

Post by rckalex on Adjusting Ethernet Settings from Visualization CODESYS Forge talk (Post)
Could someone please share reference documentation for interacting with a device's IP settings from a visualization/webvisu? Is what is outlined here still valid? https://forge.codesys.com/forge/talk/Engineering/thread/ad11c199a2/
Last updated: 2025-06-26

Post by jerry-sorrells on Find Function: Object reference not set to an instance of an object. CODESYS Forge talk (Post)
Build: CODESYS 3.5 SP19 Patch 1 (64-bit) Host OS: Windows 10 Target: Linux SL I have a project with programs in Structured Text and Ladder Diagram. When I try to use the Find function, it works for the Active Editor; however, when I try to use Find for the Entire Project, I get the error "Object reference not set to the instance of an object." I know what this error means in the context of the program, but I have no idea why the find function is returning this error. The variable I am searching does not matter: it happens with all variables. Any help with this will be greatly appreciated. I generally use the Find function quite often as I am developing and not having it is really slowing me down.
Last updated: 2023-10-23

Post by simotion on Pointer to Softmotion axis CODESYS Forge talk (Post)
In my projet I use Softmotion. There are several Softmotion axis (type SM_Drive_Virtual). In the Global Variable List I have an array of pointers to the adress of the Axis. Axis : ARRAY[1..iMaxCntAxes] OF POINTER TO AXIS_REF_SM3 := ADR(AX01_Axis), // [1 ADR(AX02_Axis), // [2] This works, but when compiling I get the message : . [WARNING] E3D: GVL Device: PLC Logic: Application: C0564: A reference to uninitialized variable AX01_Axis is used for initialization of Axis. Accessing the uninitialized variable may result in unexpected behavior. [WARNING] E3D: GVL Device: PLC Logic: Application: C0564: A reference to uninitialized variable AX02_Axis is used for initialization of Axis. Accessing the uninitialized variable may result in unexpected behavior. Is there a way when initializing to force the hardware (softmotion axis) to first initialize and then the Global Variable List?
Last updated: 2023-10-25

Post by macros8 on Translation - How to get text as reference in Frames translated? CODESYS Forge talk (Post)
Hi, thanks for the link. Maybe I create elements in incorrect way. I always use Interface Editor to create variables which are used inside element (see pics). After that I place element in my visu and use Reference property to link variable or set the value. In that case the value of string is not transferred to general text list for translation as I mentioned before. Do I have to all properties which influence behavior of my element create in Frame configuration instead? WhatΒ΄s the difference to the Interface editor? Thanks a lot. M.
Last updated: 2024-01-02

Post by struccc on Release SP20 - Changes in behaviour? CODESYS Forge talk (Post)
This... is not very practical for me - as I have a bunch of different classes - it's just doesn't seems to be very practical to define a NULL for each of them... Something like this I use in parameter definitions. For example: VAR_INPUT refVFD_Drive : REFERENCE TO FB_VFD_Drive := GVL_DUMMY.Dummy_VFD; END_VAR I use this to prepare objects for code I don't control: Typycally visualizations - had many troubles with references set on the fly, right before opening a corresponding visualization... And yes, the instance in GVL_Dummy reports itself as "Fake", so it does not influence the actual application at all. Actually this way I could invalidate a reference, just to set it to a "Dummy" instance.
Last updated: 2024-03-25

Post by andrej on Creating, using an external Function. CODESYS Forge talk (Post)
Hello all, I would like to create a simple which runs directly on Control WinV3 x64 3.5.21.0 For this purpose I created a simple dll myAdder.dll in Cpp // MyAdder.cpp // cl /LD /EHsc MyAdder.cpp /Fe:MyAdder.dll #include <windows.h> extern "C" __declspec(dllexport) int __cdecl CmpMyAdder_Add(int a, int b) { return a + b; } I added the dll in the respective folder. Furthermore I "registred" the dll in the CODESYSControl.cfg. However, when I want to use the library I get the error message: Uresolved reference: *'CMPMYADDERADD' * Can you give me a hint what step I missed or where I need to declare the dll, such that the dll resp. the reference can be resolved. Many thanks and kind regards
Last updated: 2025-04-18

<< < 1 2 3 4 5 6 > >> (Page 4 of 6)

Showing results of 149

Sort by relevance or date