etherlab/plc_cia402node.c
changeset 2079 49242019a9ca
parent 2077 14dfb786c53e
child 2082 caae3ad2d03b
--- a/etherlab/plc_cia402node.c	Sat Sep 22 12:07:06 2012 +0200
+++ b/etherlab/plc_cia402node.c	Sun Sep 23 23:25:57 2012 +0200
@@ -48,7 +48,8 @@
 %(init_entry_variables)s
 	*__IW%(location)s_0 = __MK_Alloc_AXIS_REF();
 	__CIA402Node_%(location)s.axis = __MK_GetPublic_AXIS_REF(*__IW%(location)s_0);
-	return 0;
+	*(__CIA402Node_%(location)s.ModesOfOperation) = 0x08;
+    return 0;
 }
 
 void __cleanup_%(location)s()