Quickstart Guide
ABB PLC and drives integration using Modbus RTU
ModbusRTU‐29‐ PLCanddrivesintegration
Double‐click “Global_Variables” in the “Resources” tab (1) and create a global variable for the Modbus token
handling of type “ACS_MOD_TOKEN_TYPE” (2). This variable will be used for connecting the drive to a certain
Modbusline.
Note!Thisvariableshouldbeglobal(Onesinglevariableusedforalldrives).
Open the program again from the “POUs” tab and connect the function block inputs and outputs according to
yourneeds.Intheexamplebelow,theblockwillalwaysbeenabled,COMport1ofthePLCisused,thedrivehas
Modbus node number 1, default timeout 1000 ms is used, drive type is AC
S355, no extra parameters besides
StatuswordandActualspeed/torquearereadfromthedrive.
The variables declared between “VAR” and “END_VAR” in the picture below are local variables and can only be
accessedfromtheactualprogram(PRG)orfromtheVisualizationobjects(seechapter“Visualizations”).
Tip! Click inside the nam
e of the function block and press F1 to open the description of the block in the online
help.