Jump to content

Data Table Read execution time

Recommended Posts



What's the difference in execution time between reading data from a data table and reading data from the PLC's memory? I'm trying to write a function that could use different parameter values, not sure if I could just read the parameter values from the data tables each scan or if that would significantly slow the PLC scan time. Otherwise, would reading the data table data into the PLC's memory just once, then referencing those operands be more efficient? The problem with this method would be then maintaining that memory.


Thanks for your opinions!

Link to comment
Share on other sites

More of a personal preference really. There are advantages and disadvantages to both. 


Time probably isn't an issue as the time to run the FB is probably far faster than you think it is.  If you want to check your scan time put SI 0 (scan time with a 1ms resolution) on the screen you're using and see what the effect is on scan time by reading each pass or not reading each pass.

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

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.

  • Create New...