HI Ken,
thanks for the suggestion, I'll try it out tomorrow.
Why do I want to do it? Simple, I'm still struggling to get to grips with ALARM_S. In GRAPH I have the option to generate ALARM_S messages automatically (and´I've tried it this afternoon, it works, although I don't seem to be able to acknowledge and get rid of the message) and I wanted to see what code GRAPH had produced.
@SG, that's interesting to hear, up till now I've only ever heard comments about how wasteful SCL is in comparison to STL and how much bigger (and slower) the SCL compiled blocks are. Interesting to hear of it working out in the other direction occasionally. Won't do me much good though. I come from a hardware and not a software background and I don't get on at all well with SCL. In my PDP11 days, 30 years ago, I used to prefer coding in machine code to Assembler, maybe that's why I feel much more at home with STL!
This is another of those situations which pi$$es me off with Siemens. I sometimes have the impression that they intentionally write their manuals and helpfiles somewhat cryptically, so that you are forced to buy their "kostenpflichtige" sample programs. For the price they demand for their S/W licences (never mind the H/W prices) I would think sample programs ought to be automatically supplied - I guess that's wishful thinking though.
If I can't crack this in the next few days though, I think I'm going to be back looking for sample ALARM_S programs! While I prefer to struggle through on my own (because I remember it better that way), time is starting to run out on me!