
SEL-2600 RTD Module
Date Code 20000525
SEL-2030 Communications Processor Applications
8
Store Temperature Data in SEL-2030 Memory
Use the SET A command to reserve memory.
SET A 4
AUTOBUF = N
STARTUP =""
SEND_OPER= N
REC_SER = N
MSG_CNT = 0
ARCH_EN = N
USER = 54
The USER setting reserves a data region with 54 registers. Each register is
2 bytes for a total length of 108 bytes. This data region holds the received data
packet and mathematical equations for threshold comparisons.
The SEL-2030 automatically moves the data section of each received data
packet (see Table 3 on page 11) into the reserved USER data region at the addresses
shown in Table 2 on page 9.
The SEL-2600 data packet includes temperature information for each of the
four types of RTDs. To access the correct temperature, use the memory map loca-
tion associated with the correct RTD type.
Data from the USER region can be accessed using an absolute address or in
the form “n:USER:offset” where ‘n’ is the port number and ‘offset’ is the value
shown in the offset column of Table 2 on page 9. For example, access the RTD 2,
10-ohm copper data using the absolute address F80Ah or the offset form:
“4:USER:0Ah”. The examples in the remainder of this section use the offset form.
Perform Temperature Threshold Comparisons
The example SEL-2030 settings shown below compare the measured
temperature of RTD 2 (10-ohm copper) against a threshold of 28
C. If the measured
temperature is valid (i.e., the RTD is not shorted or open) and is above the thresh-
old, Bit 0 of register 035H is set to ‘1’. Serial Port 4 is again assumed.
SET M 4
1 033h = 28 #Store temp threshold
2 034h = 4:USER:033h #Get the threshold
3 034h -= 4:USER:0Ah #Subtract the RTD temp
4 035h:0 = 4:USER:034h:15 #Get sign bit of result
5 035h:0 *= !4:USER:0Ah:15 #Test bit 15 of temp
6 035h:0 *= !4:USER:0Ah:14 #Test bit 14 of temp
The text following the pound (#) symbols are comments and are not required
to set the SEL-2030.
Line 1: Stores the temperature threshold in register 033h.
Line 2: Copies the threshold to register 034h in preparation for Line 3.