Register  ::  Login
 
Update : February 06, 2012
Google AdSense Minimize
  
Welcome to Asbuilt-DBA forum ! Minimize

Here you can find a community of professionals who work with INtools® (SPI) and want to interact and exchange information, including problems encountered, offer solutions, and raise new topics.

This forum is composed of two main sections:
1.      Discussions, which is an open discussion forum where you can talk about any related topic to INtools.
2.      FAQ section that offers a variety of questions and answers regarding INtools.
We hope that you will enjoy participating in this forum. Participation in the forum is free of charge.
If you want to start a new forum, please contact the Webmaster.
Add to Google
INtools is trademark of Intergraph corporation
Forum Groups Minimize
SearchForum Home
  Aggregated  FAQ  Wiring  Moving Terminal...
 Moving Terminal Strips
 
 11/26/2007 7:31:48 AM
User is offlinedagwekar
10 posts


Moving Terminal Strips
Hi all,

I am having couple of PLC boxes into which there are some terminal strips, apparatus, io cards which I already wired with device panels & completed the cross wiring as well.

Now as per client comment we need to split all the boxes into 2.

As current wiring I have total 8 strips (combination terminal strips & apparatus) and 8 io card in one box like TS-1, TS-2 & so on.
All of them are wiried fully upto i/o cards.

Now as per new design need to split existing box into 2 boxes
For example…..JB-001 is having TS-1 to TS-8 & io cards for each TS.
So now as per client one box can have only 5 strips & respective 5 io cards. (TS-1 to TS-5)
That means I need shift remaining strips & their respective cards to new box. ( TS-6 to TS-8 )

Now can you all guide me how do I manipulate these with oracle quries?

Regards, Deepak
 11/26/2007 8:46:10 AM
User is offlineadmin
177 posts
5th


Re: Moving Terminal Strips

It's Importent to know If it's version 6 or 7 since it's different solution for each version

Ilan


Ilan Hills ihills@asbuilt-dba.com www.asbuilt-dba.com
 11/26/2007 9:08:02 AM
User is offlinedagwekar
10 posts


Re: Moving Terminal Strips

its version 6 (6.0.6.6)

 


Regards, Deepak
 11/26/2007 2:50:09 PM
User is offlineadmin
177 posts
5th


Re: Moving Terminal Strips

I would  prefer to instruct you  the easy way and not complicate the solution with a lot of sqls (please run this solution first on the backup database..

 

  1. Duplicate the source box with all the strips terminals and channels.
  2. Move from the source i/o card (from all the cards that need to move to the second box)the  cs_tag (don’t delete anything like strip channels and terminals from the  first box).
  3. Modify the second box with the right strip (delete what belong to the first box).
  4. Update the second box i/o card with the right cs_tags in the channels.
  5. Connect to the domain schema and run the following sql:

Select p.panel_id,p.panel_name,s.strip_id,s.strip_name from panel p,panel_strip s where p.panel_id = s.panel_id and p.panel_name

in(‘First box name’,’second box name’) and s.strip_name (‘strip1_name’,strip1_name,’etc’) order by s.strip_name,p.panel_name;

strip name should be the strip that you like to move the connection to the second box.

  1. when you have the list of the strips from the source box and from the second box you can update in the wire_terminal the right panel_id and

strip_id and move in this way the connection to the second box:

update wire_terminal set panel_id = <the second box panel id> ,strip_id = < strip_id for the first strip in the second box >  where panel_id =

<first box panel_id> and strip_id < first strip that you wish to move to the second box>;

Continue with same idea and run command for the second strip etc.

  1. Make sure the connection move to the second box strip and you can delete the strip from the first box.

 

Regards

 

Ilan Hills


Ilan Hills ihills@asbuilt-dba.com www.asbuilt-dba.com
  Aggregated  FAQ  Wiring  Moving Terminal...
Intools
 Search   Forum Home     

Search Engine Optimization and SEO Tools
My Google Pagerank