Quickstart Guide
ABB PLC and drives integration using Modbus RTU
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
Modbus line.
Note! This variable should be global (One single variable used for all drives).
Open the program again from the "POUs" tab and connect the function block inputs and outputs according to
your needs. In the example below, the block will always be enabled, COM port 1 of the PLC is used, the drive has
Modbus node number 1, default timeout 1000 ms is used, drive type is ACS355, no extra parameters besides
Status word and Actual speed/torque are read from the drive.
The variables declared between "VAR" and "END_VAR" in the picture below are local variables and can only be
accessed from the actual program (PRG) or from the Visualization objects (see chapter "Visualizations").
Tip! Click inside the name of the function block and press F1 to open the description of the block in the online
help.
Modbus RTU
‐ 29 ‐
PLC and drives integration