etherlab/plc_cia402node.c
changeset 2088 c0952932d74b
parent 2084 579af800b359
child 2091 d964dbc2c7b0
--- a/etherlab/plc_cia402node.c	Tue Oct 30 00:22:29 2012 +0100
+++ b/etherlab/plc_cia402node.c	Wed Oct 31 11:54:26 2012 +0100
@@ -48,6 +48,7 @@
 %(init_entry_variables)s
 	*__IW%(location)s_0 = __MK_Alloc_AXIS_REF();
 	__CIA402Node_%(location)s.axis = __MK_GetPublic_AXIS_REF(*__IW%(location)s_0);
+	__MK_Set_AXIS_REF_Pos(*__IW%(location)s_0, %(slave_pos)d);
 	*(__CIA402Node_%(location)s.ModesOfOperation) = 0x08;
     return 0;
 }