12.6.5
Modify the Function Block to fit your output
12.6.5.1
Modify the example string
The example we have used is for parsing a string with four variables:
string;real;int;char;
.
They do not need to have the values we have tested, try to modify the values but still
keeping the data types and see that it is still working. For example:
Now you should see those values in your
DB_Trispector_Data
.
12.6.5.2
Use your desired output string
Probably you want to send some other data in your result output from the TriSpec‐
tor1000. You need to configure the function block and the data type (UDT) to fit your
desired result. An example of how that is done is described below.
Imagine you want to use the following output string from the TriSpector1000.
In the output string above there are 3 real values followed by 2 string values. The UDT
needs to be modified to match this.
We will use this “new” string in the following examples to show how to modify your UDT
and FB.
12
APPENDIX
94
O P E R A T I N G I N S T R U C T I O N S | TriSpector1000
8021808/12ID/2019-01 | SICK
Subject to change without notice