Automate linking phase parameters with PLC in Sepasoft MES tag provider for Equipment Phases

Hello everyone,

I need to know if it is possible to do this:

Sepasoft's batch mode creates a provider tag called MES by default. When you insert the exposed phases of type equipment, they have many parameters protected against writing because naturally they are parameters that Sepa updates. If I need to read this information from my PLC, I just connect it with a tag (OpcItemPath property) and it works.

My problem... Every time I modify a phase, the tag is regenerated within the provider tag and I lose all the links to the PLC, having to recreate them again by hand. I thought about establishing rules and using some scripts to automatically link my phases with the PLC, but this works partially for me because the tags that are in read mode allow me to change the OPC node manually, but I don't have access from the script. I also tried to remove the read mode to configure them, but I don't have the permission from the script and I can do it by hand.


image

Is there any level of access I can assign to my engineering user to execute these actions from the designer... is there another method to do it?

Thanks.

Hi AAC,

How did you configure those parameters within the Phase Manager?

What is the value source? Recipe or Execution?

Kind regards
Ben

Thanks for the help...

1- Parameters created automatically by the phase manager.
2- Recipe type.

Regards.

I also have the same problem that so far I have not been able to solve, but seeing the image of your problem I have a different question that I hope you help me solve, I would be grateful. I see that you have the tag 'HandShake_Ack' and the 'HandShake_Valid' as OPC, in your controller logic how are you using it? The point is that in my logic in the controller I had only 2 tags as OPC, the 'Command_Number' and the 'State_Number', but I had problems in that the phases, randomly, I was placed in a status of 'Internal Fault'. Which, after analysis, was because I didn't get feedback from the phase every time I sent a status number (at least that's what I saw), and so I started to also use the 'Status' tag as OPC in my plc logic as a feedback of the phase status. How are you working the controller logic with the phases? Do you use those 'HandShake...' in any way?

Hello, thanks for your replay.

If you put the phase in PLI/PLC mode, the PLC manages the states. This means that Sepa sends you the commands and you must return the states. Check the documentation for the PLI topic, it is quite well explained how to do it. As for the handshake, in my opinion, it has nothing to do with the state of the phases. You use it only to see if the communication is alive. The batch sends you the value of a counter that you have to return using the PLC as ACK. If the difference is greater than 5, you have communication problems. Attention, I have it wired but I am not using it because when you put the recipe in manual or semi-automatic mode it stops working. This is something I have to see later. For now, I have discarded it because I found this behavior.