Input Description

../_images/f2f4ba77b0e5baed0a317f34434fb16e

Note

The inputs marked with a triangle 1c4f4cacb1084b290a317f343fa4f83a_78f228175b765b440a33139001315693 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.

SLOT (slot )

Data type: BYTE

At input SLOT, the MODBUS interface number is specified:

SLOT = 1 : internal ETHERNET coupler ETH1

SLOT = 2 : internal ETHERNET coupler ETH2

SLOT = 11 : SLOT1 (CM597-ETH)

SLOT = 21 : SLOT2 (CM597-ETH)

SLOT = 31 : SLOT3 (CM597-ETH)

SLOT = 41 : SLOT4 (CM597-ETH)

Default value = 1. Valid values = 1, 2, 11, 21, 31, 41

SLAVE_IP (slave IP-Address)

Data type: STRING

IP Address of the drive (slave) to which the connecton shall be established must be specified here as string. Used with 4 times 3 digits.

Default value: ‘192.168.005.003’

DRIVE_TYPE (drive type)

Data type: INT, Default value: ACS_DRIVE_ACS355

At the input DRIVE_TYPE the type of ACS drive is specified with an ENUM. The input can be set either by the value directly or by using the enum.

ENUM Value
ACS_DRIVE_ACS800 1
ACS_DRIVE_ACSM1 2
ACS_DRIVE_ACS350 3
ACS_DRIVE_ACS355 4
ACS_DRIVE_ACS310 5
ACS_DRIVE_ACS550 6
ACS_DRIVE_ACH550 7
ACS_DRIVE_ACQ810 8
ACS_DRIVE_ACS850 9
ACS_DRIVE_ACS880 10
ACS_DRIVE_ACS580 11
ACS_DRIVE_DCS800 12
ACS_DRIVE_DCS550 13
ACS_DRIVE_ACH580 14

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_TCPx 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.