Quickstart Guide
ABB PLC and drives integration using Modbus RTU
ModbusRTU‐41‐ PLCanddrivesintegration
ExampleWr
itedrivedatawith“ACS_MOD_WRITE_N_PRM”
ValuesarewrittentoModbusregisteraddressesaccordingtouserchoice.Noadditionalparametersettingsinthe
drivearenecessary.
Createanewnetworkinthesameprogram(POU)andaddtheblock“ACS_MOD_WRITE_N_PRM”(1).
Setfunctionblockinputsaccordingto:
ENisconnectedtoan“execute”variableoftyp
e“BOOL”(1).Atrisingedgethevariableiswrittenonce.
PRIO=Leftunconnected.
NVAR=Numberofparameterstowrite(3)→2parameterswillbewritteninthisexample.
PRM_NUM=Startaddress ofparameterstobewritten(4)→parameters12.02and12.03willbewritte
n
inthisexample.
DATA is connected via an “ADR” block to a new variable (5) of type “ARRAY [1..X] OF INT” according to
instructionsforthe“ACS_MOD_READ_N_PRM”block.
DRIVE_DATA=Thesamevariablethatis connectedto“ACS_COM_MOD_RTU”→“DRIVE_DATA”(6).