Campbell 21X Operator's Manual page 107

Micrologger
Table of Contents

Advertisement

01:
02:
03:
SECTION
9.
INPUT/OUTPUT INSTRUCTIONS
lf
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
r**
104
SDM-CD16
..*
The SDM-CD16 Control Port Expansion
has
16
digitalcontrol 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{unction
is
to
activate
DC
powered
external relays, solenoids, or resistive
loads under datalogger
control. This
instruction
is not
in
all PROM options.
The SDM-CD16 is
a
synchronously addressed
datalogger
peripheral. .Datalogger control ports
1,
2 and 3 are used
to address the SDM-CD16
then clock out
the desired state of each of the
16
control
ports.
Up
to 16 SDM-CD16'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-CD16 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
ground) the associated SDM-CD16
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-CD16 are set according
to
Input Locations 33 through 48, and
OUTPUT
1
through
16 of
the second SDM-CD16 are set
according
to
Input Location 49 through
64.
See
the SDM-CD16 manualfor detailed instructions
and examples.
PARAM.
DATA
NUMBER
TYPE
DESCRIPTION
Reps
(#
of CD16
sequentially addressed)
Starting
Address (base
4:
00..33)
Starting input location
2
Number of Channels
2
Module
Address (00..33)
2
Function Option
(O=State,
1=Duty 2=Counts,
3=Signature)
O4:
2
SDM-SW8A Starting
Channel (1..8)
05:
4
Starting input location
for
results
FP
Mult
FP
Offset
*** 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-AO4. Every 4
reps
another device
at
the next higher address
is
selected.
PARAM.
DATA
NUMBER
TYPE
DESCRIPTION
2
Reps
(#
of outputs)
1
= SDM-A04
2
Address (Base
4)
4
Starting input location
C1 is Data line
C2 is Clk/Hand
Shake
line
C3
is
SDE (Enable) line
06:
07:
01
02
03
2
2
4
1
2
3
9-14

Advertisement

Table of Contents
loading

Table of Contents