![Campbell CR5000 Скачать руководство пользователя страница 161](http://html1.mh-extra.com/html/campbell/cr5000/cr5000_operators-manual_489195161.webp)
Section 7. Measurement Instructions
7-35
Parameter
& Data Type
Enter
6
Normal; self-test. The SDM-CAN will
perform a successful transmission even if
there is no acknowledgment from an
external CAN node. Frames received
correctly from an external node are
acknowledged.
7 Not
defined.
8 Not
defined.
9
Leave switch setting unchanged.
33
Read SDM-CAN's internal switches. Place results in the array
specified in the Dest parameter.
StartBit
The StartBit parameter is used to identify the least significant bit of the data
value within the CAN data frame to which the instruction relates. The bit
number can range from 1 to 64 (there are 64 bits in a CAN data frame). The
SDM-CAN adheres to the ISO standard where the least significant bit is
referenced to the right most bit of the data frame. If a negative value is
entered, the least significant bit is referenced to the left most bit of the data
frame.
NumBits
The NumBits parameter is used to specify the number of bits that will be
used in a transaction. The number can range from 1 to 64 (there are 64 bits
in a CAN data frame).
The SDM-CAN can be configured to notify the datalogger when new data is
available by setting a control port high. This allows data to be stored in the
datalogger tables faster than the program execution interval. This interrupt
function is enabled by entering a negative value for this parameter.
Note: This parameter may be overridden by a fixed number of bits,
depending upon the data type selected.
NumVals
The NumVals parameter defines the number of values (beginning with the
value stored in the Dest array) that will be transferred to or from the
datalogger during one operation. For each value transferred, the Number of
Bits (NumBits) will be added to the Start Bit number so that multiple values
can be read from or stored to one data frame.
Mult, Offset
The Mult and Offset parameters are each a constant, variable, array, or
expression by which to scale the results of the measurement.
If more than one Instruction 118 is used within a datalogger
program, the values used for TimeQuanta, TSEG1 and TSEG2
must be the same for each instruction.
CANBUS Example
The following example reads a 16-bit engine speed value from a CAN-bus
network running at 250K baud.
NOTE
Содержание CR5000
Страница 39: ...Section 1 Installation and Maintenance 1 15 S A N Y O FIGURE 1 11 6 Removal of band clamp and battery ...
Страница 40: ...Section 1 Installation and Maintenance 1 16 This is a blank page ...
Страница 54: ...Section 2 Data Storage and Retrieval 2 14 This is a blank page ...
Страница 88: ...Section 4 CRBasic Native Language Programming 4 12 This is a blank page ...
Страница 94: ...Section 5 Program Declarations 5 6 This is a blank page ...
Страница 172: ...Section 7 Measurement Instructions 7 46 This is a blank page ...
Страница 206: ......
Страница 236: ...Index Index 4 This is a blank page ...
Страница 237: ...This is a blank page ...