# HG changeset patch # User lbessard # Date 1204034995 -3600 # Node ID fb500cc79164375df14c3420714c565ce1f8a5d6 # Parent 893ff98ab3be5a46904c162e772defd0d7da59de Adding support for structure variable list generation module in matiec diff -r 893ff98ab3be -r fb500cc79164 PLCGenerator.py --- a/PLCGenerator.py Fri Feb 08 14:37:48 2008 +0100 +++ b/PLCGenerator.py Tue Feb 26 15:09:55 2008 +0100 @@ -674,7 +674,7 @@ if action["type"] == "reference": self.GenerateSFCAction(action["value"], pou) else: - action_name = "INLINE%d"%self.GetActionNumber() + action_name = "%s_INLINE%d"%(step_name.upper(), self.GetActionNumber()) self.SFCNetworks["Actions"][action_name] = " %s\n"%action["value"] action_infos["content"] = action_name self.SFCNetworks["Steps"][step_name]["actions"].append(action_infos)