Jump to content

Indexing the Data Table


Mshak

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

Link to comment
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".

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

This site uses cookies. By clicking I accept, you agree to their use.