equal
deleted
inserted
replaced
94 } |
94 } |
95 if (__DS402Node_%(location)s.state == __Unknown) { |
95 if (__DS402Node_%(location)s.state == __Unknown) { |
96 return; |
96 return; |
97 } |
97 } |
98 |
98 |
99 __DS402Node_%(location)s.axis->PowerFeedback = __DS402Node_%(location)s.state != __OperationEnabled; |
99 __DS402Node_%(location)s.axis->PowerFeedback = __DS402Node_%(location)s.state == __OperationEnabled; |
100 __DS402Node_%(location)s.axis->ActualPosition = (IEC_REAL)(*(__DS402Node_%(location)s.ActualPosition)) * __DS402Node_%(location)s.axis->RatioDenominator / __DS402Node_%(location)s.axis->RatioNumerator; |
100 __DS402Node_%(location)s.axis->ActualPosition = (IEC_REAL)(*(__DS402Node_%(location)s.ActualPosition)) * __DS402Node_%(location)s.axis->RatioDenominator / __DS402Node_%(location)s.axis->RatioNumerator; |
101 |
101 |
102 __MK_UpdateAxis(*__IW%(location)s_0); |
102 __MK_UpdateAxis(*__IW%(location)s_0); |
103 } |
103 } |
104 |
104 |