Input Description

../_images/ed9399bd48bee5790a33139000ce1d20

Note

The inputs marked with a triangle 2227c7774d6a230a0a33139000d80311_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.

COM (com)

Data type: BYTE

Interface identifier of MODBUS line.

COM = 1: COM1

COM = 2: COM2

COM = 11: COM11 (using CM574-RS)

(COM3 = FPB, COM4 .. COM11 = COMs on CM574-RS).

Default value = 1. Minimum = 1, Maximum = 11

The COM input should not be changed while the program is running. If changed nevertheless, the new value will become effective only after a new rising edge of EN input.

SLAVE (slave)

Data type: BYTE

At input SLAVE, the address of the drive (slave) to which the connection shall be established must be specified.

Default value = 2, Minimum = 1, Maximum = 255

The Function Block is designed to be used with a fix SLAVE device. The SLAVE input should not be changed while the program is running. If changed nevertheless the new value will become effective only after an already running MODBUS job is finished.

TIMEOUT (timeout)

Data type: WORD

The telegram timeout in milliseconds (ms) is specified at input TIMEOUT.

If no response is received within the time interval specified at TIMEOUT, the procedure is aborted and an error identifier is output.

Note

If several drives are connected to the MODBUS line and one drive cannot respond, the whole communication is waiting till the timeout is over and the MODBUS procedure (job) is aborted. Afterwards the next drive can take the LINE_TOKEN signal. The TIMEOUT should not be set too long if more than one drive is connected, but also not too short for having a chance to respond within the TIMEOUT. A minimum of 100 is required.

Typical values should be between 300 ms and 2000 ms (range: minimum 100, maximum 65535).

Default value = 1000. Minimum = 100, Maximum = 65535.

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

NVAR_READ (number of variables for reading)

Data type: BYTE

With the input NVAR_READ the Function Block can be configured to read between 3 and 9 signals from the drive. All read data is written to the array at the READ_VALUE output. The first value is the Status Word (SW). The following values are configured in the ACS3XX / ACX550 drive with Par. 53.10 .. 53.17.

If e.g. NVAR_READ = 5 then none of the configuration parameters Par. 53.10 .. 53.13 must be 0. Then the values from READ_VALUE[1] .. READ_VALUE[5] are updated.

Default value = 3. Minimum = 3, Maximum = 9.

Note

For ACS3XX/ACX550 drives, mapping of 53.10 and 53.11 parameters to any of the drive parameter is mandatory, otherwise Function Block will return error.

When NVAR READ = 3, it reads SW, 53.10 mapped parameter and 53.11 mapped parameter.

See table at description of READ_VALUE output.

LINE_TOKEN (line token)

Data type: ACS_MOD_TOKEN_TYPE

The combined input/output LINE_TOKEN must be connected to the one variable of ACS_MOD_TOKEN_TYPE of the related MODBUS line. Each MODBUS line must have its own LINE_TOKEN variable.

The LINE_TOKEN variable contains the token for the MODBUS line and must be connected to all related ACS3XX_COM_MOD_RTU Function Blocks of this line (COMx).

Description:

The ACS_COM_MOD_RTU_ENHANCED Function Block writes its SLAVE number to the LINE_TOKEN variable (takes the token) when it is 0.

If the token is already occupied it writes its SLAVE number to the next-token-request.

If all MODBUS jobs of a drive are terminated, the ACS_COM_MOD_RTU_ENHANCED Function Block resets the token on the LINE_TOKEN variable to 0 (release the token) if the next-token-request is set (not 0).

If an ACS_COM_MOD_RTU_ENHANCED takes the token it releases the next-token-request at the same time.