tnunnink / L5Sharp

A library for intuitively interacting with Rockwell's L5X import/export files.
MIT License
55 stars 6 forks source link

Creating Safety Programs #12

Closed AndyJRobo closed 8 months ago

AndyJRobo commented 8 months ago

Hi,

Is there a way to add the class attribute to a program and/or tag to specify it as a safety program/tag?

E.g. <Program Use="Target" Name="_00s_InMap_CLP330" TestEdits="false" MainRoutineName="Main" Disabled="false" Class="Safety" UseAsFolder="false">

tnunnink commented 8 months ago

Hey,

This was missing but I went ahead and added it to 0.19.5.

Tag, Program, AddOnInstruction, and Task, now all have this property. Look for the Class property of type ComponentClass and you should be able to set it to Standard or Safety now.

AndyJRobo commented 8 months ago

Awesome thanks for the quick response and update. This is a great project that I think I will find very useful.

tnunnink commented 8 months ago

Thanks! Glad to hear it. Let me know if anything else is missing.