Industrial
Electronic Devices
ADFweb.com S.r.l.
User Manual
CAN / MQTT
Document code: MN67939_ENG Revision 1.000 Page 23 of 32
RECEIVE FRAMES:
By pressing the “
Receive Frames
” button from the main window for SW67939 (Fig. 2) the “Receive CAN Frames” window appears (Fig. 5).
The COB inserted in this table contains the Output data of MQTT. These frames are accepted by the converter.
The data of the columns have the following meanings:
In the field “
Cob-ID
” the COB of the CAN frame is defined;
In the field “
Type
” the type of CAN packet use for the Cob-ID is defined (2.0A (11 bits) or 2.0B (29 bits));
In the field “
Dimension
” the number of byte of the COB (from 1 to 8) is defined;
The field “
TimeOut
” is used for put at zero the data into MQTT if the CAN frame doesn’t arrive with a frequency less than the time
expressed in the field. If the value in the field is ‘0’, it means that you don’t want to use this;
In the field “
Byte1
” insert the address of the internal array where saving 1st byte of the CAN message;
In the field “
Byte2
” insert the address of the internal array where saving 2nd byte of the CAN message;
In the field “
Byte3
” insert the address of the internal array where saving 3rd byte of the CAN message;
In the field “
Byte4
” insert the address of the internal array where saving 4th byte of the CAN message;
In the field “
Byte5
” insert the address of the internal array where saving 5th byte of the CAN message;
In the field “
Byte6
” insert the address of the internal array where saving 6th byte of the CAN message;
In the field “
Byte7
” insert the address of the internal array where saving 7th byte of the CAN message;
In the field “
Byte8
” insert the address of the internal array where saving 8th byte of the CAN message;
In the field “
Mnemonic
” a brief description is defined.
Figure 5: “Receive CAN Frames Set Access” window