on 08-09-2011 8:15 PM
Hi Experts,
I am using a production routing.
Routing has A----B--C-----D in the production router.
Repair operation is in the NC routing.
SFC failed at any operation(A or B or C or D) will go to repair(NC router).Once Repair is completed I need to take decision based on what operation complete or not complete or where NC is logged?
E.g: If SFC is failed at C , After the Reapir it has to return to C.
If SFC is failed at B, After the Repair it has to return to A.
How can I write the script in the NC router while return, to check at what operation NC is logged ?
I don't want to configure the return in NC router based on the NC codes.
Is there any scripting method like getSFCProperty() etc ?
Any help is appreciated.
Regards,
Guru.
Edited by: gurunadh kumar on Aug 9, 2011 9:16 PM
Hi,
I don't think you can do something like that. There are standard Return functions in ME (i.e. Return to Any Previous etc) that you could use, but they will not cover all your scenarios. The easiest way to fulfill the requirement is to use repair operation for each step in production router and configure exits as required.
Regards,
Konstantin
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Guru,
If you have strict rules like you described, you can simply create the router with NC router as a subrouter:
1) let's say your NC router is called NCR1;
2) then to implement your first rule, just add Pass script to C-->D path and add the following chain:
C -(Fail script)-> NCR1 --> C
3) to implement your second rule, add Pass script to B-->C path and add the following chain:
B -(Fail script)-> NCR1 --> A
In this case, you will have 2 router steps of NCR1 in the router: one for the chain from #2 and another for the chain from #3.
Regards,
Sergiy
Guru,
As I understand, NC router is not included in your production router. If so, then you don't have where to assign the script. So, anyway, if you want to use scripts at router steps, you have to add NC subrouter as a step of production router. Then you will have the arcs where you can assign the scripts.
I don't say that it is impossible to find out the previous step by means of script with SQLs, however, it is not that easy and will definitely require some coding.
Regards,
Sergiy
User | Count |
---|---|
108 | |
12 | |
11 | |
6 | |
5 | |
4 | |
3 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.