Manuals
/
Brands
/
Computer Equipment
/
Network Card
/
Campbell Hausfeld
/
Computer Equipment
/
Network Card
Campbell Hausfeld
SDM-CAN manual
1
1
74
74
Download
74 pages, 769.58 Kb
SDM-CAN
CAN-Bus Interface
User Guide
Issued 26.6.07
Copyright
©
2001-2007 Campbell Scientific Ltd.
CSL 419
Contents
Main
SDM-CAN CAN-Bus Interface
User Guide
Page
Guarantee
Page
Contents
Page
Section 1. Introduction
1.1 General Description
1.2 Specifications
1.2.1 General Features and Specifications
1.2.2 Electrical Specifications
1.2.2.1 Power Consumption
1.2.3 Physical Specifications
Page
Section 2. Installation
2.1 Address Switch Configuration
2.2 Internal Jumper Settings
Page
Page
2.3.1 LED Status Indication
2.4 Connection to CAN-Bus.
Page
Page
Section 3. Programming CR10X, CR7 and CR23X Dataloggers to use the SDM-CAN
3.1 General Principles
3.2 System Limitations
3.3 The Datalogger Instruction
Instruction 118: SDM-CAN
SDM Address (Parameter 01:)
TQUANTA, TSEG1, TSEG2 (Parameters 02:, 03:, 04:)
t
Bit time (t
)
t
ID (Parameters 05:, 06:, 07:)
Data Type (Parameter 08:)
Page
Page
Page
Switch a: 0 This digit is currently unused; enter zero
3-11
Start Bit Number (Parameter 09:)
Number of Bits (Parameter 10:)
Number of Values (Parameter 11:)
Location (Parameter 12:)
3.4 Advanced Programming Techniques
3.4.1 Interrupts Using the I/O Connection
Page
3.4.2 Group Trigger
3.4.3 Frame buffers with filtering and triggering
Setup of Mask and Filter / trigger
Reading / Polling Buffer
Basic Sequence of Buffer Usage:-
3.5 Program Examples
3.5.1 Reading CAN Data
SDM-CAN CAN-Bus Interface User Guide
3.5.2 Simple CAN Data Transmission
3-18
The following example transmits a 16 bit temperature value to a CAN network running at 500K baud.
;When Flag 1 is high set SDM-CAN switches to transmit mode
;Load input location with value for switches
3.5.3 Building and Sending Data Frames
3.5.4 Using the Interrupt Function
3.5.5 Using the Group Trigger
SDM-CAN CAN-Bus Interface User Guide
;Retrieve Data from CAN network B
3-22
;Retrieve Data from CAN network B
Section 4. Programming CRBasic Dataloggers to use the SDM-CAN
4.1 General Principles
4.1.1 High Speed Block Mode
4.2 Datalogger Instruction
4.2.1 Reading CAN Data
4.2.2 Simple CAN Data Transmission
Flag(1) = False
4.2.3 Digital I/O Triggered CANbus Measurements
4.2.4 SlowSequence Instruction
Section 5. Using the RS232 Serial Diagnostics Port
5.1 Connecting to the RS232 User Port
5.2 Diagnostic Commands
Page
5.3 Loading a New Operating System into the SDM-CAN Interface
Page
Appendix A. Principles of Operation
A.1 Data Collection
A.2 Frame Transmission
Page
Appendix B. A Summary of Data Types
A summary table of the data types is given below for quick reference.
Page
C.1 J1939 29-Bit Identifier Format
C.2 J1939 11-Bit Identifier Format
C.3 J1939 Data Frame Format
1 2 3 4 5 6 7 8
C.4 Retrieving J1939 Accelerator Pedal Position Data using a CR9000/CR5000 (Bus Speed 250k Baud)
C.4.1 Encoding the Identifier Field Values
C.4.2 Finding the Start Bit
1 2 3 4 5 6 7 8
C.5 Retrieving J1939 Accelerator Pedal Position Data using a CR23X/CR10X (Bus Speed 250k Baud)
C.5.1 Encoding the Identifier Field Values
C.5.2 Finding the Start Bit
1 2 3 4 5 6 7 8
Page
Appendix D. Examples of CAN Data Frames and Data Encoding and Decoding
Examples of values within a data-frame
Page
Page
Page
Appendix D. Examples of Encoding & Decoding
D-5
Page
Page
Page
Page
Page
Appendix D. Examples of Encoding & Decoding
D-11
Page
Page
CAMPBELL SCIENTIFIC COMPANIES