Campbell Scientific CR6 CR6 Measurement and Control System - Page 275
SDI12Recorder
View all Campbell Scientific CR6 manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 275 highlights
Section 7. Installation Command Name Address Query Change Address Concurrent Measurement triggered by some SDI12Recorder() commands. If the SDI12Recorder() instruction is not successful, NAN will be loaded into the first variable. See NAN and ±INF (p. 477) for more information. SDIRecorder() SDICommand Argument ?! Ab! Cv!, CCv! SDI-12 Command Sent Sensor Response1 CR6 Response Notes CR6: issues a?! command. Only one sensor can be attached to the C terminal configured for SDI-12 for this command to elicit a response. Sensor must support this command. CR6: issues aAb! command CR6: issues aCv! command Sensor: responds with atttnn CR6: if ttt = 0, issues aDv! command(s). If nnn = 0 then NAN put in the first element of the array. Sensor: responds with data CR6: else, if ttt > 0 then moves to next CRBasic program instruction CR6: at next time SDIRecorder() is executed, if elapsed time < ttt, moves to next CRBasic instruction CR6: else, issues aDv! command(s) Sensor: responds with data CR6: issues aCv! command (to request data for next scan) Alternate Concurrent Measurement Cv (note - no ! termination)2 CR6: tests to see if ttt expired. If ttt not expired, loads 1e9 into first variable and then moves to next CRBasic instruction. If ttt expired, issues aDv! command(s). See section Alternate Start Concurrent Measurement Command (Cv) (p. 276) Sensor: responds to aDv! command(s) with data, if any. If no data, loads NAN into variable. CR6: moves to next CRBasic instruction (does not re-issue aCv! command) Send Identification I! CR6: issues aI! command Start Measurement M!, Mv!, MCv! CR6: issues aMv! command Sensor: responds with atttnn CR6: If nnn = 0 then NAN put in the first element of the array. CR6: waits until ttt3 seconds (unless a service request is received). Issues aDv! command(s). If a service request is received, issues aDv! immediately. Sensor: responds with data Continuous Measurements Rv!, RCv! CR6: issues aRv! command Start Verification V! CR6: issues aV! command 1See table SDI-12 Commands for Transparent Mode (p. 271) for complete sensor responses. 2Use variable replacement in program to use same instance of SDI12Recorder() as issued aCV! (see the CRBasic example Using Alternate Concurrent Command (aC) (p. 279) ). 3Note that ttt is local only to the SDIRecorder() instruction. If a second SDIRecorder() instruction is used, it will have its own ttt. 275