125
Block variables and data types for FB500
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
1
, TRUE = DP-V1
2
(or PROFINET).
ADR_IN
HW_IO
Hardware ID of the module from which the data is to be read. The hardware
ID can be found in the properties of the module in the device view or system
constants (
PLC tags
→
Default tag table
→
System constants
).
ADR_OUT
HW_IO
Hardware ID of the module to which the data is to be written. The hardware
ID can be found in the properties of the module in the device view or system
constants (
PLC tags
→
Default tag table
→
System constants
).
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.
1
To work on library block in DP-V0 mode, user need to configure the drive with DP-V0 GSD file in hardware
configuration of TIA portal.
2
To work on library block in DP-V1 mode, user need to configure the drive with DP-V1 GSD file in hardware
configuration of TIA portal.