Start-up
D101925 0412 -
BLident®
UHF
3-14
The following tables describe the variables of the PIB_001KB function block example program.
The values of the configuration parameters to be written first can only be changed by overwriting in
offline mode. Activate offline mode as follows:
Online > Logout
Note
The PIB is always only valid for one channel. Another instance of the PIB must be created and
programmed in the same way for a second channel.
Table 18:
Configuration
parameters
Variable
Value here
Meaning
ID
0
This is the start address for the
BL ident®
process data of the first
module. The ID (start address) for a second module must be “4”,
for a third “8” and a fourth “12”.
(the address area for the first channel is defined with the
OFFSET=0 and with OFFSET=2 for the second channel.)
INDEX
111
The index “111” specifies that the next execution will initiate a
data transfer (also parameter data) to channel 1. Index 112 refers
to channel 2 for each
BL ident®
module of the station. Deviating
indices (e.g. “113”) will generate an error message.
OFFSET
0
This offset is added to the start address (ID). The calculated
address refers to the process data of a channel. Here the offset is
0 since function block CH_0 belongs to the 1st channel.
The process data for a
BL ident®
channel is 2 bytes.
The appropriate offset for function block CH_1 which belongs to
the 2nd channel is 2.
CMDDIM
10
The input parameter CMDDIM defines the number of
“CMD_STRUCT” structures for command parameters.
Several commands can be stored in the memory so that a more
efficient user program can be written. The number of commands
stored affects the memory area that should be reserved for the
PIB instance.
TXBUFLEN
200
This specifies that the send buffer for the 1st channel (1st
instance) is assigned to a range of 200 bytes in CH_0_TXREF.
The array CH_0_TXREF defines the entire memory area for the
send data and comprises 1024 bytes.
CH_0_TXREF can be found in the Resources tab in the
VarGlobe_PIB global variables folder.
Содержание BL IDENT
Страница 1: ...QUICK START GUIDE BL IDENT UHF SYSTEM Sense it Connect it Bus it Solve it...
Страница 4: ...D101925 0412 BLident UHF IV...
Страница 22: ...Overview of the TURCK BL ident UHF system D101925 0412 BLident UHF 2 14...
Страница 40: ...Figure 7 PLC_VISU PIB visualization Start up D101925 0412 BLident UHF 3 18 PLC_VISU visualization tab for PIB...