![Campbell CR5000 Скачать руководство пользователя страница 169](http://html1.mh-extra.com/html/campbell/cr5000/cr5000_operators-manual_489195169.webp)
Section 7. Measurement Instructions
7-43
Parameter
& Data Type
Enter
Dest
The Dest parameter is the variable in which to store the results of the
instruction when retrieving data from the SIO4. If data is being sent to the
SIO4, then Dest becomes the source array for the data to be sent. The Dest
array must be at least as large as the Reps parameter value multiplied by the
ValuesPerRep parameter value.
Reps
The Reps parameter defines the number of sequential SIO4s that will be
called by the instruction. The datalogger will poll the SIO4 with the address
set by the Address parameter first, receive or send the number of values set
by the ValuesPerRep parameter next, and then poll the SIO4 with the next
sequential address. If the Reps parameter is 2, the ValuesPerRep is 3, and
the Command parameter is set to receive, then three values from the first
SIO4 would be sent to the first three elements of the Dest array, and three
values from the second SIO4 would be received and written to the forth
through sixth elements of the Dest array.
SDMAddress
The SDMAddress parameter defines the address of the CSAT3 with which
to communicate. Valid SDM addresses are 0 through 14. Address 15 is
reserved for the SDMTrigger instruction. If the Reps parameter is greater
than 1, the datalogger will increment the SDM address for each subsequent
CSAT3 that it communicates with.
The SDM address is entered as a base 10 number, unlike older, jumper-
settable SDM instruments that used base 4.
Mode
The mode parameter defines which port the instruction will affect.
Code
Description
1
Send/Receive Port 1
2
Send/Receive Port 2
3
Send/Receive Port 3
4
Send/Receive Port 4
5
Send to all Ports (global)
Command
The Command parameter is used to configure the SIO4. The commands are
listed briefly below. See the SDM-SIO4 manual for details.
Code
Description
1
Poll of available data.
2
Get EPROM and memory signatures.
3
Flush all receive buffers.
4
Send data to datalogger.
5
Return number of watchdog errors, invalid command
executed, and lithium battery voltage.
6
Flush transmit buffer.
7
Activate command line.
8
Poll TX buffers for data.
9
Flush converted data buffer.
66
Send single-byte data to datalogger.
67
Get return code.
320
Send byte data to SDM-SIO4.
321
Execute command line command.
1024
Send string to SIO4.
1025
Transmit a byte.
1026
Serial port status.
1027
Manual handshake mode.
Содержание 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 ...