diff -r d6adca8b6697 -r 71b1545d746f PLCGenerator.py --- a/PLCGenerator.py Thu Jun 12 18:15:04 2014 +0200 +++ b/PLCGenerator.py Fri Jun 20 21:36:23 2014 +0200 @@ -393,7 +393,11 @@ single = task.getsingle() # Single argument if exists if single is not None: - resrce += [("SINGLE := ", ()), + if single[0]=='[' and single[-1]==']' : + SNGLKW = "MULTI" + else: + SNGLKW = "SINGLE" + resrce += [(SNGLKW + " := ", ()), (single, (tagname, "task", task_number, "single")), (",", ())] # Interval argument if exists