#679 PLCgen: Forbid pure monitor events.
Events that are always used as monitor event cause infinite looping in the event transition code and are thus undesired.
This patch adds a check against such events in plcgen.
Addresses #679
Edited by Dennis Hendriks