Characters inside a string type.
CODESYS Forge
talk
(Thread)
Characters inside a string type.
Last updated: 2012-03-26
about TYPE AND END_TYPE
CODESYS Forge
talk
(Thread)
about TYPE AND END_TYPE
Last updated: 2014-10-22
how to FUNCTION type VOID
CODESYS Forge
talk
(Thread)
how to FUNCTION type VOID
Last updated: 2013-10-18
BIT type in persistent memory
CODESYS Forge
talk
(Thread)
BIT type in persistent memory
Last updated: 2022-03-17
Cannot convert 'STRING' to type 'STRING'
CODESYS Forge
talk
(Thread)
Cannot convert 'STRING' to type 'STRING'
Last updated: 2014-03-31
Mail Service IIoT : Choose TLS type?
CODESYS Forge
talk
(Thread)
Mail Service IIoT : Choose TLS type?
Last updated: 2020-07-29
How to reset timer type PULSE
CODESYS Forge
talk
(Thread)
How to reset timer type PULSE
Last updated: 2016-11-07
Struct FB Input, type coercion
CODESYS Forge
talk
(Thread)
Struct FB Input, type coercion
Last updated: 2021-10-23
Integer type to byte array
CODESYS Forge
talk
(Thread)
Integer type to byte array
Last updated: 2015-11-25
Type–length–value in Codesys
CODESYS Forge
talk
(Thread)
Type–length–value in Codesys
Last updated: 2022-01-02
missing siemens type functions
CODESYS Forge
talk
(Thread)
missing siemens type functions
Last updated: 2012-04-02
ERROR 3729 invalid type ?
CODESYS Forge
talk
(Thread)
ERROR 3729 invalid type ?
Last updated: 2010-03-18
Flexible variable type for functions: ANY_TO_xxx
CODESYS Forge
talk
(Thread)
Flexible variable type for functions: ANY_TO_xxx
Last updated: 2019-11-06
Get Type Of a Variable
CODESYS Forge
talk
(Thread)
Get Type Of a Variable
Last updated: 2018-02-21
question on type conversions
CODESYS Forge
talk
(Thread)
question on type conversions
Last updated: 2012-10-02
Write variable of type TIME
CODESYS Forge
talk
(Thread)
Write variable of type TIME
Last updated: 2018-04-27
Error: Type mismatch at output...
CODESYS Forge
talk
(Thread)
Error: Type mismatch at output...
Last updated: 2015-11-17
ModbusTCP-type BIT or BOOL
CODESYS Forge
talk
(Thread)
ModbusTCP-type BIT or BOOL
Last updated: 2020-11-16
Compare operands of type STRUCT
CODESYS Forge
talk
(Thread)
Compare operands of type STRUCT
Last updated: 2015-09-22
Post by ndzied2 on Rounding error in simple addition
CODESYS Forge
talk
(Post)
This is a consequence of how computers store floating point numbers. 0.1 cannot be exactly represented in a computer. This is not a CoDeSys thing. Here is a link to a converter to show you the exact value that is represented when you use a REAL data type (which is a 32 bit float). https://baseconvert.com/ieee-754-floating-point If you really need to keep track of 0.1 increments. use INT OR DINT and then add 1 each time and assume that there is one decimal place.
Last updated: 2024-05-24
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 scarter on Bit / Bool data types in function parameters
CODESYS Forge
talk
(Post)
Any reason BIT and BOOL data types are not interchangeable? Trying to make a function which takes a BOOL IN/OUT parameter (Not allowed to use BIT) In the main logic if I make a DINT variable, and want to use each bit on different functions CODESYS will not allow it.
Last updated: 2024-01-17
Post by gilbertamine on Comparing Arrays of structure
CODESYS Forge
talk
(Post)
Hi Everybody, I'm looking for a simple way of comparing two array of a structure. My structure is define like this : TYPE Positions_T : STRUCT PosX: DINT; PosY: DINT; PosZ: DINT; END_STRUCT END_TYPE I have multiples Var : ARRAY [0..220] OF Positions_T, that I need to compare quickly. I don't really want to do a Loop that goes by every 220 points and compare each one of them so I was wondering if there is another way. I came accross the MEM.Compare function, but it require to know the size in Bytes of the memory, and I don't know how to do that... Has anybody an idea on how to do the comparing easily ? Thanks in advance
Last updated: 2024-08-22
Data consistency between tasks
CODESYS Forge
talk
(Thread)
Data consistency between tasks
Last updated: 2013-12-27
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
.