Validity: RC3E v33.3.1 (or later)
This keyword allows a variable of type BCC_MSGUSER (STRUCT_P) to be defined.
This variable is used by the send and receive message instructions bcc_send() and bcc_receive().
It consists of the following information:
Field |
Type |
Description |
---|---|---|
resSys1 |
U32 |
Reserved |
resSys2 |
U8 |
Reserved |
bccID |
U8 |
BCC protocol identifier |
dst |
U8 |
Destination |
dch |
U8 |
Destination channel ID |
src |
U8 |
Source ID |
sch |
U8 |
Source channel ID |
msg |
U16 |
Message Code |
lendata |
U8 |
Message data size in bytes |
pid |
U8 |
Protocol ID |
dlc |
U8 |
Dead loop counter |
data[255] |
STRING |
Data buffer |
Example of declaration:
Example of use:
|