Block variables and data types
Block variable
Data type
Comment
EN
BOOL
Enabling block. FALSE = block code is not executed. TRUE or
unconnected = block code is executed.
PPO_TYPE
INT
The PPO type. 1, 2, 3, 4, 5 or 6; 0 = not allowed.
ADAPTER_TYPE
INT
PROFIBUS module type: FPBA-01 PROFIBUS DP module connected in
the drive. 1 = FPBA, 2 = RPBA, 3 = FENA
DRIVE_TYPE
INT
Drive type: ACS800 = 1, ACSM1 = 2, ACS350 = 3, ACS355 = 4,
ACS550 = 5, ACS850 = 6, ACS880 = 7, ACS580 = 8, ACS380 = 9.
DPV_MODE
BOOL
FALSE = DP-V0, TRUE = DP-V1 (or PROFINET).
ADR_IN
INT
The
Process
Data input of the drive, the start of the address range.
ADR_OUT
INT
The
Process
Data output of the drive, the start of the address range.
SWITCH_ON
BOOL
FALSE = Drive control switched off, TRUE = Drive control switched on.
SWITCH_ON also needs to be active (TRUE) for resetting drive faults.
START
BOOL
FALSE = Ramp stop with deceleration time according to drive
parameter, TRUE = Start. After an EMERGENCY STOP or after fault
reset, a new rising edge of START is needed before next start. Drive
start via fieldbus requires parameter setting in the drive.
EMCY_STOP
BOOL
FALSE = Emergency stop according to emergency stop deceleration
time set in drive parameter, TRUE = Normal operation.
COAST_STOP
BOOL
FALSE = Normal operation, TRUE = Coast stop (drive releases control
of the motor).
EXT_CTRL
BOOL
Selection of external control location EXT2. FALSE = EXT1, TRUE =
EXT2. Shifting to EXT2 via fieldbus requires parameter setting in the
drive.
SPEED_REF
INT
Speed reference value: -
20000 to 20000. See chapter “Drive
configuration” for scaling. Setting speed reference via fieldbus requires
parameter setting in the drive.
RESET
BOOL
FALSE = No operation, TRUE = Reset drive fault. After fault reset, a
new rising edge of START is needed before next start.
DONE
BOOL
FALSE = Block execution not finished, TRUE = Block execution finished.
ERR
BOOL
FALSE = No error, TRUE = Error occurred during block execution.
ERNO
INT
Error code when ERR = TRUE, see SIMATIC online help for SFC14 or
SFC15.
STOPPED
BOOL
FALSE = Drive is not stopped, TRUE = Drive is stopped.