CODESYS - the IEC 61131-3 automation software

Welcome to the official CODESYS Forum
Deutsche Version English version russian version 
It is currently Wed Jul 18, 2018 11:11 am

All times are UTC+01:00




Post new topic  Reply to topic  [ 5 posts ] 
Author Message
 Post subject: Tables
PostPosted: Thu Nov 24, 2011 1:37 pm 
Offline

Joined: Tue Nov 22, 2011 10:44 am
Posts: 4
Hi,

I have put a Table-element into my visualisation in which I show a certain array. (50 rows, 6 columns).

I was wondering a few things:
1: Is it possible to change column names so it doesnt show "ArrayVARIABLE[Index].columnname" ?
I would just like to show "Columnname" instead! how can I do this?

2: Is it possible to allow data entry for the user as well?

thank you for your time!

Nico.


Top
   
 Post subject: Re: Tables
PostPosted: Thu Nov 24, 2011 6:51 pm 
Offline

Joined: Mon Nov 01, 2010 4:30 pm
Posts: 52
double click the table. In the Configure Table dialog click Columns on the left. Double click a column on the right (under Selected columns). In the box type any name you like and it will appear in the header. Then click Edit Template button below the header text and in the new window click Input on the left -> tick 'Text input of ...'


Top
   
 Post subject: Re: Tables
PostPosted: Fri Dec 02, 2011 10:04 am 
Offline

Joined: Tue Nov 22, 2011 10:44 am
Posts: 4
That works.

Thank you very much!


Top
   
 Post subject: Re: Tables
PostPosted: Tue Oct 29, 2013 7:53 am 
Offline

Joined: Sun Oct 06, 2013 6:10 pm
Posts: 18
Is it possible to make data entries? Or i have to change directly array which is connected to table.


Top
   
 Post subject: Re: Tables
PostPosted: Sun Dec 15, 2013 3:51 pm 
Offline
Frequent User
Frequent User

Joined: Thu Jun 14, 2007 9:49 am
Posts: 985
yes you can change it in the array, however i use a separate function block for this.
you can get the x and y from the table
then use the keyboard to change and write it back.
i had problems with writing it into the table again as it is always scanning.

_________________
shooter@home.nl
computer shooter
paul deelen
jacob van wassenaerstraat 29
NL 5224 GG 's-Hertogenbosch
skype shooter paul.deelen
phone +31736139136


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic  [ 5 posts ] 

All times are UTC+01:00


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Limited