9 Application Examples
9.1 Example: Process Data with PDO 23
This example shows how to work with PDO 23, which
consists of Control Word/Status Word and Reference/Main
Actual Value. In the example the drive is set to FC profile
in
8-10 Control Word Profile
. The PDO contains up to ten
objects, which can be programmed to monitor process
signals:
PCD
0
1
2
3
CTW
MRV
PCD[2]
PCD
From controller
04
7C
20
00
00
00
00
00
STW
MAV
PCD[2]
PCD[3]
From frequency
converter
0F
07
20
00
3F
A6
00
08
Byte #
1
2
3
4
5
6
7
8
Table 9.1
The application requires monitoring of the motor torque
and digital input, so PCD 2 is set up to read the current
motor torque. PCD 3 is set up to monitor the state of an
external sensor via the process signal digital input. The
sensor is connected to digital input 18.
An external device is also controlled via control word bit
11 and the built-in relay of the frequency converter.
Reversing is permitted only when the reversing bit 15 in
the control word and the digital input 19 are set to high.
For safety reasons, the frequency converter stops the
motor if the EtherCAT cable is broken, the master has a
system failure, or the PLC is in stop mode.
Recieve PDO’s (PLC
→
Drive
)
Transmit PDO’s (Drive
→
PLC
)
PCD 0
CTW
PCD 1
REF
PCD 3
Digital Inputs
PCD 0
STW
PCD 1
MAV
PCD 2
Torque [Nm]
Sensor
Reversing
18
Ext. Device
Relay
04-05
230Vac
12
20
19
+
-
13
20
-
+
130BC190.11
Illustration 9.1
Application Examples
MCA 124 EtherCAT Operating Instruction
42
MG92A302 - VLT
®
is a registered Danfoss trademark
9
9