Post by atone on Set DeviceID of an IO-Link Sensor at Runtime
CODESYS Forge
talk
(Post)
I need to be able to change (set) the DeviceID of an IO-Link sensor (see DeviceID.png) at runtime. I tried with both ProfinetCommon.PN_PortConfiguration and ProfinetCommon.IOL_PortConfiguration, but I get an error for both when I try to read the port configuration (see PN_PortConfiguration.png). Does one of those FBs is the right one for my purpose? Do I possibly make a mistake when assigning the parameter IOLD_ID/IOLM_ID?
Last updated: 2025-03-19
Post by hemuv on Open Numpad with VU.FbOpenDialogExtended
CODESYS Forge
talk
(Post)
Hello Barton, I try to log the changes in Numpad (upon Ok button pressed) that an Element name/Element text variable is changed from so to so. How to get the Element name (or text fields Text Variable) from where the Numpad is called? Numpad is Invoked from Inputconfiguration->onMouseDown->Write a variable. Thanks
Last updated: 2024-11-07
Post by dgrard on Camera RTSP Feed
CODESYS Forge
talk
(Post)
Hello Is it possible to view a camera RTSP feed in a visualization? It seems as though the browser element doesn't support this and we are trying to replicate an example using the ActivX element with no luck. We are using the Windows Control Win x64 device with a camera connected via LAN. If it is possible, can you provide some instructions please. Thank you
Last updated: 2023-10-17
Post by kporter on Codesys EtherCAT Driver (CmpEt1000MPD) can't set MAC address
CODESYS Forge
talk
(Post)
EtherCAT is a point-to-point protocol so it doesn't need a unique MAC address. It would be very useful to set the MAC address to 020000000000, the standard address for this kind of application. (The important bit is the 02 at the start of the address, which means locally-administered MAC.) The stock Windows driver can do this for my i210 card. But the CODESYS CmpEt1000MPD driver cannot. The image shows the setting with the Windows driver. If I set all my customers' cards to this address, then I don't need to deal with this when deploying my application. A simple PowerShell script can be used to set the MAC address once when the NIC is installed and the driver is changed.
Last updated: 2026-02-09
Post by alex-at-xana on EThercat Dynamic configuration
CODESYS Forge
talk
(Post)
Hi Everyone, For a fast monitoring system I am using Ethercat oversampling and timestamping inputs. As the customers has a lot of different configurations out in the field, we went for a dynamic Ethercat configuration. Already got the whole detection chain working but now I am stuck since two days in debugging the configuration. Here are my quesitons: I extended the dynamic config example for the EL3632 16#0E303052: //EL3632 pSlave^.SetDCSettings(TRUE,TRUE,80,80,TRUE,4000,0,0); pSlave^.AddSyncManager(16#1000,128,16#26,TRUE,3); pSlave^.AddSyncManager(16#1080,128,16#22,TRUE,2); pSlave^.AddSyncManager(16#1100,0,16#4,TRUE,1); pSlave^.AddSyncManager(16#1110,214,16#20,TRUE,0); pSlave^.AddFMMU(0,214,0,7,16#1110,0,1,1); pSlave^.AddFMMU(0,1,0,0,16#80D,0,1,1); xKnown := TRUE; This leads to a PLL Error for these devices. I double and triple checked the configuraton, but cannot find the issue. There seems to be one difference: the config dialog creates a startup parameter: 16#10F3:16#05, Name: Command_0, Value:0. Bitlen: 16, Stop on fault: false, jumpt at fault: false: next line: 0 a) I do not find information on how to set this in my code. Can you help me there? b) Without trying to set the value, I get a PLL error for these devices in the master log. Is the config wrong? c) Do I need to set the Master to Autoconfigure or Manual? I used autoconfigure for my tests. The stack creates input data addresses for the slaves input data range (pSlaves[i].InputData) which are different from those created when I use the Engineering tools dialogs to configure Ethercat. Specifically, the addresses seem to be aligned at 16 byte boundaries when they are created using the engineering tool, but may appear at uneven addresses when I use the script in dynamic config. I did not try to access ULINT at uneven addresses yet, but I am suspecting this may be a problem. Do I need to manually align the addresses ? Any help is appreciated...
Last updated: 2024-09-10
Post by ilya-vah on Table element issues
CODESYS Forge
talk
(Post)
Hello, First post here. I would like to clarify whether the following behavior is known or if it is a bugs. Issue 1 β First row not displayed when using Maximum array index with 1-based arrays Description: When displaying data from an array that is indexed starting from 1 (e.g., ARRAY[1..N]), and the number of displayed rows is limited using the Maximum array index property, the first row of the array is not shown in the visualization. Steps to reproduce: Create an array indexed from 1 (e.g., ARRAY[1..N]). Bind the array to a Table element. Limit the number of displayed rows using the Maximum array index property. Run the visualization. Actual result: The first array element (index 1) is not displayed in the table. Issue 2 β Tooltip string placeholder cannot be bound to string variable from array Description: It is not possible to use a string placeholder in the tooltip that is bound to a string variable from the array. Steps to reproduce: Use a table bound to an array containing string variables. Configure a tooltip using a string placeholder referencing a string field from the array. Run the visualization. Actual result: Tooltip doesn't show any text. A test project demonstrating both issues is attached. Thank you for your time and support.
Last updated: 2026-02-16
Two drives on one axis, Gantry Robot
CODESYS Forge
talk
(Thread)
Two drives on one axis, Gantry Robot
Last updated: 2023-08-25
Two WAGO Ethernet controllers 750-841 configuration
CODESYS Forge
talk
(Thread)
Two WAGO Ethernet controllers 750-841 configuration
Last updated: 2010-04-27
Codesys V3 + Rpi + PCA9685 + two robot arms
CODESYS Forge
talk
(Thread)
Codesys V3 + Rpi + PCA9685 + two robot arms
Last updated: 2024-10-02
Two OneWireMaster on one Raspberry PI 5
CODESYS Forge
talk
(Thread)
Two OneWireMaster on one Raspberry PI 5
Last updated: 2025-06-10
Defining two variable in one rectangle box in Visualization
CODESYS Forge
talk
(Thread)
Defining two variable in one rectangle box in Visualization
Last updated: 2017-04-22
Controlling two trend visualizations with the same date range picker
CODESYS Forge
talk
(Thread)
Controlling two trend visualizations with the same date range picker
Last updated: 2022-11-28
OPC - two channels for one client application
CODESYS Forge
talk
(Thread)
OPC - two channels for one client application
Last updated: 2009-12-05
Raspberry Pi and profinet device with two NICs ...error.
CODESYS Forge
talk
(Thread)
Raspberry Pi and profinet device with two NICs ...error.
Last updated: 2021-06-01
Two Servo Master/Slave, Mechanically linked tunning
CODESYS Forge
talk
(Thread)
Two Servo Master/Slave, Mechanically linked tunning
Last updated: 2017-02-14
communication between two PLC codesys in ethercat
CODESYS Forge
talk
(Thread)
communication between two PLC codesys in ethercat
Last updated: 2020-09-02
I got two exceptions (AccessViolation and SOURCEPOSITION)
CODESYS Forge
talk
(Thread)
I got two exceptions (AccessViolation and SOURCEPOSITION)
Last updated: 2017-10-30
one gvl - two pou's - silly noob problem
CODESYS Forge
talk
(Thread)
one gvl - two pou's - silly noob problem
Last updated: 2019-03-22
Running Shell script which runs two separate process
CODESYS Forge
talk
(Thread)
Running Shell script which runs two separate process
Last updated: 2020-09-02
Two Questions, Multiple CoDeSys Conflicts and Online Editing
CODESYS Forge
talk
(Thread)
Two Questions, Multiple CoDeSys Conflicts and Online Editing
Last updated: 2014-10-03
Write one dimensional array into two dimensional array
CODESYS Forge
talk
(Thread)
Write one dimensional array into two dimensional array
Last updated: 2022-02-25
Two libraries for COM port. Which is better to use?
CODESYS Forge
talk
(Thread)
Two libraries for COM port. Which is better to use?
Last updated: 2021-03-11
can two different OPC server share same port?
CODESYS Forge
talk
(Thread)
can two different OPC server share same port?
Last updated: 2020-11-11
Hardwareconfig for two 750 841 Wago Controller
CODESYS Forge
talk
(Thread)
Hardwareconfig for two 750 841 Wago Controller
Last updated: 2012-10-17
two different OPC clients with different privileges
CODESYS Forge
talk
(Thread)
two different OPC clients with different privileges
Last updated: 2024-02-01
To search for an exact phrase, put it in quotes. Example: "getting started docs"
To exclude a word or phrase, put a dash in front of it. Example: docs -help
To search on specific fields, use these field names instead of a general text search. You can group with AND or OR.