5 using the group trigger, Using the group trigger – Campbell Scientific SDM-CAN Datalogger to CANbus Interface User Manual
Page 42

SDM-CAN Datalogger-to-CANbus Interface
7: 0
ID
Bits
24..28
8: 1
Rx,
unsigned
int,
MSB
1st
9: 1
Start
Bit
No.
10: 16
-- No. of Bits
11: 1
No.
of
Values
12: 10
Loc [ RxTC_1 ]
13: 1.0
Mult
14: 0.0
Offset
;end of interrupt subroutine
3: End (P95)
End Program
3.5.5 Using the Group Trigger
The SDM-Group Trigger controls SDM devices that support the Group Trigger
protocol, including the SDM-CAN. All Group Trigger devices are triggered to
make simultaneous measurements, the data is then retrieved by using the
appropriate instruction.
For the SDM-CAN, this instruction is can be used in a vehicle where more than
one CANbus network is present. An example of using the group trigger is
shown below.
;{CR23X}
;
*Table 1 Program
01: 1
Execution
Interval
(seconds)
;Initiate Group Trigger
1: SDM-Group Trigger (P110)
;Retrieve Data from CAN network A
2: SDM-CAN (P118)
1: 00
SDM
Address
2: 4
Time
Quanta
3: 5
Tseg1
4: 2
Tseg2
5: 204
ID Bits 0..10 (-- for 11-bit CAN ID)
6: 81
1
ID
Bits
11..23
7: 7
ID
Bits
24..28
8: 23
Tx,
real
IEEE4,
MSB
1st
9: 1
Start
Bit
No.
10: 32
No.
of
Bits
11: 1
No.
of
Values
12: 1
Loc
[
AC_Comp_1
]
13: 1.0
Mult
14: 0.0
Offset
34