![background image](http://html1.mh-extra.com/html/abb/acs310/acs310_quick-start-manual_3324015031.webp)
Quickstart Guide
ABB PLC and drives integration using Modbus RTU
Modbus
RTU
‐
31
‐
PLC
and
drives
integration
Create
a
second
network
(Ctrl
+T)
in
the
same
program
and
add
the
block
“ACS_DRIVES_CTRL_STANDARD”
in
the
same
way
as
for
“ACS_COM_MOD_RTU”.
Connect
the
function
block
inputs
and
outputs
according
to
your
needs.
In
the
example
below:
The
block
will
always
be
enabled
The
drive
is
started
by
the
variable
“DriveStart”
Emergency
stop
functions
are
not
used
in
this
example
Ramp
stop
by
setting
“DriveStart”
=
FALSE
Coast
stop
by
setting
“DriveCoastStop”
=
TRUE
Fault
reset
by
setting
“DriveResetFault”
=
TRUE
(positive
edge).
Speed
reference
is
set
by
the
variable
“SpeedRef”
as
a
value
between
‐
20000
and
20000,
where
20000
corresponds
to
a
parameter
in
the
drive
(see
chapter
“Drive
configuration”).
The
variables
declared
between
“VAR”
and
“END_VAR”
in
the
picture
below
are
local
variables
inside
this
program.
(To
access
them
from
another
part
e.g.
any
visualization
the
programs
name
has
to
be
used
followed
by
a
dot
and
the
variables
name.
E.g.
“Drive1.DriveOperating
Note!
The
variable
connected
to
“ACS_DRIVES_CTRL_STANDARD”
→
“DRIVE_DATA”
must
be
the
same
as
the
one
connected
to
“ACS_COM_MOD_RTU”
→
“DRIVE_DATA”
and
must
be
of
type
“ACS_DRIVE_DATA_TYPE”.