How can i program a TCP/IP communication on softlinkARM?
CODESYS Forge
talk
(Thread)
How can i program a TCP/IP communication on softlinkARM?
Last updated: 2011-06-28
OPC-UA errors in log, how do I interpret the error codes?
CODESYS Forge
talk
(Thread)
OPC-UA errors in log, how do I interpret the error codes?
Last updated: 2021-02-05
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
How much memory is available with Codesys v3 for inputs and outputs?
CODESYS Forge
talk
(Thread)
How much memory is available with Codesys v3 for inputs and outputs?
Last updated: 2017-09-15
In comminication Setting,how can i Add device with CAN login
CODESYS Forge
talk
(Thread)
In comminication Setting,how can i Add device with CAN login
Last updated: 2013-03-15
How do you find the PID of the process using http://127.0.0.
CODESYS Forge
talk
(Thread)
How do you find the PID of the process using http://127.0.0.
Last updated: 2008-10-31
Raspberry pi get the /dev/ttyUSB number, how you do it?
CODESYS Forge
talk
(Thread)
Raspberry pi get the /dev/ttyUSB number, how you do it?
Last updated: 2021-07-23
How do I avoid axis deviations when the gantr block offset changes!
CODESYS Forge
talk
(Thread)
How do I avoid axis deviations when the gantr block offset changes!
Last updated: 2023-05-30
How I should define a huge size byte array in CoDeSys V3?
CODESYS Forge
talk
(Thread)
How I should define a huge size byte array in CoDeSys V3?
Last updated: 2013-05-09
How can I read and writie on the canbus without CANopen
CODESYS Forge
talk
(Thread)
How can I read and writie on the canbus without CANopen
Last updated: 2019-10-01
How disable long touch press as right-mouse-click on Raspberry Pi touchscreen
CODESYS Forge
talk
(Thread)
How disable long touch press as right-mouse-click on Raspberry Pi touchscreen
Last updated: 2022-05-16
How can you Toggle a Function BOOL input from a different POU?
CODESYS Forge
talk
(Thread)
How can you Toggle a Function BOOL input from a different POU?
Last updated: 2021-08-01
How can I use the MOVE operator in INSTRUCTION LIST in Codesys?
CODESYS Forge
talk
(Thread)
How can I use the MOVE operator in INSTRUCTION LIST in Codesys?
Last updated: 2021-06-19
how use / convert I/O name or address from array (of strings or other)
CODESYS Forge
talk
(Thread)
how use / convert I/O name or address from array (of strings or other)
Last updated: 2023-01-05
How do you change the 'read offset' of a Modbus channel on the fly?
CODESYS Forge
talk
(Thread)
How do you change the 'read offset' of a Modbus channel on the fly?
Last updated: 2021-04-14
How can I read from one directory all the file names?
CODESYS Forge
talk
(Thread)
How can I read from one directory all the file names?
Last updated: 2018-01-04
how read analog value from Arduino Uno in Raspberry pi through I2 C protocol
CODESYS Forge
talk
(Thread)
how read analog value from Arduino Uno in Raspberry pi through I2 C protocol
Last updated: 2022-05-30
How I should define a huge size byte array in CoDeSys V3?
CODESYS Forge
talk
(Thread)
How I should define a huge size byte array in CoDeSys V3?
Last updated: 2013-08-30
How do you call another program from a CFC diagram?
CODESYS Forge
talk
(Thread)
How do you call another program from a CFC diagram?
Last updated: 2022-10-12
How can I copy a folder from USB or single files?
CODESYS Forge
talk
(Thread)
How can I copy a folder from USB or single files?
Last updated: 2021-04-29
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
How can I put a delay in a st code with a for cycle?
CODESYS Forge
talk
(Thread)
How can I put a delay in a st code with a for cycle?
Last updated: 2019-11-12
How can I use the MOVE operator in INSTRUCTION LIST in Codesys?
CODESYS Forge
talk
(Thread)
How can I use the MOVE operator in INSTRUCTION LIST in Codesys?
Last updated: 2021-06-19
How can I reach my candump and cansend through CODESYS? Tried making it work with CANopen
CODESYS Forge
talk
(Thread)
How can I reach my candump and cansend through CODESYS? Tried making it work with CANopen
Last updated: 2024-09-14
Post by tcarlbom on Read tag values using external program
CODESYS Forge
talk
(Post)
This is my first time posting in this forum and I am new to codesys. I am a fullstack developer and I am trying to figure out how the following. What would be the best approach to create a own/custom tag browser? Either directly in codesys ide or using a separate custom program (perhaps a winforms application). 1.a. Shall I parse the .project xml file to get a list of all tags in the project? 1b. Shall I use python scripting in codesys ide to get a list of tags? Once one have selected some tags. These tags shall be exposed to a python program which will be acting as a edge computer. It’s fine to be able to import a file. 2a. I found a library called codesys plchandler which (as I understand) acts a rest api server. Is this correct? If so, can I query the api from a custom python script, ie can query what tags exist in project and or read tag values? My research so far. From earlier projects I know that using opc ua would be perfect for this but from my opinion it’s bloating the plc since it’s resource intensive. So opc ua is not an option. Codesys automation server is neat. But I don’t want to rely on some cloud services and subscription based pricing. There seem to be several interesting codesys libraries like mqtt, tcp server and NVL sender which would help me expose plc tags. But all have a common problem. One have to manually write what tags which will be used in these function blocks. I want a similar experience like “selecting” tags in the opc ua or the codesys tracing, ie a tag browser.
Last updated: 2024-06-28
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
.