Output DescriptionΒΆ

../_images/1d1a475d4d7203e30a33139000e64294

DONE (done)

Data type: BOOL

Output DONE indicates the state of the job processing. After completing or aborting the processing (due to an error), DONE is set to TRUE for one cycle. For that reason, the output always has to be considered together with output ERR. If ERR is TRUE, an error occurred. In this case, the error number can be read at output ERNO.

ERR (error)

Data type: BOOL

Output ERR indicates whether an error occurred during block processing. This output always has to be considered together with output DONE. If DONE = TRUE and ERR = TRUE, an error occurred. In this case, the error number can be read at output ERNO.

ERNO (error number)

Data type: WORD

Output ERNO provides an error identifier, if an invalid value was applied to an input or if an error occurred during request processing. ERNO always has to be considered together with the outputs DONE and ERR. The value output at ERNO is only valid, if DONE is TRUE and ERR is TRUE.

The encoding of the error messages output at ERNO is explained in the chapter Error Messages: Error Messages of the Function Block Libraries

SPEED_REF_FB (speed reference in fieldbus equivalent)

Data type: INT

Speed reference for fieldbus = SPEED_REF input scaled to (SPEED_SCALE_MAX / SPEED_REF_MAX).

This reference should be connected directly to the fieldbus.

If the result would be higher than 32767 or less than -32768, the output is limit at these values and ERR and ERNO indicating the overflow.

ACT_SPEED (actual speed)

Data type: REAL

Output ACT_SPEED returns the actual speed value from the drive. The scaling depends on the drive settings.

Drive Fieldbus Parameter Settings Scaling
ACS3XX / ACX550 MODBUS RTU 53.10=101 Actual speed [rpm] 1 = 1 rpm
ACS3XX / ACX550 MODBUS RTU 53.10=103 Absolute frequency 10 = 1 Hz

TORQU_REF_FB (torque reference in fieldbus equivalent)

Data type: INT

Torque reference for fieldbus = TORQUE_REF input scaled to (TORQUE_SCALE_MAX / TORQUE_REF_MAX).

This reference should be connected directly to the fieldbus.

If the result would be higher than 32767 or less than -32768, the output is limit at these values and ERR and ERNO indicating the overflow.

ACT_TORQUE (actual torque )

Data type: REAL

Actual torque = ACT_TORQUE_FB input scaled to (TORQUE_REF_MAX / TORQUE_SCALE_MAX) and converted to REAL.

Function Call in ST

AcsRefScaling\ (EN\ := xAcsRefScaling_EN,
 \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ SPEED_SCALE_MAX\ \ := iAcsRefScaling_SPEED_SCALE_MAX,
 \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ SPEED_REF_MAX\ \ \ \ := uiAcsRefScaling_SPEED_REF_MAX,
 \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ SPEED_REF\ \ \ \ \ \ \ \ := rAcsRefScaling_SPEED_REF,
 \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ ACT_SPEED_FB\ \ \ \ \ := iAcsRefScaling_ACT_SPEED_FB,
 \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ TORQUE_SCALE_MAX\ := iAcsRefScaling_TORQUE_SCALE_MAX,
 \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ TORQUE_REF_MAX\ \ \ := uiAcsRefScaling_TORQUE_REF_MAX,
 \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ TORQUE_REF\ \ \ \ \ \ \ := rAcsRefScaling_TORQUE_REF,
 \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ ACT_TORQUE_FB\ \ \ \ := iAcsRefScaling_ACT_TORQUE_FB);
 \
xAcsRefScaling_DONE\ \ \ \ \ \ \ \ \ \ := AcsRefScaling.DONE;
xAcsRefScaling_ERR\ \ \ \ \ \ \ \ \ \ \ := AcsRefScaling.ERR;
wAcsRefScaling_ERNO\ \ \ \ \ \ \ \ \ \ := AcsRefScaling.ERNO;
iAcsRefScaling_SPEED_REF_FB\ \ := AcsRefScaling.SPEED_REF_FB;
rAcsRefScaling_ACT_SPEED\ \ \ \ \ := AcsRefScaling.ACT_SPEED;
iAcsRefScaling_TORQUE_REF_FB\ := AcsRefScaling.TORQUE_REF_FB;
rAcsRefScaling_ACT_TORQUE\ \ \ \ := AcsRefScaling.ACT_TORQUE;