DrvModPara32Bit (FUN)

FUNCTION DrvModPara32Bit : WORD

Creates the modbus address for 32 bit parameters of the ACSxxx drives. To access 32 bit parameters in ACSxxx drives using modbus a special address calculation has to be performed.

This block calculates the 6 digit address out of the 5digit address used for 16 bit parameters. Input is the 5 digit address: GGii, where GG = parameter group and ii = the index. Eg. Par 12.02 => address = 1202. Output is the calculated address for 32bit parameters according the following rule:

DrvModPara32Bit = 20000 + (200 * GG) + (2 * ii) e.g. Par. 14.54 => output = 22908

This output can be connected directly to the input “PrmNum” of one of the blocks DrvModbusRead or DrvModbusWrite.

InOut:

Scope

Name

Type

Initial

Comment

Return

DrvModPara32Bit

WORD

Input

PrmNum

WORD

0

1: 16 bit Modbus address of parameter e.g. Parameter number = 100 x Group + Index. e.g. If Parameter 20.06 needs to be accessed then input PrnNum = 20 * 100 + 06 = 2006