Information about what TypeNo is sent during plcChangeoverStarted event?

My colleagues from the MES team and I are having a heated discussion πŸ˜€ about plcChangoverStarted content. They tell me that the type number that is being sent within plcChangoverStarted is the current one.Β What I've seen in other projects including Digital machine somethingΒ  is different and it works like this:

  1. Select type from File dialog and copy to Station.State.Data.New[1].TypeNo
  2. Send plcChangoverStarted event with this content. The type number I'm trying to change to is sent.

    Β 

  3. Process changover.
  4. At the end send plcChangover with Station.State.Data.Cur[1].TypeNo.

So my simple question is: Should the plcChangoverStarted contain the number of the current type (TypeNoCur), or the type I'm trying to change to (TypeNoNew)?

Best reply by David

With the plcChangeOverStarted-Event MES validates the type (if it exists or is released, ...). You get the result in the result code (if the validation was successful). Only after successful validation you can continue your changeover.

--> You have to send the TypeNoNew.

View original
1 reply
Resolved