Quickstart Guide
ABB PLC and drives integration using Modbus RTU
Example Write drive data with "ACS_MOD_WRITE_N_PRM"
Values are written to Modbus register addresses according to user choice. No additional parameter settings in the
drive are necessary.
Create a new network in the same program (POU) and add the block "ACS_MOD_WRITE_N_PRM" (1).
Set function block inputs according to:
EN is connected to an "execute" variable of type "BOOL" (1). At rising edge the variable is written once.
PRIO = Left unconnected.
NVAR = Number of parameters to write (3) → 2 parameters will be written in this example.
PRM_NUM = Start address of parameters to be written (4) → parameters 12.02 and 12.03 will be written
in this example.
DATA is connected via an "ADR" block to a new variable (5) of type "ARRAY [1..X] OF INT" according to
instructions for the "ACS_MOD_READ_N_PRM" block.
DRIVE_DATA = The same variable that is connected to "ACS_COM_MOD_RTU" → "DRIVE_DATA" (6).
Modbus RTU
‐ 41 ‐
PLC and drives integration