Herunterladen Inhalt Inhalt Diese Seite drucken

Danfoss InterBus-S Handbuch Seite 17

Inhaltsverzeichnis

Werbung

Verfügbare Sprachen

Verfügbare Sprachen

Example of program for Siemens
S5-115U
The following example shows how the
communication to a VLT
®
to the gateway is controlled.
Also, in this example, the VLT
terized by way of PCP Communication.
Example layout
S5-115U with an Interbus-S-Master
module, IBS/DP-gateway with a VLT
5000 that has a PROFIBUS Option Card.
Setting of the Interbus-S-Master
Selection of start
Operating mode
and operating
controlled
mode:
DCB-Mode
Window 1:
Basic address =
P-range upwards of 32
Length
Window 2:
Basic address =
P-range upwards of 128
Length
Window 3:
Basic address =
P-range upwards of 200
Required FBs
(Function Blocks)
For communication via PCP, the following
FCs are required - and can be obtained
from Phoenix:
FB 60
INITIB
FB 62
CON/IND
FB 63
CIH
FB 66
REQ/RES
FB 68
CONTROL
FB 69
DEFINE
FB 72
ADDRESS
MG.10.G1.51 – VLT is a registered Danfoss trademark
Gateway InterBus-S
Program references
DB21
DB21
DB21
DB21
DB21
is the Communication-Request-DB; this is
5000 connected
where the orders for the PCP Communi-
cation are supported
DB23
DB23
DB23
DB23
DB23
®
is parame-
is the Communication-Confirmation-DB;
this is where the PCP Communication
enters the responses
FW 20
FW 20
FW 20
FW 20
FW 20
®
is the activation word for PCP Communi-
cation
FW 22
FW 22
FW 22
FW 22
FW 22
is the reporting word for PCP Communi-
cation
F 224.1
F 224.1
F 224.1
F 224.1
F 224.1
activates the Download.
= 64 Bytes
The Contr
QW38
QW38
in QW38
QW38, the Desir
QW38
= 32 Bytes
The Status wor
IW38
IW38
IW38, the Actual
IW38
IW38
Starting the VLT
The VLT
QB39 has been set. Stopping can be
QB39
QB39
QB39
QB39
achieved by zeroing of this bit. In this
context, there is a choice of motor
coasting, quick-stop and normal stop.
Contr
Contr
Control wor
Contr
ol wor
ol wor
ol word for the VL
ol wor
d for the VL
d for the VL
d for the VL
d for the VLT T T T T
® ® ® ® ®
Desir
Desir
ed
ed
Desir
Desired
ed
ed value in QW40
Status wor
Status word of the VL
Status wor
d of the VLT T T T T
d of the VL
d of the VL
® ® ® ® ®
Status wor
d of the VL
Actual
Actual
Actual
Actual value in IW40
IW40
IW40
IW40
IW40
®
®
starts when the lower Bit-7 in
is located
QW40
QW40
QW40
QW40
is located in
17

Werbung

Inhaltsverzeichnis
loading

Inhaltsverzeichnis