Section 9. Input/Output Instructions
9-27
If the SW8A does not respond, -99999 is loaded into the input locations. Modules
which do not respond when addressed by the datalogger are possibly 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
Reps (Number of Channels)
02:
2
Module 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
06:
FP
Mult
07:
FP
Offset
Input locations altered:
1 per channel
Instruction 103: SDM-AO4
Instruction 103 is used to activate an SDM-AO4 connected to ports C1, C2 and
C3.
There are four analogue voltage outputs per SDM-AO4. The output voltages in
millivolts must be stored in four adjacent input locations starting with the location
entered in parameter 3. Four repetitions are required for each SDM-AO4. For
every four repetitions another device at the next higher address is selected.
PARAM.
DATA
NUMBER
TYPE
DESCRIPTION
01
2
Reps (no. of outputs)
02
2
Address (Base 4)
03
4
Starting input location
C1 is Data line
C2 is Clk/Handshake line
C3 is SDE (Enable) line
Input locations read:
1 per repetition
Instruction 104: SDM-CD16/16AC
Instruction 104 is used to control the SDM-CD16AC or the SDM-CD16. The
SDM-CD16/16AC Control Port Expansion Modules have 16 digital control ports
with drivers. Each port can be controlled by a datalogger or controlled manually
with an override toggle switch. (Each SDM-CD16 port can be thought of as a
switch to ground which is closed when active and open when inactive. The
SDM-16AC has built-in relays for direct control of external devices.) The primary
function is to activate DC or AC-powered external relays, solenoids or resistive
loads under datalogger control.
The SDM-CD16/16AC is a synchronously addressed datalogger peripheral.
Datalogger control ports 1, 2 and 3 are used to address the SDM-CD16/16AC then
clock out the desired state of each of the 16 control ports. Up to 16