--- a/etherlab/plc_ds402node.c Wed Feb 22 01:39:22 2012 +0100
+++ b/etherlab/plc_ds402node.c Thu Feb 23 15:48:19 2012 +0100
@@ -96,7 +96,7 @@
return;
}
- __DS402Node_%(location)s.axis->PowerFeedback = __DS402Node_%(location)s.state != __OperationEnabled;
+ __DS402Node_%(location)s.axis->PowerFeedback = __DS402Node_%(location)s.state == __OperationEnabled;
__DS402Node_%(location)s.axis->ActualPosition = (IEC_REAL)(*(__DS402Node_%(location)s.ActualPosition)) * __DS402Node_%(location)s.axis->RatioDenominator / __DS402Node_%(location)s.axis->RatioNumerator;
__MK_UpdateAxis(*__IW%(location)s_0);