Tagname : automation logic for rail systems