
Section 7. Measurement Instructions
Parameter
& Data Type
Enter
SDMAddress
The SDMAddress parameter defines the address of the SIO4 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
SIO4 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.
2049 Communication parameters.
2054 Set up receive filter.
2304 Transmit string and/or data to device (formatter/filter).
2305 Transmit bytes.
Param1
Param1 is the first parameter that should be passed on to the SIO4 for the
selected Command. Refer to the SDM-SIO4 manual for details.
Param2
Param2 is the second parameter that should be passed on to the SIO4 for the
selected Command. Refer to the SDM-SIO4 manual for details.
ValuesPerRep
The ValuesPerRep parameter is the number of values to be sent or received
from each SIO4 each time this instruction is performed.
Mult, Offset
These parameters are the multiplier and offset with which to scale the values
received by the datalogger from the SIO4.
7-44
Commentaires sur ces manuels