15 control port serial i/o, 16 temperature from platinum r.t.d, 17 panel temperature – Campbell Scientific CR23X Micrologger User Manual
Page 145: 18 move time to input location, 19 write signature to input location

SECTION 9. INPUT/OUTPUT INSTRUCTIONS
9-11
*** 15 CONTROL PORT SERIAL I/O ***
FUNCTION
Send and receive serial data through the
CR23X control ports, see Appendix B for details
on using Instruction 15.
*** 16 TEMPERATURE FROM ***
PLATINUM R.T.D.
FUNCTION
This instruction uses the result of a previous RTD
bridge measurement to calculate the temperature
according to the DIN 43760 specification adjusted
(1980) to conform to the International
Electrotechnical Commission standard. The range
of linearization is -200° to 850°C. The error in the
linearization is less than 0.001°C between -100°
and +300°C, and is less than 0.003°C between -
180° and +830°C. The error (T calculated - T
standard) is +0.006° at -200°C and -0.006° at
+850°C. The input must be the ratio R/Ro, where
R is the RTD resistance and Ro the resistance of
the RTD at 0°C (Sections 7.9 and 7.10). A
multiplier of 1 and an offset of zero yields
temperature in degrees Celsius.
PARAM.
DATA
NUMBER
TYPE
DESCRIPTION
01:
2
Repetitions
02:
4
Input location of R/Ro
03:
4
Input location of result
04:
FP
Multiplier
05:
FP
Offset
Input locations altered: 1 per repetition
*** 17 PANEL TEMPERATURE ***
FUNCTION
This instruction measures the temperature (°C)
of a thermistor that resides under the CR23X
wiring panel. This temperature is generally
adequate for use as the thermocouple
reference temperature. Refer to Section 13.4.1
for accuracy information.
PARAM.
DATA
NUMBER
TYPE
DESCRIPTION
01:
4
Input location number
for temperature
Input locations altered: 1
*** 18 MOVE TIME TO INPUT LOCATION ***
FUNCTION
This instruction takes the current time in
seconds into the minute, minutes into the day,
or hours into the year and does a modulo divide
(see Instruction 46) on the time value with the
number specified in the second parameter. The
result is stored in the specified input location.
Entering 0 or a number which is greater than
the maximum value of the time for the second
parameter will result in the actual time value
being stored.
PARAMETER 1 CODES
Code
Time Units
0
Seconds into minute (maximum 60)
1
Minutes into current day (maximum
1440)
2
Hours into current year (maximum
8784)
3
Store yr,day,hr,min,sec into 5 input
locations (modulo divide not used)
PARAM.
DATA
NUMBER
TYPE
DESCRIPTION
01:
2
Time Code
02:
4
Number to modulo
divide by
03:
4
Input location number
Input locations altered: 1 or 5
*** 19 WRITE SIGNATURE TO INPUT ***
LOCATION
FUNCTION
This instruction stores the signature of the Read
Only Memory (ROM) and user program memory
(SRAM) into an input location. The signature is
a result of the CR23X PROM, the size of
SRAM, and the entries in the
1
,
2
,
3
,
#
,
A
, and
C
Modes.
This signature is not the same as the signatures
given in the
B
Mode. Recording the
signature allows detection of any program
change or ROM failure.
PARAM.
DATA
NUMBER
TYPE
DESCRIPTION
01:
4
Input location number
Input locations altered: 1