Pointer to Array in Funktionsbaustein verwenden
CODESYS Forge
talk
(Thread)
Pointer to Array in Funktionsbaustein verwenden
Last updated: 2009-11-12
Word to array of byte
CODESYS Forge
talk
(Thread)
Word to array of byte
Last updated: 2022-09-22
REFERENCE TO in an array
CODESYS Forge
talk
(Thread)
REFERENCE TO in an array
Last updated: 2024-10-14
Grosses Array in kleines Array schreiben
CODESYS Forge
talk
(Thread)
Grosses Array in kleines Array schreiben
Last updated: 2009-06-15
Zugriff bei Deklaration ARRAY OF ARRAY
CODESYS Forge
talk
(Thread)
Zugriff bei Deklaration ARRAY OF ARRAY
Last updated: 2011-11-03
How to convert UDINT to array of bytes ?
CODESYS Forge
talk
(Thread)
How to convert UDINT to array of bytes ?
Last updated: 2023-03-10
How to transfer data from DINT to Union(16 Bools) which I need to use in Few FBs
CODESYS Forge
talk
(Thread)
How to transfer data from DINT to Union(16 Bools) which I need to use in Few FBs
Last updated: 2023-12-14
I/O Karte mit Ausgabe von DINT
CODESYS Forge
talk
(Thread)
I/O Karte mit Ausgabe von DINT
Last updated: 2007-04-17
Indirect addressing for bit number of a DINT
CODESYS Forge
talk
(Thread)
Indirect addressing for bit number of a DINT
Last updated: 2021-04-01
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
how to declare an array size without constant
CODESYS Forge
talk
(Thread)
how to declare an array size without constant
Last updated: 2016-11-16
Exporting Array from Codesys to Text or Excel
CODESYS Forge
talk
(Thread)
Exporting Array from Codesys to Text or Excel
Last updated: 2018-10-10
Transfer array of byte to i2c-device
CODESYS Forge
talk
(Thread)
Transfer array of byte to i2c-device
Last updated: 2022-08-12
How to Calculate Checksum of an array of bytes?
CODESYS Forge
talk
(Thread)
How to Calculate Checksum of an array of bytes?
Last updated: 2016-05-08
How do I convert string to array of bytes?
CODESYS Forge
talk
(Thread)
How do I convert string to array of bytes?
Last updated: 2010-04-09
y no array of bool to bool
CODESYS Forge
talk
(Thread)
y no array of bool to bool
Last updated: 2013-02-22
FB_Init to define length of array in FB
CODESYS Forge
talk
(Thread)
FB_Init to define length of array in FB
Last updated: 2021-02-02
BadTooManyOperations after changing array dimension from 80 to 160
CODESYS Forge
talk
(Thread)
BadTooManyOperations after changing array dimension from 80 to 160
Last updated: 2022-08-09
how to read the data from array
CODESYS Forge
talk
(Thread)
how to read the data from array
Last updated: 2013-04-15
Mapping of Array Element to a EtherCAt Slave variable
CODESYS Forge
talk
(Thread)
Mapping of Array Element to a EtherCAt Slave variable
Last updated: 2018-07-25
save the varies of array to a TXT file
CODESYS Forge
talk
(Thread)
save the varies of array to a TXT file
Last updated: 2014-05-26
Convert array of 4 byte to real
CODESYS Forge
talk
(Thread)
Convert array of 4 byte to real
Last updated: 2021-06-30
[SOLVE] Convert array of word to string
CODESYS Forge
talk
(Thread)
[SOLVE] Convert array of word to string
Last updated: 2023-06-30
How to create an array dynamically
CODESYS Forge
talk
(Thread)
How to create an array dynamically
Last updated: 2009-06-16
Limiting Memory Access of an Array to Within its Bounds
CODESYS Forge
talk
(Thread)
Limiting Memory Access of an Array to Within its Bounds
Last updated: 2024-03-06
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
.