7 Application Examples
7.1 Example: Working with Instance
101/151 Process
This example shows how to work with I/O instance
101/151, which consists of control word/status word and
reference/main actual value. The instance 101/151 also has
2 extra words, which can be programmed to monitor
process signals, as shown in
.
130BA123.10
DeviceNet master
DeviceNet
Relay 04–05
230 V AC
N
Ext. Device
18
20 19
0–24 V DC
Sensor
Reversing
Illustration 7.1 Instance 101/151 Process
The application requires monitoring of the motor torque
and digital input, so PCD 3 is set up to read the actual
motor torque. PCD 4 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
when:
•
The DeviceNet cable is broken.
•
The master has a system failure.
•
The PLC is in stop mode.
Parameter
Function
Setting
Parameter 4-10 Motor
Speed Direction
Motor speed range/
direction
[2] Both
directions
Parameter 5-10 Termin
al 18 Digital Input
Digital input 18
[0] No operation
Parameter 5-11 Termin
al 19 Digital Input
Digital input 19
[10] Reversing
Parameter 5-40 Functio
n Relay
Function relay
[36] Control word
bit 11
[37] Control word
bit 12
Parameter 8-03 Control
Word Timeout Time
Control word timeout
time
1.0 s
Parameter 8-04 Control
Word Timeout Function
Control word timeout
function
[2] Stop
Parameter 8-10 Control
Word Profile
Control word profile
FC Profile
Parameter 8-50 Coastin
g Select
Coasting select
[1] Bus
Parameter 8-51 Quick
Stop Select
Quick-stop select
[1] Bus
Parameter 8-52 DC
Brake Select
DC-brake select
[1] Bus
Parameter 8-53 Start
Select
Start select
[1] Bus
Parameter 8-54 Reversi
ng Select
Reversing select
[2] Logic AND
Parameter 8-55 Set-up
Select
Set-up select
[1] Bus
Parameter 8-56 Preset
Reference Select
Preset reference
select
[1] Bus
Parameter 10-01 Baud
Rate Select
Baud rate select
Set to match
other DeviceNet
stations
Parameter 10-02 MAC
ID
MAC ID
Set desired
station address
Parameter 10-10 Proces
s Data Type Selection
Process data type
selection
[1] Instance
101/151
Parameter 10-12 Proces
s Data Config Read
Process Data Config
Read
PCD 3: Torque
PCD 4: Digital
input
Table 7.1 Function and Setting of the Parameters
Application Examples
VLT
®
DeviceNet MCA 104
38
Danfoss A/S © 12/2015 All rights reserved.
MG92F102
7
7