Jump to content
Sign in to follow this  
Mshak

Indexing the Data Table

Recommended Posts

Hello, I am attempting to create a system in which every time someone rings the wireless door bell, it communicates with the PLC and keeps a log of the time and date at which the button was pressed. I am almost done, and only need assistance when indexing down a row (copying the data from the previous row and writing it to the next). I see there is a indexing row tab on the button, but i need help understanding the function in and out tabs and how to use them successfully within my program. 

 

Any help would be appreciated.

Thanks, Michael

Share this post


Link to post
Share on other sites

hi Mshak,

in the toolbox, for the DT indexed, exist a command called "insert"; use this to insert a record in a specific row of your table...the selected row, already present in the table, and the others below will be pushed down by 1; the last in the DTI, that will be out of range, will be "lost".

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this  

×
×
  • Create New...