SDM-IO16 16 Channel Input/Output Expansion Module
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.
Table 3. Summary of the Common Command Codes (in
italics
) relative to port number and function.
Port Number
Action
Port
Blocksize
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
Read
Counts
1 Port
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
4 Ports
17
18
19
20
8 Ports
21
22
16 Ports
23
Read
Frequency
1 Port
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
4 Ports
40
41
42
43
8 Ports
44
45
16 Ports
46
Read
Duty Cycle
1 Port
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
4 Ports
63
64
65
66
8 Ports
67
68
16 Ports
69
Set Debounce
1 Port
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
Set-up
ports
4 Ports
89
88
87
86
16 Ports
90
Read State
16 ports
91 or 92
Set state
16 ports
93 or 94
Set Direct.
16 ports
95 or 96
Set Int Mask
16 ports
97 or 98
6.5 Datalogger Instructions 104 and 29 (CR10, CR7, 21X)
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.