Post by eaglealex on Length of string and Array of bytes
CODESYS Forge
talk
(Post)
Thank you for your answer! I know that 0 will be the end of the string. I checked it. There is no 0 in array of bytes. I made screenshots. There is array of bytes, aborted string and the result of my test via online converter.
Last updated: 2025-04-02
Post by eaglealex on Length of string and Array of bytes
CODESYS Forge
talk
(Post)
Browser's bug... Sorry
Last updated: 2025-04-02
Altering default text/fomt size in the IDE?
CODESYS Forge
talk
(Thread)
Altering default text/fomt size in the IDE?
Last updated: 2014-05-02
Sudden Font size change in IDE, unusable CodeSys
CODESYS Forge
talk
(Thread)
Sudden Font size change in IDE, unusable CodeSys
Last updated: 2021-03-31
How to increase the bug buffer size
CODESYS Forge
talk
(Thread)
How to increase the bug buffer size
Last updated: 2022-08-26
How to obtain code build size at runtime
CODESYS Forge
talk
(Thread)
How to obtain code build size at runtime
Last updated: 2021-12-22
CAA file standard example not right size in read
CODESYS Forge
talk
(Thread)
CAA file standard example not right size in read
Last updated: 2019-05-01
VisuUserMgmtDialog.library: Weird variable behaviour after resizing the dialog size
CODESYS Forge
talk
(Thread)
VisuUserMgmtDialog.library: Weird variable behaviour after resizing the dialog size
Last updated: 2021-07-12
Codesys 2.3 font size with WIN10
CODESYS Forge
talk
(Thread)
Codesys 2.3 font size with WIN10
Last updated: 2022-04-10
How To Set TCP_Client Buffer size?
CODESYS Forge
talk
(Thread)
How To Set TCP_Client Buffer size?
Last updated: 2021-05-14
tasklokale GVL, max-stack-size, Error C0427
CODESYS Forge
talk
(Thread)
tasklokale GVL, max-stack-size, Error C0427
Last updated: 2024-04-16
Alarm Table rows font size not change
CODESYS Forge
talk
(Thread)
Alarm Table rows font size not change
Last updated: 2024-10-23
STRING size and reading STRING with Modbus
CODESYS Forge
talk
(Thread)
STRING size and reading STRING with Modbus
Last updated: 2025-01-31
Post by ewi04 on Recipe Manager - RecipeManCommands, load & write wrong values, Bug?
CODESYS Forge
talk
(Post)
I'm getting closer to the error. The combination of STRUCT and ARRAY probably causes the strange behavior. As soon as the ARRAY is followed by a variable, the problem arises. Examples: X: ARRAY[1..2] OF INT; // okay Y: ARRAY[1..2] OF STRUCT; // problem Z: STRUCT; Z.ArrayOfInt[1]; // okay Z.ArrayOfStruct[1].Variable // problem // *update - array of array also causes the error A: ARRAY[1..2] OF ARRAY[1..4] OF BOOL; // problem I can't be the only one who has this problem. Or? Maybe there is a solution. Anyone? Or is it a bug after all?
Last updated: 2023-11-17
Is it possible to link an array of bits to an alarm group to show a lot of alarms at once?
CODESYS Forge
talk
(Thread)
Is it possible to link an array of bits to an alarm group to show a lot of alarms at once?
Last updated: 2021-07-08
The element of type 'VisuFbElemImage' could not be updated. Reason: Index was outside the bounds of the array.
CODESYS Forge
talk
(Thread)
The element of type 'VisuFbElemImage' could not be updated. Reason: Index was outside the bounds of the array.
Last updated: 2024-12-03
Post by janderson on OPC UA Server limitations, large array crashes runtime
CODESYS Forge
talk
(Post)
when using an array of structs, the runtime crashes. but when using an array of LREALS, it'll do 100k at least
Last updated: 2023-08-23
Post by paro on OPCUA array max length?
CODESYS Forge
talk
(Post)
I think the amount of data is already relatively high and maybe it has something to do with that? Maybe also the CPU load of your device? an array with string(5000)? and have you tested with how many array elements it still works?
Last updated: 2024-02-17
Post by timvh on displaying all incoming CAN bus messages
CODESYS Forge
talk
(Post)
Create a (global) array of Messages: aMessage : ARRAY[0..NR_OF_MESSAGES-1] OF CAN.RxMESSAGE; Then add each received message to the array. IF UserVarGlobal.g_countMsg_RPMset < NR_OF_MESSAGES THEN aMessage[UserVarGlobal.g_countMsg_RPMset] := Message; UserVarGlobal.g_countMsg_RPMset := UserVarGlobal.g_countMsg_RPMset + 1; END_IF
Last updated: 2024-07-22
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 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
Post by kumareasu on Code Size
CODESYS Forge
talk
(Post)
Hello, How to find the following for for my application when I want to switch over to "Application Based Licence"... Code Size. IO size When I use Analog IO. IO size when I use AC inverter(Drive for AC induction motor). For example we read/write few EtherCAT registers.
Last updated: 2023-09-07
Oscat Basic - Array sort function
CODESYS Forge
talk
(Thread)
Oscat Basic - Array sort function
Last updated: 2021-06-25
combo box array - not working?
CODESYS Forge
talk
(Thread)
combo box array - not working?
Last updated: 2016-06-22
Funktion - Pointer auf variables Array
CODESYS Forge
talk
(Thread)
Funktion - Pointer auf variables Array
Last updated: 2017-09-26
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
.