BIS U-6127-081-1_4-06-ST36
Processor unit
9
OPC UA (continued)
If you now run the scan method, you get the following
result (Fig. 9-37).
Fig. 9-37: Result of scan method
As expected, only the tag whose EPC starts with "30" is
detected. All other tags are not listed.
Since the address and the length of the filter are specified
in bits, you can also filter half bytes.
The next example shows this application. In this case, the
EPCs are to be selected according to the bit address
range 76...82.
–
0809080808080808080808
–
3005FB63AC1F3681EC880468
–
E21000161504007625901010.
The range should have the value 8080.
Fig. 9-38: Filter 8080
170
english
If you run the scan method after applying the filter, you will
only get the tags whose EPC matches the filter.
Fig. 9-39: Filter result
9.9.8
Dealing with events
This example explains step-by-step how to use UaExpert
to receive the event generated by asynchronous operation.
1. Add the e
window under d
v
vent
iew
Fig. 9-40: Add Documents
2. Add the server object to the configuration by dragging
and dropping to be able to register for the desired
events.
Fig. 9-41: Add server object
.
– a
ocumentS
dd