Input DescriptionΒΆ
Note
The inputs marked with a triangle are of the class VAR_IN_OUT (input and output variable). These inputs must be connected to a variable.
EN (enable)
Data type: BOOL
The Function Block is activated (EN = TRUE) or deactivated (EN = FALSE) via input EN. If the block is active, the current values are available at the outputs. To start a new write job the input EN has to be set from FALSE to TRUE.
If the input values are valid, a request to perform a MODBUS job is sent to the Communication Block via the DRIVE_DATA variable. If at least 1 input is invalid, no job is generated and the error is displayed at the outputs ERR and ERNO instead.
OFF1 (off1)
Data type: BOOL
Input OFF1 is packed to bit 0 of the Control Word as long as input USE_CW=FALSE.
OFF2 (off2)
Data type: BOOL
Input OFF2 is packed to bit 1 of the Control Word as long as input USE_CW=FALSE.
OFF3 (off3)
Data type: BOOL
Input OFF3 is packed to bit 2 of the Control Word as long as input USE_CW=FALSE.
INHIBIT_OP (inhibit operation)
Data type: BOOL
Input INHIBIT_OP is packed to bit 3 of the Control Word as long as input USE_CW=FALSE.
RAMP_OUT_ZERO (ramp out zero)
Data type: BOOL
Input RAMP_OUT_ZERO is packed to bit 4 of the Control Word as long as input USE_CW=FALSE.
RAMP_HOLD (ramp hold)
Data type: BOOL
Input RAMP_HOLD is packed to bit 5 of the Control Word as long as input USE_CW=FALSE.
RAMP_IN_ZERO (ramp in zero)
Data type: BOOL
Input RAMP_IN_ZERO is packed to bit 6 of the Control Word as long as input USE_CW=FALSE.
RESET (reset)
Data type: BOOL
Input RESET is packed to bit 7 of the Control Word as long as input USE_CW=FALSE. RESET = TRUE resets faults and warnings in the drive. It does not reset the Function Block itself.
CW_BIT8 (control word bit 8)
Data type: BOOL
Input CW_BIT8 is packed to bit 8 of the Control Word as long as input USE_CW=FALSE.
CW_BIT9 (control word bit 9)
Data type: BOOL
Input CW_BIT9 is packed to bit 9 of the Control Word as long as input USE_CW=FALSE.
REMOTE (remote command)
Data type: BOOL
Input REMOTE_CMD is packed to bit 10 of the Control Word as long as input USE_CW=FALSE.
EXT_CTRL_LOC (external control location)
Data type: BOOL
Input EXT_CTRL_LOC is packed to bit 11 of the Control Word as long as input USE_CW=FALSE.
Input EXT_CTRL_LOC=TRUE sets the control place for the drive to EXT2 (Bit 11 in the Control Word to the drive). For normal control of the drive from the PLC EXT_CTRL_LOC should be set to FALSE.
CW_BIT12 (control word bit 12)
Data type: BOOL
Input CW_BIT12 is packed to bit 12 of the Control Word as long as input USE_CW=FALSE.
CW_BIT13 (control word bit 13)
Data type: BOOL
Input CW_BIT13 is packed to bit 13 of the Control Word as long as input USE_CW=FALSE.
CW_BIT14 (control word bit 14)
Data type: BOOL
Input CW_BIT14 is packed to bit 14 of the Control Word as long as input USE_CW=FALSE.
CW_BIT15 (control word bit 15)
Data type: BOOL
Input CW_BIT15 is packed to bit 15 of the Control Word as long as input USE_CW=FALSE.
USE_CW (use control word)
Data type: WORD
Output USED_CW shows the used Control Word which is written to the DRIVE_DATA variable.
E.g. the packed word from the input bits OFF1 .. CW_BIT15 if USE_CW=FALSE.
CW (control word)
Data type: WORD
Input CW is written to the DRIVE_DATA variable as Control Word as long as USE_CW=TRUE.
REF_VALUE1 (reference value 1)
Data type: INT
Input REF_VALUE1 is written to the DRIVE_DATA variable as Reference Value 1 (SPEED_REF).
REF_VALUE2 (reference value 2)
Data type: INT
Input REF_VALUE2 is written to the DRIVE_DATA variable as Reference Value 2. Input REF_VALUE2 must be given in fieldbus equivalent value between -10000 .. +10000. 10000 = the value defined in the drive as Ref2 Max (e.g. Par.11.08 Ref2 Max for ACS3XX or Par Gr. 32.for ACSM1).
DRIVE_DATA (drive data)
Data type: ACS_DRIVE_DATA_TYPE ACS_DRIVE_DATA_TYPE Structure to Exchange Data Between Function Blocks for 1 Drive
The combined input/output DRIVE_DATA must be connected to the variable of type ACS_DRIVE_DATA_TYPE of the related ACS drive (slave). Each drive must have its own DRIVE_DATA variable.
The DRIVE_DATA variable contains the data of the drive and must be connected to all related Function Blocks of this drive.
The Function Block ACS_COM_MOD_RTU_ENHANCED reads the Control Word and references (CW, SPEED_REF, REF_VALUE2) from the DRIVE_DATA variable and writes the status information (SW, ACT_SPEED, ACT-VALUE2) to the DRIVE_DATA variable. It also receives requests and data for MODBUS jobs from other Function Blocks e.g. ACS_MOD_READ_N_PRM or ACS_MOD_WRITE_N_PRM via the DRIVE_DATA variable.