Array of STRUCT in einem STRUCT initialisieren
CODESYS Forge
talk
(Thread)
Array of STRUCT in einem STRUCT initialisieren
Last updated: 2016-01-25
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
Array finding the total of index
CODESYS Forge
talk
(Thread)
Array finding the total of index
Last updated: 2023-02-13
Multiple Modbus Read Registers Access by an Array of Elements
CODESYS Forge
talk
(Thread)
Multiple Modbus Read Registers Access by an Array of Elements
Last updated: 2018-04-16
Different types of values in the same array
CODESYS Forge
talk
(Thread)
Different types of values in the same array
Last updated: 2015-11-24
FB Charcurve (Array of points) manipulation?
CODESYS Forge
talk
(Thread)
FB Charcurve (Array of points) manipulation?
Last updated: 2011-05-16
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
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
Post by apurv on Cannot pass array of constant size to a function as a reference
CODESYS Forge
talk
(Post)
I have a Array of constant size defined like this Var Constant MAX_SIZE :UINT := 10; End_var VAR array : ARRAY[0..MAX_SIZE] OF INT; END_VAR Now I want to pass this array to a function by reference, Function fun : INT VAR_IN_OUT CONSTANT MAX_SIZE : UINT; END_VAR VAR_INPUT array : REFERENCE TO ARRAY[0..MAX_SIZE] OF INT; END_VAR but when I run this it gives strange Errors Error : Cannot Convert type 'ARRAY [0..MAX_SIZE] OF INT' to type 'ARRAY[0..MAX_SIZE] OF INT'
Last updated: 2024-01-07
REAL to BOOL
CODESYS Forge
talk
(Thread)
REAL to BOOL
Last updated: 2007-06-11
compare bool arrays
CODESYS Forge
talk
(Thread)
compare bool arrays
Last updated: 2017-03-21
array table and combo box array multitouch problem
CODESYS Forge
talk
(Thread)
array table and combo box array multitouch problem
Last updated: 2018-04-23
Write one dimensional array into two dimensional array
CODESYS Forge
talk
(Thread)
Write one dimensional array into two dimensional array
Last updated: 2022-02-25
How to Map Arrary of Bool to fixed IEC Address?
CODESYS Forge
talk
(Thread)
How to Map Arrary of Bool to fixed IEC Address?
Last updated: 2023-06-30
Post by garrian on How to write multiple coils (Modbus FC15)
CODESYS Forge
talk
(Post)
Thanks for your reply. I belive it is contiguous, I'm writing to adress 0 to 4. Or, do you mean something else? Well, something is happening. If I on the client set adress 1,2,3 to true, only 1 is set to true on the server side. On the client side, the data is array of word. But on the server side, the coils are array of bool. Holding register is array of word on server side. Can this be a problem? Attached screenshot of how it looks at the server side.
Last updated: 2024-11-17
Post by timvh on Array of Program
CODESYS Forge
talk
(Post)
You cannot create an array of Programs. Create a Function Block for this purpose instead of a program. You can create an array of FB instances and call each instance in a loop.
Last updated: 2024-09-03
TwinCAT ARRAY
CODESYS Forge
talk
(Thread)
TwinCAT ARRAY
Last updated: 2018-08-16
In Array suchen
CODESYS Forge
talk
(Thread)
In Array suchen
Last updated: 2010-12-22
Array Deklaration über Konstante
CODESYS Forge
talk
(Thread)
Array Deklaration über Konstante
Last updated: 2012-07-30
ARRAY beschreiben
CODESYS Forge
talk
(Thread)
ARRAY beschreiben
Last updated: 2008-04-07
ARRAY ALS FESTER SPEICHER
CODESYS Forge
talk
(Thread)
ARRAY ALS FESTER SPEICHER
Last updated: 2009-05-13
Array größe bestimmen.
CODESYS Forge
talk
(Thread)
Array größe bestimmen.
Last updated: 2008-01-05
Increas Array Element
CODESYS Forge
talk
(Thread)
Increas Array Element
Last updated: 2023-06-17
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
.