Jump to content

nktasingh

Members
  • Posts

    9
  • Joined

  • Last visited

Everything posted by nktasingh

  1. Hello, How much memory do data samplers use? I'm trying to decide how many samplers I can have, and how often they can log data. For example, let's say I was logging an analog input every minute. How much memory would this use in a year - or more specifically, how much memory space would one analog value need in the sampler? Thanks!
  2. Hello, I'm looking to implement a trends graph on the HMI screen with particular user capabilities. I'd like to be able let the user select the timescale on which to view the data (by minute, hour, day, week, etc). What are ways to implement this? From what I can tell, the simplest way would be to have different data samplers for the same variable that logs data at different time increments. But obviously this would be memory intensive. Is there a more efficient solution? Thanks!
  3. Can't believe I missed that, thank you!
  4. I'm trying to figure out where the PLC scan starts for a PLC running UniLogic. Is there a predefined "main method" as in Visilogic? Otherwise, how are methods called?
  5. Hello! I recently tried to open my project in VisiLogic and got the following error: Cannot Complete Action (163) You cannot complete this action because: -there is not disk in the drive, or -the disk in the drive is full, or -the disk in the drive is write-protected., I haven't changed anything in my computer (running Windows 7). Has anyone else encountered this problem and/or have suggestions? Thanks!
  6. Thanks! I ended up running a test and the PLC scan jumped from 3 to 4 mSec when I had 6 subroutines reading from a data table each scan. Doesn't seem like the best implementation choice for many routines, thanks for your input!
  7. Hello! 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!
  8. Hello! I need to execute an action on every row in a data table. To write this like a for-loop, I need the number of rows in the table so I can iterate through. Is there a way to get the number of rows in a table without hard coding it? I need this to work generically, where the number of rows in the table aren't fixed. If this isn't possible, is there another way of going about executing something on every row in the data table? Thanks!
×
×
  • Create New...