3. Instruction Set
17. Here is the CAN BUS format and every bit of content for Msg. ID is explained as below.
As 2.0A protocol is selected and the value of S
2
is H0123, the Msg. ID content is shown in the
following table.
Bit No. 15 ~ 11 10 ~ 8 7 ~ 4 3 ~ 0
S
2
value (16bits)
- 1 2 3
As 2.0B protocol is selected, the value of S
2
is set to H1234 (Lo-word) and S
2
+1 is H0567
(Hi-word), the Msg. ID content is shown in the following table.
Bit No. 31 ~ 29 28 27 ~ 24 23 ~ 20 19 ~ 16 15 ~ 0
S
2
value (32bits)
- 0 5 6 7 1234
Example 1
System set: DVP12SA211T + DVPCOPM-SL
Mode: Master mode (receiving after sending)
MBB device Diagnostic description as below
PLC program design:
Step 1) SET M1620 ïƒ 2.0A protocol
Step 2) RST M1621 & M1622 ïƒ Master mode; receiving after sending; set timeout to 200 ms