X-Original-To: pgsql-sql-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.2]) by svr1.postgresql.org (Postfix) with ESMTP id B2F44D1B522 for ; Fri, 7 Nov 2003 03:47:48 +0000 (GMT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (neptune.hub.org [200.46.204.2]) (amavisd-new, port 10024) with ESMTP id 22030-02 for ; Thu, 6 Nov 2003 23:47:21 -0400 (AST) Received: from news.hub.org (news.hub.org [200.46.204.72]) by svr1.postgresql.org (Postfix) with ESMTP id 04E83D1B910 for ; Thu, 6 Nov 2003 23:47:17 -0400 (AST) Received: from news.hub.org (news.hub.org [200.46.204.72]) by news.hub.org (8.12.9/8.12.9) with ESMTP id hA73lGNu020601 for ; Fri, 7 Nov 2003 03:47:16 GMT (envelope-from news@news.hub.org) Received: (from news@localhost) by news.hub.org (8.12.9/8.12.9/Submit) id hA73XgZK018911 for pgsql-sql@postgresql.org; Fri, 7 Nov 2003 03:33:42 GMT From: razorbak71@yahoo.com (Razorbak71) X-Newsgroups: comp.databases.postgresql.sql Subject: SQL to PLC to diverter gate, can this be done? Date: 6 Nov 2003 19:31:58 -0800 Organization: http://groups.google.com Lines: 8 Message-ID: Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit X-Complaints-To: groups-abuse@google.com To: pgsql-sql@postgresql.org X-Virus-Scanned: by amavisd-new at postgresql.org X-Spam-Status: No, hits=3.3 tagged_above=0.0 required=5.0 tests=FORGED_YAHOO_RCVD, FROM_ENDS_IN_NUMS X-Spam-Level: *** X-Archive-Number: 200311/50 X-Sequence-Number: 15865 First, I know nothing about PLC's, but I was wondering is there a way to extract data from a SQL database file, feed that to a PLC is some manner, and then have the PLC trigger a diverter gate based on the value in the table exceeding a certain value, to divert parts to another location. Am I off base, or is there something out there that will allow or help me to do this. Any help would be greatly appreciated.