etherlab/plc_cia402node.c
changeset 2079 49242019a9ca
parent 2077 14dfb786c53e
child 2082 caae3ad2d03b
equal deleted inserted replaced
2078:7d0ebbff1d08 2079:49242019a9ca
    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();
    49 	*__IW%(location)s_0 = __MK_Alloc_AXIS_REF();
    50 	__CIA402Node_%(location)s.axis = __MK_GetPublic_AXIS_REF(*__IW%(location)s_0);
    50 	__CIA402Node_%(location)s.axis = __MK_GetPublic_AXIS_REF(*__IW%(location)s_0);
    51 	return 0;
    51 	*(__CIA402Node_%(location)s.ModesOfOperation) = 0x08;
       
    52     return 0;
    52 }
    53 }
    53 
    54 
    54 void __cleanup_%(location)s()
    55 void __cleanup_%(location)s()
    55 {
    56 {
    56 }
    57 }