Herunterladen Inhalt Inhalt Diese Seite drucken

Examples; Connection Setup; Reading And Writing Variables; Method Calls - Balluff BIS U-6127-081-1 4-06-ST36 Betriebsanleitung

Inhaltsverzeichnis

Werbung

Verfügbare Sprachen

Verfügbare Sprachen

BIS U-6127-081-1_4-06-ST36
Processor unit
9
OPC UA (continued)
9.9

Examples

Various examples are shown in the following subchapters.
In the examples, UaExpert is used as a client that must be
installed on the PC (download at
www.unified-automation.com).
9.9.1

Connection setup

See section 9.3 Connection established via OPC UA with
UaExpert on page 135.
9.9.2

Reading and writing variables

As soon as the BIS U-6127 processor unit is connected to
the UaExpert client, the objects are displayed in the
a
window.
ddReSS Space
There are two ways to read variables (represented by an
icon in the a
ddReSS Space
► Click on the desired variable in the a
window (in Fig. 9-18 the d
clicked on by way of example).
⇒ In the a
window, all information about the
ttRiButeS
variables is displayed. As you can see in the figure,
the current value of the variables can be seen under
v
– v
(highlighted in blue). In this case, it
alue
alue
would be BiSu-6127.
Fig. 9-18: Display of a variable in the Attributes window
► Drag and drop the desired variable into the d
v
window.
iew
⇒ As soon as the variable is in this window, further
information is displayed (see Fig. 9-19). You can
find the current value of the variables in the v
column.
Fig. 9-19: Presentation of a variable in d
166
english
):
ddReSS Space
n
variable was
evice
ame
a
ata
alue
a
v
ata
cceSS
iew
9.9.3

Method calls

The methods are displayed in the a
with violet icons. Right-clicking on a method opens a small
window. The following figure shows this process using the
GetRFPower method as an example.
Fig. 9-20: Right-click on method
Run method
1. Click c
method in the context menu.
all
⇒ A window opens again showing the call arguments
and the return parameters of the corresponding
method (GetRFPower(), see Fig. 9-21).
Fig. 9-21: GetRFPower() method call
cceSS
2. Enter input parameters and confirm with c
⇒ The method is executed and the result appears in
the return parameters (current example, see
Fig. 9-22).
Fig. 9-22: GetRFPower() method result
window
ddReSS Space
.
all

Werbung

Kapitel

Inhaltsverzeichnis
loading

Diese Anleitung auch für:

Bis0193

Inhaltsverzeichnis