Output Description

../_images/8b441764495d09150a3313900077b63d

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

SCALING_DONE (scaling done)

Data type: BOOL

Output SCALING_DONE is set to TRUE when the reading of the scaling parameters from the ACS3XX / ACX550 drive has been finished. SCALING_DONE will be reset to FALSE if EN = FALSE. With a rising edge of EN the reading of the scaling parameters will be started. If the reading of a scaling parameter is not successful the ERR output is set to TRUE and the ERNO indicates that the reading of the scaling parameters was erroneous.

Scaling parameters for ACS3XX / ACX550 are written to the DRIVE_DATA variable structure under DRIVE_DATA.config (see description of DRIVE_DATA). They are only valid if SCALING_DONE = TRUE.

Note

The parameters can be accessed via the DRIVE_DATA variable using the Point-Operator. Scaling parameters are Par.11.05 (Ref1 Max); Par 99.04 (Motor Ctrl Mode), Par 99.07 (Motor Nom Freq), Par. 99.08 (Motor Nom Speed).

OPERATING (operating)

Data type: BOOL

Output OPERATING=TRUE indicates that the drive is controlled by this Function Block. The drive is enabled and running (Status Word of drive bits: RDY_ON = TRUE, RDY_RUN = TRUE, RDY_REF = TRUE).

If the drive is controlled from another control place, e.g. local panel, output OPERATING is reset to FALSE, even if the drive might be enabled and running.

To get a control place independent indication, evaluate if the following bits of input SW are set: SW.0 AND SW.1 AND SW.2

TRIPPED (tripped)

Data type: BOOL

Output TRIPPED=TRUE indicates that the drive is tripped (Bit 3 in the Status Word from the drive).

ALARM (alarm)

Data type: BOOL

Output ALARM=TRUE indicates that the drive has an alarm (Bit 7 in the Status Word from the drive).

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

Function Call in ST

ACS3XXDrivesCtrlBasic (EN           := xACS3XXDrivesCtrlBasic_EN,
                       START        := xACS3XXDrivesCtrlBasic_START,
                       STOP_COAST   := xACS3XXDrivesCtrlBasic_STOP_COAST,
                       RESET        := xACS3XXDrivesCtrlBasic_RESET,
                       SPEED_REF    := rACS3XXDrivesCtrlBasic_SPEED_REF,
                       DRIVE_DATA   := tsDriveData);


xACS3XXDrivesCtrlBasic_DONE         := ACS3XXDrivesCtrlBasic.DONE;
xACS3XXDrivesCtrlBasic_ERR          := ACS3XXDrivesCtrlBasic.ERR;
wACS3XXDrivesCtrlBasic_ERNO         := ACS3XXDrivesCtrlBasic.ERNO;
xACS3XXDrivesCtrlBasic_SCALING_DONE := ACS3XXDrivesCtrlBasic.SCALING_DONE;
xACS3XXDrivesCtrlBasic_OPERATING    := ACS3XXDrivesCtrlBasic.OPERATING;
xACS3XXDrivesCtrlBasic_TRIPPED      := ACS3XXDrivesCtrlBasic.TRIPPED;
xACS3XXDrivesCtrlBasic_ALARM        := ACS3XXDrivesCtrlBasic.ALARM;
rACS3XXDrivesCtrlBasic_ACT_SPEED    := ACS3XXDrivesCtrlBasic.ACT_SPEED;