etherlab/plc_cia402node.c
changeset 2069 840d328560f8
parent 2061 a5641abeac7c
child 2070 dee8d519f3ff
equal deleted inserted replaced
2068:05a267b1a362 2069:840d328560f8
    44 %(extern_located_variables_declaration)s
    44 %(extern_located_variables_declaration)s
    45 
    45 
    46 int __init_%(location)s()
    46 int __init_%(location)s()
    47 {
    47 {
    48 %(init_entry_variables)s
    48 %(init_entry_variables)s
    49 	*__IW%(location)s_0 = __MK_Alloc_AXIS_REF(&(__CIA402Node_%(location)s.axis));
    49 	*__IW%(location)s_0 = __MK_Alloc_AXIS_REF();
       
    50 	__CIA402Node_%(location)s.axis = __MK_GetPublic_AXIS_REF(*__IW%(location)s_0);
    50 	return 0;
    51 	return 0;
    51 }
    52 }
    52 
    53 
    53 void __cleanup_%(location)s()
    54 void __cleanup_%(location)s()
    54 {
    55 {