Bool turning on in case stament in wrong state?
CODESYS Forge
talk
(Thread)
Bool turning on in case stament in wrong state?
Last updated: 2023-12-16
Post by ph0010421 on How to transfer data from DINT to Union(16 Bools) which I need to use in Few FBs
CODESYS Forge
talk
(Post)
In the Struct, change the 'BOOL' to 'BIT'
Last updated: 2023-12-14
Post by smartcoco on Bit / Bool data types in function parameters
CODESYS Forge
talk
(Post)
Memory addressing is measured in bytes, with BOOL occupying one byte. BIT is quite unique as it occupies one bit. So, try not to use BIT in the program. You can use the Unpack function to solve your problem.
Last updated: 2024-01-18
Saving UINT data collected as String data to MMC
CODESYS Forge
talk
(Thread)
Saving UINT data collected as String data to MMC
Last updated: 2007-08-17
Data Source Manager with CODESYS Symbolic data source
CODESYS Forge
talk
(Thread)
Data Source Manager with CODESYS Symbolic data source
Last updated: 2021-03-23
Post by dkugler on Reading a negative number
CODESYS Forge
talk
(Post)
why not simply converting data type UINT to INT? Then avoid negative values with ... := MAX(0 , intTest); Good luck!
Last updated: 2025-05-28
Post by duvanmoreno24 on Modbus writing on value change
CODESYS Forge
talk
(Post)
Yes, I tried to do what you put in the first code. However, I have a problem with that and that is that the inputs must be declared with the type. I have many data types running in my code (real, int, uint, bool) and I can't put them in the same function, another thing is that I need to instantiate that function for everything I want to write to the slave. You put a for to 200 but it means that it has to be the same data type and inside the array, but I want to get them individually. I'm struggling to do it in a good and efficient way like wago's E-cockpit does. in the first screenshot you can see, you simply type in value, change the package of things you want to write in value change and it does everything by itself automatically, without comparing any old and new values and even less having the need to activate a bool. , it is perfect.
Last updated: 2024-04-03
Data consistency between tasks
CODESYS Forge
talk
(Thread)
Data consistency between tasks
Last updated: 2013-12-27
General Data Transmission
CODESYS Forge
talk
(Thread)
General Data Transmission
Last updated: 2012-08-05
Retentive data
CODESYS Forge
talk
(Thread)
Retentive data
Last updated: 2019-11-08
Data Conversion
CODESYS Forge
talk
(Thread)
Data Conversion
Last updated: 2012-08-20
Send data to USB
CODESYS Forge
talk
(Thread)
Send data to USB
Last updated: 2024-08-05
Data Source Error 418
CODESYS Forge
talk
(Thread)
Data Source Error 418
Last updated: 2024-10-11
update data/tim
CODESYS Forge
talk
(Thread)
update data/tim
Last updated: 2025-08-25
update data/tim
CODESYS Forge
talk
(Thread)
update data/tim
Last updated: 2025-08-26
Trend data format
CODESYS Forge
talk
(Thread)
Trend data format
Last updated: 2011-11-01
Data conversion
CODESYS Forge
talk
(Thread)
Data conversion
Last updated: 2020-11-19
Saving application data
CODESYS Forge
talk
(Thread)
Saving application data
Last updated: 2017-09-01
Saving data in powerfail
CODESYS Forge
talk
(Thread)
Saving data in powerfail
Last updated: 2021-11-10
RFID data filtering
CODESYS Forge
talk
(Thread)
RFID data filtering
Last updated: 2015-08-03
Test Manager Data Passing
CODESYS Forge
talk
(Thread)
Test Manager Data Passing
Last updated: 2013-10-30
codesys3 data logger
CODESYS Forge
talk
(Thread)
codesys3 data logger
Last updated: 2023-02-01
String Data Logger
CODESYS Forge
talk
(Thread)
String Data Logger
Last updated: 2021-12-14
Sending data to InfluxDB
CODESYS Forge
talk
(Thread)
Sending data to InfluxDB
Last updated: 2022-01-18
codesys - array, data logger
CODESYS Forge
talk
(Thread)
codesys - array, data logger
Last updated: 2022-07-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.