Campbell Scientific SDM-IO16 16-Channel Input/Output Expansion Module User Manual

Page 40

Advertising
background image

Appendix B. Command Code Listing

Command Action
50

Read port 4 duty cycle into 1 location

51

Read port 5 duty cycle into 1 location

52

Read port 6 duty cycle into 1 location

53

Read port 7 duty cycle into 1 location

54

Read port 8 duty cycle into 1 location

55

Read port 9 duty cycle into 1 location

56

Read port 10 duty cycle into 1 location

57

Read port 11 duty cycle into 1 location

58

Read port 12 duty cycle into 1 location

59

Read port 13 duty cycle into 1 location

60

Read port 14 duty cycle into 1 location

61

Read port 15 duty cycle into 1 location

62

Read port 16 duty cycle into 1 location

63

Read ports 1-4 duty cycle into 4 locations

64

Read ports 5-8 duty cycle into 4 locations

65

Read ports 9-12 duty cycle into 4 locations

66

Read ports 13-16 duty cycle into 4 locations

67

Read ports 1-8 duty cycle into 8 locations

68

Read ports 9-16 duty cycle into 8 locations

69

Read ports 1-16 duty cycle into 16 locations

70

Set port 1 debounce time from 1 location

71

Set port 2 debounce time from 1 location

72

Set port 3 debounce time from 1 location

73

Set port 4 debounce time from 1 location

74

Set port 5 debounce time from 1 location

75

Set port 6 debounce time from 1 location

76

Set port 7 debounce time from 1 location

77

Set port 8 debounce time from 1 location

78

Set port 9 debounce time from 1 location

79

Set port 10 debounce time from 1 location

80

Set port 11 debounce time from 1 location

81

Set port 12 debounce time from 1 location

82

Set port 13 debounce time from 1 location

83

Set port 14 debounce time from 1 location

84

Set port 15 debounce time from 1 location

85

Set port 16 debounce time from 1 location

86

Set port 16-13 from parameter 4

87

Set port 12-9 from parameter 5

88

Set port 8-5 from parameter 6

89

Set port 4-1 from parameter 7

90

Set port 16-1 from parameters 4-7

91

Read state of ports 1-16 into 1 location. The location is a 16 bit decimal
representation from 0-65535

92

Read state of ports 1-16 into 16 locations. The first location is port 1 and the
state is represented by 0 or 1

93

Set state of ports 1-16 from 1 location. The location is a 16 bit decimal
representation from 0-65535

94

Set state of ports 1-16 from 16 locations. The first location is port 1 and the
state is represented by 0 or 1

95

Set direction of ports 1-16 from 1 location. The location is a 16 bit decimal
representation from 0-65535

96

Set direction of ports 1-16 from 16 locations. The first location is port 1 and
the direction is represented by 0 or 1.

B-2

Advertising