ACS_MOD_WRITE_N_PRM Write N Parameters to an ACS/DCS Drive via MODBUS RTU

../_images/458e915f495d17f30a33139001fb29b3
../_images/a2b82126495d121a0a331390014b244f

Function Block ACS_MOD_WRITE_N_PRM is used for writing n parameters to a drive via MODBUS.

Function Block Information

Available as of PLC runtime system: V1.3.2
Included in library: ACSDrivesBase_AC500_V20.lib
Function Block Type: Function Block with historical values.

Block Description

Function Bock ACS_MOD_WRITE_PRM writes n parameter to the drive. The number of parameters to be written is specified must be available in the PLC memory area, defined at the input DATA. The write job has been performed without error if DONE=TRUE and ERR=FALSE.

To start a new write job the input EN has to be set from FALSE to TRUE (edge sensitive).

The MODBUS job is started from the Communication Block which is connected to the same DRIVE_DATA variable. It uses the MODBUS function code 16 (Write n words).

The drive (MODBUS Slave) to which the parameter is written is specified at this Communication Block.

The Communication Blocks are available from other ACSDrivesComXXX libraries e.g. ACS3XX_COM_MOD_RTU ACS3XX_COM_MOD_RTU Communication for ACS3XXwrite one bit/ACX550 Drives via MODBUS RTU in ACSDrivesComModRTU_AC500_V20.lib ACS / DCS Drives Communication via MODBUS RTU Library. or ACS_COM_MOD_TCP_ENHANCED ACS_COM_MOD_TCP_ENHANCED Communication for ACS / DCS Drives via MODBUS TCP in ACSDrivesComModTCP_V22.lib ACS / DCS Drives Communication via MODBUS TCP Library. See description of these blocks for further information.

Note

ACS drive parameters are only saved temporarily, if changed via fieldbus. To make these changes permanent in the drive the special parameter “PARAMETER SAVE” has to be set. Please see drive manuals and following table which parameter has to be set.

Save valid parameters to permanent memory in drive ACS3XX, ACX550, ACQ810, ACS850, ACSM1, ACS800 ACS880
1 = Saves the valid parameter values to permanent memory. 0 = Save completed. Par 16.07 = 1 Par 96.07 = 1