TwinCAT ARRAY read only one column

Vijolica555

Member
Join Date
Apr 2018
Location
Germany
Posts
21
Hello guys!

I have a ARRAY[0..2047,0..3].. I want to have column by column, how can I read it?

Data := ARRAY[0..2047,0..3] OF STRING;

In Matlab would I Read column like: FirstC = Matrix:),0);

Here I have no idea how to pick whole column:
sFirstC : STRING := Data[:,0]; is not working

Any ideas?

Maybe also a bit background. I am reading CSV data with example program from Beckhoff infosys: https://infosys.beckhoff.com/englis...lccontrol/html/tcplcctrl_constant_numeric.htm

Thank you
 

Similar Topics

Hi, Right now Im working with a Wenglor vision system connected to a Beckhoff PLC. From the camera im getting a string of measurement that i send...
Replies
9
Views
5,456
Hello, I want to put I/O states into an array so i can read this array over ads communication with an other plc. how can i make this array in...
Replies
0
Views
1,965
I like to make a hmi with the TwinCAT Visualization. The project i am working on now is a conveyor belt with products on them. The plc code...
Replies
0
Views
1,985
Hello, My project task is to read from EtherCAT 128 analogue input channels at 500Hz, then transfer them to the PC as close to Real time as...
Replies
2
Views
5,610
Hello All, I am trying to do something quite simple but not use to some of Twincat's instructions/syntax. I am programming in...
Replies
4
Views
21,019
Back
Top Bottom