Section 7. Measurement Instructions
7-21
SIO4 (Dest, Reps, Address, Mode, Command, FirstOp, SecOp,
ValuesPerRep, Mult, Offset)
This Instruction communicates with theSDM-SIO4 Serial Input Multiplexer.
See the SDM-SIO4 Manual for details.
Parameter
& Data Type
Enter
SIO4 INSTRUCTION PARAMETERS
Dest
Variable or Array
The Variable in which to store the results of the instruction or, when the instruction is used to send
data, this array becomes the data to send. When Reps or multiple values per rep are used, the results
are stored in an array with the variable name. An array must be dimensioned to have elements for
Reps multiplied by Values per Rep..
Reps
Constant
The number of repetitions for the measurement or instruction.
Address
Constant
The address for the SDM-SIO4 (0-15)
Mode
The SIO4 port the instruction applies to.
Constant
Code Port
Code
Port
1
Send/Receive Port 1
4
Send/Receive Port 4
2
Send/Receive Port 2
5
Send to all four ports (global)
3
Send/Receive Port 3
Command,
FirstOp, SecOp
Constants1
Commands to SDM-SIO4. See SDM-SIO4 Manual
ValuesPerRep
Constant
How many values to send or receive
Mult, Offset
Constant,
Variable, Array, or
Expression
A multiplier and offset by which to scale the results. A multiplier of one and an offset of 0 are
necessary to store the values as received. For example, the
TCDiff
instruction measures a
thermocouple and outputs temperature in degrees C. A multiplier of 1.8 and an offset of 32 will
convert the temperature to degrees F.
7.8 Digital I/O
PortSet (ExSlot, Port, State)
This Instruction will set the specified control port on the 9060 Excitation
Module high or low. This instruction should not be placed in a conditional
statement.
Parameter
& Data Type
Enter
PORTSET INSTRUCTION
ExSlot
Constant
The slot that holds the 9060 Excitation Module on which to set the port.
Port
Constant
The number of the port to set with the instruction.
State
The state (high or low) to set the port to.
Constant,
Value State
Variable, or
0 Low
Expression
≠
0
High
Summary of Contents for CR9000
Page 6: ...CR9000 Table of Contents iv This is a blank page ...
Page 22: ...CR9000 Overview OV 16 This is a blank page ...
Page 26: ...Section 1 Installation 1 4 CR9000 FIGURE 1 1 3 CR9000 Battery Pack ...
Page 72: ...Section 3 CR9000 Measurement Details 3 28 This is a blank page ...
Page 88: ...Section 5 Program Declarations 5 6 This is a blank page ...
Page 217: ...This is a blank page ...