It is currently Wed Aug 20, 2014 6:22 pm

Post new topic Reply to topic  [ 2 posts ] 
 Variable Length Block Group 
Author Message

Joined: Mon Sep 17, 2007 6:26 am
Posts: 9
Location: Lebanon, MO
Post Variable Length Block Group
I have a block group with a maximum range of 0 to 900.

We are measuring pallets and I want to log the entire pallet after measuring. There will be a variable number of pieces in a pallet, but never more than 900. I am wanting to log only the required number of pieces from the PLC. If there are only 600 pieces, I would like to log 0 to 600 instead of the full 900.

I think this could be done by allowing an integer OPC "Accessory Item" to be used to specify the length for the block data item.


Mon Jun 22, 2009 12:54 pm

Joined: Sun Apr 02, 2006 3:43 pm
Posts: 2491
Post Re: Variable Length Block Group
Yeah, I like this idea. You can refer to items in the WHERE clause, so it seems like it would make sense to have an option which could refer to an item for the number of rows to write.

Slightly similar, one feature we get asked for a lot is to have the block group only insert rows that have data which has changed. As long as it has the row id (or one of the columns is an identifier) it should be no problem to make sense of the data.

This should make it in to the next major release (towards the end of the year...)


Colby Clegg
Inductive Automation
Software Development

Mon Jun 22, 2009 2:12 pm
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 

Who is online

Users browsing this forum: No registered users and 0 guests

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: