BUG: Why does I get garbage values when I use CONCAT and Array with CAA File?
CODESYS Forge
talk
(Thread)
BUG: Why does I get garbage values when I use CONCAT and Array with CAA File?
Last updated: 2019-07-04
How do i measure time in code? I want to use SR04 distance sensor.
CODESYS Forge
talk
(Thread)
How do i measure time in code? I want to use SR04 distance sensor.
Last updated: 2016-06-10
Post by kbazzett on "Sequent Microsystems" industrial automation hat raspberry pi
CODESYS Forge
talk
(Post)
Here is a complete list of the Sequent Microsystems Pi hats that work in Codesys. https://github.com/SequentMicrosystems/SM_CODESYS/tree/main/ "For easy install download the .package file and open it on your computer, Codesys installer will know what to do with it." <- This. The Multi I/O Hat fit my needs because of the Analog I/O 4-20ma and RTD. I used a Raspberry Pi 5 and 64b install. The example project is also worth the download. With the sample project open, right click on the Raspberry Pi device and update to whatever you are using (SL, MC, 64b). Enable I2C on the PI. You can jumper the hats Analog Outputs to Inputs and see it function on the Web Visualization. Very Cool! I spent quite a bit of time trying to find this solution so hopefully this update helps others. Here is the video link on how to setup a Raspberry PI as a Codesys PLC https://youtu.be/RPoPscbo3Kc?si=Th4-n-mQ6g5fdHj8
Last updated: 2024-12-05
I can't scan my EK1100
CODESYS Forge
talk
(Thread)
I can't scan my EK1100
Last updated: 2022-08-03
can I share compiled code?
CODESYS Forge
talk
(Thread)
can I share compiled code?
Last updated: 2016-07-25
Welchen I-Port benötige ich?
CODESYS Forge
talk
(Thread)
Welchen I-Port benötige ich?
Last updated: 2024-10-01
Post by bolopg on MODBUS TCP REGISTERS CODESYS V3.5
CODESYS Forge
talk
(Post)
Hi. I have a problem with MODBUS TCP MASTER. I treid to read HR in range 3027-3037 but I cannot read them. I have modbus slave chanel with offset 0x3037. I checked what I read and it looks like I am reading HR in range 1-10. What I am doing wrong.
Last updated: 2024-10-11
every time I open the project..
CODESYS Forge
talk
(Thread)
every time I open the project..
Last updated: 2022-03-16
how do I upgrade version V3.5
CODESYS Forge
talk
(Thread)
how do I upgrade version V3.5
Last updated: 2014-07-31
BeagleBone Black mit I²C-Bus
CODESYS Forge
talk
(Thread)
BeagleBone Black mit I²C-Bus
Last updated: 2022-11-29
How I can read .trd files ?
CODESYS Forge
talk
(Thread)
How I can read .trd files ?
Last updated: 2014-10-22
FB referencing I/Os (resolved)
CODESYS Forge
talk
(Thread)
FB referencing I/Os (resolved)
Last updated: 2017-06-11
I can't find RTC FB
CODESYS Forge
talk
(Thread)
I can't find RTC FB
Last updated: 2016-08-16
I want to learn Codesys
CODESYS Forge
talk
(Thread)
I want to learn Codesys
Last updated: 2022-05-20
How do i block move
CODESYS Forge
talk
(Thread)
How do i block move
Last updated: 2011-07-08
I need help with visualization
CODESYS Forge
talk
(Thread)
I need help with visualization
Last updated: 2020-05-21
I have error Call recursion
CODESYS Forge
talk
(Thread)
I have error Call recursion
Last updated: 2022-04-06
WebvisuDetection: I require a different license
CODESYS Forge
talk
(Thread)
WebvisuDetection: I require a different license
Last updated: 2020-06-08
disable I in PID_FIXCYCLE
CODESYS Forge
talk
(Thread)
disable I in PID_FIXCYCLE
Last updated: 2015-04-08
Am i using triggers wrong?
CODESYS Forge
talk
(Thread)
Am i using triggers wrong?
Last updated: 2018-07-27
Post by kurtk on Modbus TCP Server
CODESYS Forge
talk
(Post)
ditto I'm just getting my codesys wheels on and the modbus stuff is confusing. I am re-platforming an existing PLC application On that platform one could simply tag variables to register numbers and the whole shooting match could be accessed via modbus and typically holding registers and input registers were treated the same way... On codesys I see there is a modbus TCP server Device I/O mapping tab and a Modbus TCP server IEC objects tab I get the sense that one can configure the serving of variables both/either way but am unclear about the optimum/necessary path. Apparently in the IEC Objects tab one can "ADD" something or other - presumeably channels. I have created a preliminary function block but the Select Function Block window shows nothing to select WTH ? I exported the Device mapping and was surprised to see the entire Device IO map - complete with all the bit-mapped holding/input registers!! WTH!!?? Bit-mapped words are strictly a nichey special purpose application. I am targetting making a couple hundred variables available which would turn into hundreds of pages of IO/mapping Is the FUnction Block IEC objects thingy an alternative to that ? I notice that CODESYS shows the tags which the PLC used to specify the register address... are tags used in CODESYS for any specific hard-core purpose ?
Last updated: 2025-08-19
Post by jv-certhon on Io driver Scan functionality
CODESYS Forge
talk
(Post)
Hello, Codesys IDE is 3.5.21.30 IoDrvBase is: 3.5.17.8 I am working on implementing Codesys on our I/O product line, using the IO driver examples, and the Linux UDS socket approach. I have sucessfully created an implemetation where I have a Device with mutiple slots, on which I can plug modules. These modules represent our IO modules, and communication is successful. (For this question the assumtion can be made that Codesys commucates with 1 'master' device, which handles further communcation with the IO modules. For the next part of the question it can be assumed that the Master device has a list of which modules are attached/available) I'm now trying to implement the 'Scan for Devices...' feature, but I'm completetly lost on what to do once the IoDrvScanModules method is called in my IoDrvFB. I'm guessing that the ppConnectorList has to be filled with the found devices, but I have no idea if that is the correct approach. And Codesys is not triggering my breakpoints in the method, which makes things more difficult. I hope someone could provide some examples or guidance on what steps I should take to implement the scan feature. Thanks in advance.
Last updated: 2025-11-26
Post by doli on Table selected row
CODESYS Forge
talk
(Post)
Hello. So I have two visualizations. In my main visualization I have a table and in the second one I have a dialog. When I select a row I want that dialog to open. How can I do this? Thank you!
Last updated: 2024-03-20
Post by libichj on Raspberry Pi: List of available drivers / libraries
CODESYS Forge
talk
(Post)
Is it possible to renew the urls in your post? Especially fo "Arduino UNO IO Device Description and Library"? Thank you for reply.
Last updated: 2025-03-15
Post by spiessli on Raspberry Pi 4 with Legacy Drivers and Codesys 3.5.19 Patch 4
CODESYS Forge
talk
(Post)
In fact, specifying to use SM3_Basic library in version 4.14 fixes the issues, choosing 4.16 raises the same issues. (Library Manager > Place Holder > Double click on SM3_Basic > Show all versions)
Last updated: 2023-12-19
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.