Programming crbasic dataloggers to use the sdm-can, Using the rs232 serial diagnostics port, Attributions – Campbell Scientific SDM-CAN Datalogger to CANbus Interface User Manual
Page 6: Appendices a

Table of Contents
Multiplier (Parameter 13:).......................................................... 25
Offset (Parameter 14:)................................................................ 25
Advanced Programming Techniques................................................. 25
Interrupts Using the I/O Connection .......................................... 25
Group Trigger............................................................................. 27
Frame buffers with filtering and triggering ................................ 27
Setup of Mask and Filter / trigger.................................... 28
Reading / Polling Buffer.................................................. 28
Basic Sequence of Buffer Usage: .................................... 29
Program Examples............................................................................. 29
Reading CAN Data..................................................................... 29
Simple CAN Data Transmission ................................................ 30
Building and Sending Data Frames............................................ 32
Using the Interrupt Function ...................................................... 32
Using the Group Trigger ............................................................ 34
Programming CRBasic Dataloggers to use the
SDM-CAN.................................................................35
General Principles ............................................................................. 35
High Speed Block Mode ............................................................ 36
Datalogger Instruction ....................................................................... 36
Reading CAN Data..................................................................... 37
Simple CAN Data Transmission ................................................ 38
Digital I/O Triggered CANbus Measurements........................... 39
SlowSequence Instruction .......................................................... 40
Using the RS232 Serial Diagnostics Port ...............40
Connecting to the RS232 User Port................................................... 40
Diagnostic Commands....................................................................... 41
Loading a New Operating System into the SDM-CAN Interface ..... 43
Attributions................................................................44
Appendices
Principles of Operation...........................................A-1
Data Collection................................................................................ A-1
Frame Transmission ........................................................................ A-2
A Summary of Data Types......................................B-1
Application of the SDM-CAN on Networks
Complying with the J1939 SAE Standards.........C-1
J1939 29-Bit Identifier Format ........................................................ C-1
J1939 11-Bit Identifier Format ........................................................ C-1
J1939 Data Frame Format ............................................................... C-2
ii