equal
deleted
inserted
replaced
56 int __init_%(location)s() |
56 int __init_%(location)s() |
57 { |
57 { |
58 %(init_entry_variables)s |
58 %(init_entry_variables)s |
59 *__IW%(location)s_0 = __MK_Alloc_AXIS_REF(); |
59 *__IW%(location)s_0 = __MK_Alloc_AXIS_REF(); |
60 __CIA402Node_%(location)s.axis = __MK_GetPublic_AXIS_REF(*__IW%(location)s_0); |
60 __CIA402Node_%(location)s.axis = __MK_GetPublic_AXIS_REF(*__IW%(location)s_0); |
61 __MK_Set_AXIS_REF_Pos(*__IW%(location)s_0, %(slave_pos)d); |
61 __CIA402Node_%(location)s.axis->NetworkPosition = %(slave_pos)d; |
62 *(__CIA402Node_%(location)s.ModesOfOperation) = 0x08; |
62 *(__CIA402Node_%(location)s.ModesOfOperation) = 0x08; |
63 return 0; |
63 return 0; |
64 } |
64 } |
65 |
65 |
66 void __cleanup_%(location)s() |
66 void __cleanup_%(location)s() |