Campbell Scientific CR7 Measurement and Control System User Manual
Page 101

SECTION 9. INPUT/OUTPUT INSTRUCTIONS
9-11
Data are stored in sequential datalogger input
locations, starting at the location specified in
Parameter 5. The number of input locations
consumed is equal to the number of Reps.
The scaling multiplier and offset (Parameters 6
and 7) are applied to all readings. If a multiplier
is not entered, all readings are set to 0.
If the SW8A does not respond, -99999 will be
loaded into input locations. Modules which do
not respond when addressed by the datalogger
may be wired or addressed incorrectly. Verify
that the address specified in Parameter 2
corresponds to the jumper setting and that all
connections are correct and secure. See the
SDM-SW8A Manual for examples.
PARAM.
DATA
NUMBER
TYPE
DESCRIPTION
01:
2
Repetitions (number of
channels)
02:
2
SDM Address (base
4:00..33)
03:
2
Function Option (0=State,
1=Duty 2=Counts,
3=Signature)
04:
2
SDM-SW8A Starting
Channel (1..8)
05:
4
Starting input location
number
06:
FP
Mult
07:
FP
Offset
Input locations altered: 1 per repetition
*** 103 SDM-AO4 ***
Instruction 103 is used to activate a SDM-AO4 4
Channel Continuous Analog Output Module
connected to ports C1, C2, and C3. This
instruction is not in all PROM options.
There are 4 analog voltage outputs per SDM-
AO4. The output voltages in millivolts must be
stored in 4 adjacent input locations starting with
the location entered in parameter 4. Four reps
are required for each SDM-A04. Every 4 reps
another device at the next higher address is
selected.
PARAM.
DATA
NUMBER
TYPE
DESCRIPTION
01
2
Repetitions (number of
outputs)
02
2
SDM address (base
4:00..33)
03
4
Starting input location
number
C1 is Data line
C2 is Clk/Hand Shake line
C3 is SDE (Enable) line
Input locations read: 1 per repetition
*** 104 SDM-CD16AC ***
The SDM-CD16AC Control Port Expansion
Module has 16 digital control ports with drivers.
Each port can be controlled by a datalogger or
controlled manually with an override toggle
switch. Each port can be thought of as a switch
to ground; closed when active, open when
inactive. The primary function is to activate DC
powered external relays, solenoids, or resistive
loads under datalogger control. This instruction
is not in all PROM options.
The SDM-CD16AC is a synchronously
addressed datalogger peripheral. Datalogger
control ports 1, 2 and 3 are used to address the
SDM-CD16AC then clock out the desired state
of each of the 16 control ports. Up to 16 SDM-
CD16AC 's may be addressed, making it
possible to control a maximum of 256 ports
from the first three datalogger control ports.
For each Rep, the 16 ports of the addressed
SDM-CD16AC are set according to 16 sequential
input locations starting at the input location
specified in parameter 3. Any non-zero value
stored in an input location activates (connects to
ground) the associated SDM-CD16AC port. A
value of zero (0) deactivates the port (open
circuit). For example, assuming 2 Reps and a
starting input location of 33, OUTPUT 1 through
16 of the first SDM-CD16AC are set according to
Input Locations 33 through 48, and OUTPUT 1
through 16 of the second SDM-CD16AC are set
according to Input Location 49 through 64. See
the SDM-CD16AC manual for detailed
instructions and examples.