equal
deleted
inserted
replaced
59 IEC_UINT statusword_inactive = *(__CIA402Node_%(location)s.StatusWord) & __InactiveMask; |
59 IEC_UINT statusword_inactive = *(__CIA402Node_%(location)s.StatusWord) & __InactiveMask; |
60 IEC_UINT statusword_active = *(__CIA402Node_%(location)s.StatusWord) & __ActiveMask; |
60 IEC_UINT statusword_active = *(__CIA402Node_%(location)s.StatusWord) & __ActiveMask; |
61 |
61 |
62 if (__FirstTick) { |
62 if (__FirstTick) { |
63 %(init_axis_params)s |
63 %(init_axis_params)s |
64 _FirstTick = 0; |
64 __FirstTick = 0; |
65 } |
65 } |
66 |
66 |
67 // CIA402 node state computation |
67 // CIA402 node state computation |
68 __CIA402Node_%(location)s.state = __Unknown; |
68 __CIA402Node_%(location)s.state = __Unknown; |
69 switch (statusword_inactive) { |
69 switch (statusword_inactive) { |