profibus-vacon nx interface vacon • 25
7.3 PPO types
PPOs (Parameter/Process Data Object) are the communication objects in PROFIBUS DP.
The PPOs in Vacon NX:
Parameter Field Process Data Field
ID IND VALUE CW REF PD1 PD2 PD3 PD4 PD5 PD6 PD7 PD8
SW ACT PD1 PD2 PD3 PD4 PD5 PD6 PD7 PD8
PPO 1
PPO 2
PPO 3
PPO 4
PPO 5
Descriptions:
Byte
ID Parameter type and number
IND Parameter subindex
VALUE Parameter value
CW Control Word
SW Status Word
REF Reference Value 1
ACT Actual Value 1
PD Process Data
24-hour support +358 (0)40 8371 150 • Email: vacon@vacon.com
7
26 • vacon profibus-vacon nx interface
7.4 Process data
The process data field is used to control the device (e.g. Run, Stop , Reference, Fault Reset) and in
reading quick actual values (e.g. Output frequency, Output current, Fault code). The size of the field
varies between 2…20 bytes. The field is structured as follows:
Process Data Master -> Slave (max 20 bytes)
CW REF PD1 PD2 PD3 PD4 PD5 PD6 PD7 PD8
Process Data Slave -> Master (max 20 bytes)
SW ACT PD1 PD2 PD3 PD4 PD5 PD6 PD7 PD8
The use of process data depends on the application. In a typical situation the device is started and
stopped via the ControlWord (CW) written by the Master and the Rotating speed is set with Reference
(REF). Via PD1…PD8 the device can be given other reference values (e.g. Torque reference).
With the help of the StatusWord (SW) read by the Master, the status of the device can be seen. Actual
Value (ACT) and PD1…PD8 show the other actual values.
See Figure 7-2.
Profibus Board Frequency Converter
ControlWord
Reference 1
PROFIBUS MASTER
ProcessData 1
…
APPLICATION
ProcessData 8
StatusWord
Actual Value 1
ProcessData 1
ProcessData 8
Figure 7-2. Control of the frequency converter through Profibus
Tel.+358 (0)201 2121 • Fax +358 (0)201 212 205
7
profibus-vacon nx interface vacon • 27
7.4.1 Control word
CW REF PD1 PD2 PD3 PD4 PD5 PD6 PD7 PD8
The Control command for the state machine (see Figure 7-3.) The state machine describes the
device status and the possible control sequence of the frequency converter.
The control word is composed of 16 bits that have the following meanings:
Bit Description
Value = 0 Value = 1
0 STOP 1 (by ramp) ON 1
1 STOP 2 (by coast) ON 2
2 STOP 3 (by ramp) ON 3
3 RUN DISABLE ENABLE
4 No Action START
5 No Action START
6 No Action START
7 No Action FAULT RESET (0 -> 1)
8 No Action No Action
9 No Action No Action
10 Disable Profibus control Enable Profibus control
11 Fieldbus DIN1=OFF Fieldbus DIN1=ON
12 Fieldbus DIN2=OFF Fieldbus DIN2=ON
13 Fieldbus DIN3=OFF Fieldbus DIN3=ON
14 Fieldbus DIN4=OFF Fieldbus DIN4=ON
15 Fieldbus DIN5=OFF Fieldbus DIN5=ON
Table 7-1. Control word bit descriptions
With the help of the control word, start and stop commands can be given to the device. Also a fault
can be acknowledged.
Command ControlWord Description
RUN 047Fhex Start motor if ”Fieldbus” is active control source
STOP 1 047Ehex Stop by Ramp
STOP 2 047Dhex Stop by Coast
STOP 3 047Bhex Stop by Ramp
RUN DISABLE 0477hex Stop by Coast
FAULT RESET (step 1) bit 7 = 0 Rising edge to bit 7
FAULT RESET (step 2) bit 7 = 1
Table 7-2. Commands with control word
As shown above, there are several stop modes. It depends on the operating situation, which mode is
selected.
Note! In Vacon NX frequency converter STOP1 and STOP3 are identical. Also STOP2 and RUN DIS-
ABLE are identical.
Commands STOP1 and STOP3 can be used only with either one of the motor control modes (P2.6.1)
Frequency control or Speed control selected and the fieldbus selected as the control place.
24-hour support +358 (0)40 8371 150 • Email: vacon@vacon.com
7
28 • vacon profibus-vacon nx interface
7.4.2 Status word
SW ACT PD1 PD2 PD3 PD4 PD5 PD6 PD7 PD8
Information about the status of the device and messages is indicated in the Status word.
The Status word is composed of 16 bits that have the following meanings:
Bit Description
Value = 0 Value = 1
0 Not Ready (initial) READY 1 **
1 Not Ready READY 2 **
2 DISABLE ENABLE **
3 NO FAULT FAULT ACTIVE *
4 STOP 2 NO STOP 2 **
5 STOP 3 NO STOP 3 **
6 START ENABLE START DISABLE **
7 No Warning Warning *
8 Reference ≠ Actual value Reference = Actual value *
9 Fieldbus control OFF Fieldbus control ON *
10 Not used Not used
11 Not used Not used
12 FC stopped Running *
13 FC not ready FC ready *
14 Not used Not used
15 Not used Not used
Table 7-3. Status word bit descriptions
* Comes straight from the frequency converter
** Bits of the State Machine
Tel.+358 (0)201 2121 • Fax +358 (0)201 212 205
7
profibus-vacon nx interface vacon • 29
7.4.3 State machine
The state machine describes the device status and the possible control sequence of the fre-
quency converter. The state transitions can be generated by using the “Control word”. The
“Status word” indicates the current status of the state machine. The modes INIT, STOP, RUN
and FAULT (see Figure 7-3. ) correspond to the actual mode of the Frequency converter.
Underlined and SW = “Status word”.
Not Underlined and CW = “Control word”.
Power ON
Fault
STOP 1; CW Bit0=0 STATE: INIT FAULT
DISABLE; SW Bit6=1 FAULT ACTIVE; SW Bit3=1
Reset fault
STOP by ramp Set CW Bit0=0, Bit10=1
CW Bit7=0
xxxx x1xx xxxx xxx0
READY 2; SW Bit1=0
CW Bit7=1
STATE: STOP
READY 1; SW Bit0=0
DISABLE; SW Bit6=0 STOP 2; CW Bit1=0
Set CW Bit1=1, Bit2=1
xxxx x1xx xxxx x110
STOP by P2.4.7
RUN DISABLE; CW Bit3=0 STATE: STOP STOP 2; SW Bit4=0
READY 1; SW Bit0=1
STOP by P2.4.7 Set CW Bit0=1
RUN DISABLE; SW Bit2=0 xxxx x1xx xxxx x111
STOP 3; CW Bit2=0
STATE: STOP
READY 2; SW Bit1=1
STOP by ramp
Set CW Bit3=1 STOP 3; SW Bit5=0
xxxx x1xx xxxx 1111
STATE: STOP
ENABLE; SW Bit2=1
Set CW Bit4=1, Bit5=1, Bit6=1
xxxx x1xx x111 1111 (hex047F)
STATE: RUN
RUNNING
Figure 7-3.
24-hour support +358 (0)40 8371 150 • Email: vacon@vacon.com
7
30 • vacon profibus-vacon nx interface
7.4.4 Reference 1
CW REF PD1 PD2 PD3 PD4 PD5 PD6 PD7 PD8
This is the reference 1 to the frequency converter. Used normally as Speed reference.
The allowed scaling is –10000...10000. In the application, the value is scaled in percentage of the fre-
quency area between set minimum and maximum frequency.
-10000 = 100,00 % (Direction reverse)
0 = 0,00 % (Direction forward)
10000 = 100,00 % (Direction forward)
7.4.5 Actual value 1
SW ACT PD1 PD2 PD3 PD4 PD5 PD6 PD7 PD8
This is the actual value from the frequency converter. Used normally as Speed reference, with the
value between –10000...10000. In the application, the value is scaled in percentage of frequency area
between set minimum and maximum frequency.
-10000 = 100,00 % (Direction reverse)
0 = 0,00 % (Direction forward)
10000 = 100,00 % (Direction forward)
7.4.6 PD1…PD8
ProcessData Master -> Slave
CW REF PD1 PD2 PD3 PD4 PD5 PD6 PD7 PD8
The Master can write max. 8 additional setting values to the device with the help of the Process Data.
How these setting values are used is totally dependent on the application in use.
ProcessData Slave -> Master
SW ACT PD1 PD2 PD3 PD4 PD5 PD6 PD7 PD8
The master can read the frequency converter’s actual values using the process data variables.
Depending on the used application, the contents are either standard or can be selected with a pa-
rameter.
Tel.+358 (0)201 2121 • Fax +358 (0)201 212 205