Datalogger Instructions 104 And 29 (Cr10, Cr7, 21X) - Campbell SDM-IO16 User Manual

16 channel input/output expansion module
Table of Contents

Advertisement

SDM-IO16 16 Channel Input/Output Expansion Module
Table 3. Summary of the Common Command Codes (in italics) relative to port number and function.
Action
Blocksize
Read
1 Port
Counts
Read
1 Port
Frequency
4 Ports
16 Ports
Read
1 Port
Duty Cycle
16 Ports
Set Debounce
1 Port
Set-up
ports
16 Ports
16 ports
16 ports
16 ports
Set Int Mask
16 ports

6.5 Datalogger Instructions 104 and 29 (CR10, CR7, 21X)

14
Read module status (99): reads back the module operating system signature
(which is calculated once at power-up), a number which identifies the operating
system version plus two counters. These are a watchdog error counter which is
incremented if the module crashes because of a software or hardware failure that
required the SDM-IO16 to be reset and a communication error counter which
represents the number of times SDM communication between the datalogger and
SDM-IO16 failed. Both counters have a maximum limit of 255 counts and are
reset to zero when this command code is used to read them. This command is only
normally used when trying to diagnose problems with the datalogging system.
1
2
3
4
5
6
1
2
3
4
5
6
17
21
24
25
26
27
28
29
40
44
47
48
49
50
51
52
63
67
70
71
72
73
74
75
89
Instruction 104 is normally used by the CR10/10X, CR23X, CR7 and 21X to
control the SDM-CD16(AC/D) digital output interfaces. Older CR7s used a
similar instruction (P29). These instructions can be used to control the output
status only of the SDM-IO16, as it emulates a SDM-CD16 if it receives commands
from the datalogger sent by this instruction and if the SDM address of the module
also matches that sent by the datalogger.
This can be useful if you need to use the SDM-IO16 in place of an SDM-CD16 or
any of its later variants, or if you need to use one for output expansion only, using
a datalogger that has an old operating system that does not support instruction
P188 mentioned above.
Port Number
7
8
9
10
11
7
8
9
10
11
18
19
23
30
31
32
33
34
41
42
46
53
54
55
56
57
64
65
69
76
77
78
79
80
88
87
90
91 or 92
93 or 94
95 or 96
97 or 98
12
13
14
15
16
12
13
14
15
16
20
22
35
36
37
38
39
43
45
58
59
60
61
62
66
68
81
82
83
84
85
86

Advertisement

Table of Contents
loading

Table of Contents