Good old IEC - by defining 4 languages plus SFC (you did know they don't consider SFC a 'language' as such didn't you?) they've really managed to put the blinkers on people. It's entirely possible there will be control problems out there where the best solution can only be conceived and expressed using some other means. This may well be one of them.
I've always felt the 'S' in SFC is the most important part. It's a sequence. In other words you can predict what is required at every step and define the control accordingly. But what if life isn't like that? Instead of Step 1 always leading to Step 2 what if sometimes it needs to go to Step 3, or Step 4 or Step 99? An SFC could be constructed with this in mind but it would be a horrible mess of spaghetti and cover about 3 hectares. Atifplus shows an example of this for only 5 steps in post #5, and even then the return paths are strictly sequenced. The net result of all this is that IEC SFCs as we know them are not really 'state machines'.
The only time I've seen PLC software which seemed to tackle this issue is Siemens. I once visited a automotive plant where an OEM had supplied a machine programmed with something called Siemens Higraph. I was just an observer but it seemed to be an add-on to STEP7 like the other languages, and was a attempt to produce state machine design which compiled down to FCs and FBs. It looked suspiciously like Atifplus' diagram, with circles representing 'states'. You could connect any state to any other state or states. Where a state had multiple exits to other states you had to define each exit condition uniquely - I don't know how/if the software checked this. A circle could represent not just a single state with a set of commands, but a whole linked chart with other circles/states within it.
You could define a sequence of operations if you wanted: State 1 led to State 2 led to State 3 etc, or have it responding in a controlled manner to live conditions e.g. 1-2-1-2-3-1-... But if these were all part of a 'higher level' state I think an event at the upper level could interrupt the lower level. I'm not sure on the details but it looks as though Siemens still have it on their tech support web-site and it's still available. Clearly it's not a IEC standard so someone has to be brave enough to step away from that.
IEC61131-3 is just a toolbox. And Peter needs to perform a task. If the IEC toolbox only contains Torx bits and he needs to tighten an Allen bolt he either has to bodge it or go and get a new set of tools. From his posts I suspect I know what kind of engineer Peter is.
Regards
Ken