6.5.4.4 MC_ReadStatus_ISD51xThis function block returns the detailed status of the statediagram (see Illustration 6.18) of the selected axis.The output data is available immediately.MC_ReadStatus_ISD51xEnableBOOLAxisAXIS_REF_-ISD51xBOOLValidBOOLBusyDD_ERROR_ISD51xErrorInfoBOOLBOOLBOOLErrorStopDisabledBOOLStoppingBOOLHomingBOOLStandstillBOOLDiscreteMotionBOOLContinuousMotionBOOLSynchronizedMotionError130BE299.10Illustration 6.27 MC_ReadStatus_ISD51xVariablenameDatatypeDefaultvalueDescriptionVAR_IN_OUTAxis AXIS_REF_ISD51x Reference to the axis.Seechapter 6.5.4.1 AXIS_REF_ISD51x.VAR_INPUTEnable BOOL FALSE Get the value of theparameters continuouslywhile enabled.VAR_OUTPUTValid BOOL The function block has avalid set of outputs.Busy BOOL The function block is notfinished and new outputvalues are to be expected.Error BOOL An error has occurredwithin the function block.ErrorInfo DD_ERROR_ISD51x Error identification andinstance identifier.See chapter 6.5.2.3 ErrorIndication.ErrorStop BOOL TRUE if the axis is in stateErrorStop.Disabled BOOL TRUE if the axis is in stateDisabled.Stopping BOOL TRUE if the axis is in stateStopping.Homing BOOL TRUE if the axis is in stateHoming.VariablenameDatatypeDefaultvalueDescriptionStandstill BOOL TRUE if the axis is in stateStandStill.Discrete-MotionBOOL TRUE if the axis is in stateDiscreteMotion.Continuous-MotionBOOL TRUE if the axis is in stateContinuousMotion.Synchronized-MotionBOOL TRUE if the axis is in stateSynchronizedMotion.Table 6.5 MC_ReadStatus_ISD51x6.5.4.5 MC_ReadAxisError_ISD51xThis function block presents general axis errors that areunrelated to the function blocks (for example, overtem-perature on the axis). The output AxisErrorID gives the lasterror that occurred in the axis (see chapter 9.2.2 ErrorCodes).The output data must be read from the device and istherefore not immediately available.MC_ReadAxisError_ISD51xAxisEnableBOOLAXIS_REF_-ISD51xBOOLValidBOOLBusyBOOLDD_ERROR_-ISD51xErrorInfoWORDAxisErrorIDError130BE292.10Illustration 6.28 MC_ReadAxisError_ISD51xProgramming Programming GuideMG36D102 Danfoss A/S © 01/2017 All rights reserved. 1796 6